| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 void RegisterCloudPrintValues(base::DictionaryValue* values); | 270 void RegisterCloudPrintValues(base::DictionaryValue* values); |
| 271 #endif | 271 #endif |
| 272 | 272 |
| 273 // Check if hotword is available. If it is, tell the javascript to show | 273 // Check if hotword is available. If it is, tell the javascript to show |
| 274 // the hotword section of the settings page. | 274 // the hotword section of the settings page. |
| 275 void SendHotwordAvailable(); | 275 void SendHotwordAvailable(); |
| 276 | 276 |
| 277 // Callback for "requestHotwordAvailable" message. | 277 // Callback for "requestHotwordAvailable" message. |
| 278 void HandleRequestHotwordAvailable(const base::ListValue* args); | 278 void HandleRequestHotwordAvailable(const base::ListValue* args); |
| 279 | 279 |
| 280 // Callback for "launchHotwordAudioVerificationApp" message. |
| 281 void HandleLaunchHotwordAudioVerificationApp(const base::ListValue* args); |
| 282 |
| 280 // Callback for "launchEasyUnlockSetup" message. | 283 // Callback for "launchEasyUnlockSetup" message. |
| 281 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); | 284 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); |
| 282 | 285 |
| 283 // Callback for "refreshExtensionControlIndicators" message. | 286 // Callback for "refreshExtensionControlIndicators" message. |
| 284 void HandleRefreshExtensionControlIndicators(const base::ListValue* args); | 287 void HandleRefreshExtensionControlIndicators(const base::ListValue* args); |
| 285 | 288 |
| 286 #if defined(OS_CHROMEOS) | 289 #if defined(OS_CHROMEOS) |
| 287 // Opens the wallpaper manager component extension. | 290 // Opens the wallpaper manager component extension. |
| 288 void HandleOpenWallpaperManager(const base::ListValue* args); | 291 void HandleOpenWallpaperManager(const base::ListValue* args); |
| 289 | 292 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 365 |
| 363 // Used to get WeakPtr to self for use on the UI thread. | 366 // Used to get WeakPtr to self for use on the UI thread. |
| 364 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 367 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 365 | 368 |
| 366 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 369 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 367 }; | 370 }; |
| 368 | 371 |
| 369 } // namespace options | 372 } // namespace options |
| 370 | 373 |
| 371 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 374 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |