| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_LANGUAGE_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/dom_ui/options_ui.h" | 8 #include "chrome/browser/dom_ui/options_ui.h" |
| 9 | 9 |
| 10 class DictionaryValue; | 10 class DictionaryValue; |
| 11 class ListValue; |
| 11 | 12 |
| 12 // ChromeOS language options page UI handler. | 13 // ChromeOS language options page UI handler. |
| 13 class LanguageOptionsHandler : public OptionsPageUIHandler { | 14 class LanguageOptionsHandler : public OptionsPageUIHandler { |
| 14 public: | 15 public: |
| 15 LanguageOptionsHandler(); | 16 LanguageOptionsHandler(); |
| 16 virtual ~LanguageOptionsHandler(); | 17 virtual ~LanguageOptionsHandler(); |
| 17 | 18 |
| 18 // OptionsUIHandler implementation. | 19 // OptionsUIHandler implementation. |
| 19 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| 20 | 21 |
| 21 private: | 22 private: |
| 23 // Get the list of input methods. |
| 24 ListValue* GetInputMethodList(); |
| 25 |
| 22 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandler); | 26 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandler); |
| 23 }; | 27 }; |
| 24 | 28 |
| 25 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ | 29 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ |
| OLD | NEW |