diff options
Diffstat (limited to 'content/public/browser/speech_recognition_session_context.h')
-rw-r--r-- | content/public/browser/speech_recognition_session_context.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h index 70a533a..4bfcc29 100644 --- a/content/public/browser/speech_recognition_session_context.h +++ b/content/public/browser/speech_recognition_session_context.h @@ -12,24 +12,26 @@ namespace content { // The context information required by clients of the SpeechRecognitionManager -// (InputTagSpeechDispatcherHost) and its delegates for mapping the recognition -// session to other browser elements involved with the it (e.g., the page -// element that requested the recognition). The SpeechRecognitionManager is -// not aware of the content of this struct and does NOT use it for its purposes. -// However the manager keeps this struct "attached" to the recognition session -// during all the session lifetime, making its contents available to clients -// (In this regard, see SpeechRecognitionManager::GetSessionContext and +// and its delegates for mapping the recognition session to other browser +// elements involved with it (e.g., the page element that requested the +// recognition). The SpeechRecognitionManager is not aware of the content of +// this struct and does NOT use it for its purposes. However the manager keeps +// this struct "attached" to the recognition session during all the session +// lifetime, making its contents available to clients (In this regard, see +// SpeechRecognitionManager::GetSessionContext and // SpeechRecognitionManager::LookupSessionByContext methods). struct CONTENT_EXPORT SpeechRecognitionSessionContext { SpeechRecognitionSessionContext() : render_process_id(0), render_view_id(0), - render_request_id(0) {} + render_request_id(0), + js_handle_id(0) {} ~SpeechRecognitionSessionContext() {} int render_process_id; int render_view_id; int render_request_id; + int js_handle_id; gfx::Rect element_rect; }; |