Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: chrome/browser/chromeos/dom_ui/language_options_handler.h

Issue 3008016: Display the language name and the input method list dynamically. (Closed)
Patch Set: fix comments Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/dom_ui/language_options_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/dom_ui/language_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698