OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/rect.h" |
13 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
16 // The context information required by clients of the SpeechRecognitionManager | 15 // The context information required by clients of the SpeechRecognitionManager |
17 // and its delegates for mapping the recognition session to other browser | 16 // and its delegates for mapping the recognition session to other browser |
(...skipping 19 matching lines...) Expand all Loading... |
37 gfx::Rect element_rect; | 36 gfx::Rect element_rect; |
38 | 37 |
39 // A texual description of the context (website, extension name) that is | 38 // A texual description of the context (website, extension name) that is |
40 // requesting recognition, for prompting security notifications to the user. | 39 // requesting recognition, for prompting security notifications to the user. |
41 std::string context_name; | 40 std::string context_name; |
42 }; | 41 }; |
43 | 42 |
44 } // namespace content | 43 } // namespace content |
45 | 44 |
46 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ | 45 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_ |
OLD | NEW |