OLD | NEW |
1 // Copyright (c) 2011 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_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/webui/options/options_ui.h" | 9 #include "chrome/browser/ui/webui/options/options_ui.h" |
10 | 10 |
| 11 namespace base { |
11 class DictionaryValue; | 12 class DictionaryValue; |
| 13 } |
12 | 14 |
13 namespace chromeos { | 15 namespace chromeos { |
14 | 16 |
15 // Pinyin options page UI handler. | 17 // Pinyin options page UI handler. |
16 class LanguagePinyinHandler : public OptionsPageUIHandler { | 18 class LanguagePinyinHandler : public OptionsPageUIHandler { |
17 public: | 19 public: |
18 LanguagePinyinHandler(); | 20 LanguagePinyinHandler(); |
19 virtual ~LanguagePinyinHandler(); | 21 virtual ~LanguagePinyinHandler(); |
20 | 22 |
21 // OptionsPageUIHandler implementation. | 23 // OptionsPageUIHandler implementation. |
22 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 24 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); |
23 | 25 |
24 private: | 26 private: |
25 DISALLOW_COPY_AND_ASSIGN(LanguagePinyinHandler); | 27 DISALLOW_COPY_AND_ASSIGN(LanguagePinyinHandler); |
26 }; | 28 }; |
27 | 29 |
28 } // namespace chromeos | 30 } // namespace chromeos |
29 | 31 |
30 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ | 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_LANGUAGE_PINYIN_HANDLER_H_ |
OLD | NEW |