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