Index: chrome/renderer/render_thread.h |
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h |
index 886c3255271c6c176c4a21e768c1683ba3a4b391..6817cfb62b6e0f51f8134db100f55a0db191fae5 100644 |
--- a/chrome/renderer/render_thread.h |
+++ b/chrome/renderer/render_thread.h |
@@ -316,6 +316,8 @@ class RenderThread : public RenderThreadBase, |
void OnGetAccessibilityTree(); |
+ void OnSetSpeechInputEnabled(bool enabled); |
+ |
// Gather usage statistics from the in-memory cache and inform our host. |
// These functions should be call periodically so that the host can make |
// decisions about how to allocation resources using current information. |
@@ -386,6 +388,10 @@ class RenderThread : public RenderThreadBase, |
bool suspend_webkit_shared_timer_; |
bool notify_webkit_of_modal_loop_; |
+ // True if this renderer has speech input enabled, set once during thread |
+ // initialization. |
+ bool is_speech_input_enabled_; |
+ |
// Timer that periodically calls IdleHandler. |
base::RepeatingTimer<RenderThread> idle_timer_; |