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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 134103005: [Hotword] Putting preferences under search for hotword service. Putting behind a flag. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: adding a line. maybe it will help? Created 6 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
Index: chrome/browser/ui/webui/options/browser_options_handler.h
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
index 5ac4cc134510b40df13342ce685c6d4aa6e9d0dd..a218d89a16edd9da157669bdd952f645bb20bc09 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -251,6 +251,13 @@ class BrowserOptionsHandler
#endif // defined(OS_CHROMEOS)
#endif // defined(ENABLE_FULL_PRINTING)
+ // Check if hotword is available. If it is, tell the javascript to show
+ // the hotword section of the settings page.
+ void SendHotwordAvailable();
+
+ // Callback for "requestHotwordAvailable" message.
+ void HandleRequestHotwordAvailable(const base::ListValue* args);
+
#if defined(OS_CHROMEOS)
// Opens the wallpaper manager component extension.
void HandleOpenWallpaperManager(const base::ListValue* args);
« no previous file with comments | « chrome/browser/search/hotword_service_factory.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698