OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |