Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7862)

Unified Diff: chrome/renderer/render_thread.h

Issue 6353005: Revert r70896 to move speech input back behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698