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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 const base::string16& audio_history_state, | 296 const base::string16& audio_history_state, |
297 bool success, | 297 bool success, |
298 bool logging_enabled); | 298 bool logging_enabled); |
299 | 299 |
300 // Callback for "requestHotwordAvailable" message. | 300 // Callback for "requestHotwordAvailable" message. |
301 void HandleRequestHotwordAvailable(const base::ListValue* args); | 301 void HandleRequestHotwordAvailable(const base::ListValue* args); |
302 | 302 |
303 // Callback for "launchHotwordAudioVerificationApp" message. | 303 // Callback for "launchHotwordAudioVerificationApp" message. |
304 void HandleLaunchHotwordAudioVerificationApp(const base::ListValue* args); | 304 void HandleLaunchHotwordAudioVerificationApp(const base::ListValue* args); |
305 | 305 |
| 306 // Callback for "requestGoogleNowAvailable" message. |
| 307 void HandleRequestGoogleNowAvailable(const base::ListValue* args); |
| 308 |
306 // Callback for "launchEasyUnlockSetup" message. | 309 // Callback for "launchEasyUnlockSetup" message. |
307 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); | 310 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); |
308 | 311 |
309 // Callback for "refreshExtensionControlIndicators" message. | 312 // Callback for "refreshExtensionControlIndicators" message. |
310 void HandleRefreshExtensionControlIndicators(const base::ListValue* args); | 313 void HandleRefreshExtensionControlIndicators(const base::ListValue* args); |
311 | 314 |
312 #if defined(OS_CHROMEOS) | 315 #if defined(OS_CHROMEOS) |
313 // Opens the wallpaper manager component extension. | 316 // Opens the wallpaper manager component extension. |
314 void HandleOpenWallpaperManager(const base::ListValue* args); | 317 void HandleOpenWallpaperManager(const base::ListValue* args); |
315 | 318 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 407 |
405 // Used to get WeakPtr to self for use on the UI thread. | 408 // Used to get WeakPtr to self for use on the UI thread. |
406 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 409 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
407 | 410 |
408 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 411 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
409 }; | 412 }; |
410 | 413 |
411 } // namespace options | 414 } // namespace options |
412 | 415 |
413 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 416 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |