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 "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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 void RemoveCloudPrintConnectorSection(); | 226 void RemoveCloudPrintConnectorSection(); |
227 #endif | 227 #endif |
228 | 228 |
229 #if defined(OS_CHROMEOS) | 229 #if defined(OS_CHROMEOS) |
230 // Opens the wallpaper manager component extension. | 230 // Opens the wallpaper manager component extension. |
231 void HandleOpenWallpaperManager(const base::ListValue* args); | 231 void HandleOpenWallpaperManager(const base::ListValue* args); |
232 | 232 |
233 // Called when the accessibility checkbox values are changed. | 233 // Called when the accessibility checkbox values are changed. |
234 // |args| will contain the checkbox checked state as a string | 234 // |args| will contain the checkbox checked state as a string |
235 // ("true" or "false"). | 235 // ("true" or "false"). |
236 void SpokenFeedbackChangeCallback(const base::ListValue* args); | |
237 void HighContrastChangeCallback(const base::ListValue* args); | |
238 void VirtualKeyboardChangeCallback(const base::ListValue* args); | 236 void VirtualKeyboardChangeCallback(const base::ListValue* args); |
239 | 237 |
240 // Called when the user confirmed factory reset. Chrome will | 238 // Called when the user confirmed factory reset. Chrome will |
241 // initiate asynchronous file operation and then log out. | 239 // initiate asynchronous file operation and then log out. |
242 void PerformFactoryResetRestart(const base::ListValue* args); | 240 void PerformFactoryResetRestart(const base::ListValue* args); |
243 #endif | 241 #endif |
244 | 242 |
245 // Setup the visibility for the metrics reporting setting. | 243 // Setup the visibility for the metrics reporting setting. |
246 void SetupMetricsReportingSettingVisibility(); | 244 void SetupMetricsReportingSettingVisibility(); |
247 | 245 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 DoublePrefMember default_zoom_level_; | 293 DoublePrefMember default_zoom_level_; |
296 | 294 |
297 PrefChangeRegistrar profile_pref_registrar_; | 295 PrefChangeRegistrar profile_pref_registrar_; |
298 | 296 |
299 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 297 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
300 }; | 298 }; |
301 | 299 |
302 } // namespace options | 300 } // namespace options |
303 | 301 |
304 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 302 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |