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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 559303002: Hotword Audio Verification app: control the hotword settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launch-state
Patch Set: Review Comments Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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 CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 void RegisterCloudPrintValues(base::DictionaryValue* values); 275 void RegisterCloudPrintValues(base::DictionaryValue* values);
276 #endif 276 #endif
277 277
278 // Check if hotword is available. If it is, tell the javascript to show 278 // Check if hotword is available. If it is, tell the javascript to show
279 // the hotword section of the settings page. 279 // the hotword section of the settings page.
280 void SendHotwordAvailable(); 280 void SendHotwordAvailable();
281 281
282 // Callback for "requestHotwordAvailable" message. 282 // Callback for "requestHotwordAvailable" message.
283 void HandleRequestHotwordAvailable(const base::ListValue* args); 283 void HandleRequestHotwordAvailable(const base::ListValue* args);
284 284
285 // Callback for "launchHotwordAudioVerificationApp" message.
286 void HandleLaunchHotwordAudioVerificationApp(const base::ListValue* args);
287
285 // Callback for "launchEasyUnlockSetup" message. 288 // Callback for "launchEasyUnlockSetup" message.
286 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); 289 void HandleLaunchEasyUnlockSetup(const base::ListValue* args);
287 290
288 // Callback for "refreshExtensionControlIndicators" message. 291 // Callback for "refreshExtensionControlIndicators" message.
289 void HandleRefreshExtensionControlIndicators(const base::ListValue* args); 292 void HandleRefreshExtensionControlIndicators(const base::ListValue* args);
290 293
291 #if defined(OS_CHROMEOS) 294 #if defined(OS_CHROMEOS)
292 // Opens the wallpaper manager component extension. 295 // Opens the wallpaper manager component extension.
293 void HandleOpenWallpaperManager(const base::ListValue* args); 296 void HandleOpenWallpaperManager(const base::ListValue* args);
294 297
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 370
368 // Used to get WeakPtr to self for use on the UI thread. 371 // Used to get WeakPtr to self for use on the UI thread.
369 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 372 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
370 373
371 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 374 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
372 }; 375 };
373 376
374 } // namespace options 377 } // namespace options
375 378
376 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 379 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698