Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/chromeos/dom_ui/cros_options_page_ui_handler.h" | 9 #include "chrome/browser/chromeos/dom_ui/cros_options_page_ui_handler.h" |
| 10 | 10 |
| 11 class DictionaryValue; | 11 class DictionaryValue; |
| 12 | 12 |
| 13 // ChromeOS system options page UI handler. | 13 // ChromeOS system options page UI handler. |
| 14 class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler { | 14 class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler { |
| 15 public: | 15 public: |
| 16 SystemOptionsHandler(); | 16 SystemOptionsHandler(); |
| 17 virtual ~SystemOptionsHandler(); | 17 virtual ~SystemOptionsHandler(); |
| 18 | 18 |
| 19 // OptionsUIHandler implementation. | 19 // OptionsUIHandler implementation. |
| 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| 21 virtual void Initialize(); | |
| 22 | |
| 23 virtual void RegisterMessages(); | |
| 24 | |
| 25 // Called when the accessibility checkbox value is changed. | |
| 26 // |args| will contain the checkbox value as string ("on" or ""). | |
|
csilv
2011/01/24 19:02:10
update comment to reflect value of string based on
| |
| 27 void AccessibilityChangeCallback(const ListValue* args); | |
| 21 | 28 |
| 22 private: | 29 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); | 30 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); |
| 24 }; | 31 }; |
| 25 | 32 |
| 26 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ | 33 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_ |
| OLD | NEW |