| 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_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // Setup the enabled or disabled state of the cloud print connector | 221 // Setup the enabled or disabled state of the cloud print connector |
| 222 // management UI. | 222 // management UI. |
| 223 void SetupCloudPrintConnectorSection(); | 223 void SetupCloudPrintConnectorSection(); |
| 224 | 224 |
| 225 // Remove cloud print connector section if cloud print connector management | 225 // Remove cloud print connector section if cloud print connector management |
| 226 // UI is disabled. | 226 // UI is disabled. |
| 227 void RemoveCloudPrintConnectorSection(); | 227 void RemoveCloudPrintConnectorSection(); |
| 228 #endif | 228 #endif |
| 229 | 229 |
| 230 #if defined(OS_CHROMEOS) | 230 #if defined(OS_CHROMEOS) |
| 231 // Opens the wallpaper manager component extension. |
| 232 void HandleOpenWallpaperManager(const base::ListValue* args); |
| 233 |
| 231 // Called when the accessibility checkbox values are changed. | 234 // Called when the accessibility checkbox values are changed. |
| 232 // |args| will contain the checkbox checked state as a string | 235 // |args| will contain the checkbox checked state as a string |
| 233 // ("true" or "false"). | 236 // ("true" or "false"). |
| 234 void SpokenFeedbackChangeCallback(const base::ListValue* args); | 237 void SpokenFeedbackChangeCallback(const base::ListValue* args); |
| 235 void HighContrastChangeCallback(const base::ListValue* args); | 238 void HighContrastChangeCallback(const base::ListValue* args); |
| 236 void ScreenMagnifierChangeCallback(const base::ListValue* args); | 239 void ScreenMagnifierChangeCallback(const base::ListValue* args); |
| 237 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 240 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
| 238 #endif | 241 #endif |
| 239 | 242 |
| 240 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 243 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 #if !defined(OS_CHROMEOS) | 321 #if !defined(OS_CHROMEOS) |
| 319 scoped_ptr<PrefSetObserver> proxy_prefs_; | 322 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 320 #endif // !defined(OS_CHROMEOS) | 323 #endif // !defined(OS_CHROMEOS) |
| 321 | 324 |
| 322 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 325 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 323 }; | 326 }; |
| 324 | 327 |
| 325 } // namespace options2 | 328 } // namespace options2 |
| 326 | 329 |
| 327 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ | 330 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |