| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 #endif // defined(OS_CHROMEOS) | 259 #endif // defined(OS_CHROMEOS) |
| 260 #endif // defined(ENABLE_FULL_PRINTING) | 260 #endif // defined(ENABLE_FULL_PRINTING) |
| 261 | 261 |
| 262 // Check if hotword is available. If it is, tell the javascript to show | 262 // Check if hotword is available. If it is, tell the javascript to show |
| 263 // the hotword section of the settings page. | 263 // the hotword section of the settings page. |
| 264 void SendHotwordAvailable(); | 264 void SendHotwordAvailable(); |
| 265 | 265 |
| 266 // Callback for "requestHotwordAvailable" message. | 266 // Callback for "requestHotwordAvailable" message. |
| 267 void HandleRequestHotwordAvailable(const base::ListValue* args); | 267 void HandleRequestHotwordAvailable(const base::ListValue* args); |
| 268 | 268 |
| 269 // Callback for "launchEasyUnlockSetup" message. |
| 270 void HandleLaunchEasyUnlockSetup(const base::ListValue* args); |
| 271 |
| 269 #if defined(OS_CHROMEOS) | 272 #if defined(OS_CHROMEOS) |
| 270 // Opens the wallpaper manager component extension. | 273 // Opens the wallpaper manager component extension. |
| 271 void HandleOpenWallpaperManager(const base::ListValue* args); | 274 void HandleOpenWallpaperManager(const base::ListValue* args); |
| 272 | 275 |
| 273 // Called when the accessibility checkbox values are changed. | 276 // Called when the accessibility checkbox values are changed. |
| 274 // |args| will contain the checkbox checked state as a string | 277 // |args| will contain the checkbox checked state as a string |
| 275 // ("true" or "false"). | 278 // ("true" or "false"). |
| 276 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 279 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
| 277 | 280 |
| 278 // Called when the user confirmed factory reset. Chrome will | 281 // Called when the user confirmed factory reset. Chrome will |
| (...skipping 15 matching lines...) Expand all Loading... |
| 294 | 297 |
| 295 // Setup the proxy settings section UI. | 298 // Setup the proxy settings section UI. |
| 296 void SetupProxySettingsSection(); | 299 void SetupProxySettingsSection(); |
| 297 | 300 |
| 298 // Setup the manage certificates section UI. | 301 // Setup the manage certificates section UI. |
| 299 void SetupManageCertificatesSection(); | 302 void SetupManageCertificatesSection(); |
| 300 | 303 |
| 301 // Setup the UI specific to managing supervised users. | 304 // Setup the UI specific to managing supervised users. |
| 302 void SetupManagingSupervisedUsers(); | 305 void SetupManagingSupervisedUsers(); |
| 303 | 306 |
| 307 // Setup the UI for Easy Unlock. |
| 308 void SetupEasyUnlock(); |
| 309 |
| 304 #if defined(OS_CHROMEOS) | 310 #if defined(OS_CHROMEOS) |
| 305 // Setup the accessibility features for ChromeOS. | 311 // Setup the accessibility features for ChromeOS. |
| 306 void SetupAccessibilityFeatures(); | 312 void SetupAccessibilityFeatures(); |
| 307 #endif | 313 #endif |
| 308 | 314 |
| 309 // Returns a newly created dictionary with a number of properties that | 315 // Returns a newly created dictionary with a number of properties that |
| 310 // correspond to the status of sync. | 316 // correspond to the status of sync. |
| 311 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); | 317 scoped_ptr<base::DictionaryValue> GetSyncStateDictionary(); |
| 312 | 318 |
| 313 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; | 319 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 339 | 345 |
| 340 // Used to get WeakPtr to self for use on the UI thread. | 346 // Used to get WeakPtr to self for use on the UI thread. |
| 341 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 347 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 342 | 348 |
| 343 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 349 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 344 }; | 350 }; |
| 345 | 351 |
| 346 } // namespace options | 352 } // namespace options |
| 347 | 353 |
| 348 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 354 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |