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

Side by Side Diff: chrome/browser/ui/webui/options2/language_options_handler_common.h

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
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_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_
7 7
8 #include "chrome/browser/ui/webui/options2/options_ui.h" 8 #include "chrome/browser/ui/webui/options2/options_ui.h"
9 9
10 namespace base { 10 namespace base {
11 class DictionaryValue; 11 class DictionaryValue;
12 class ListValue; 12 class ListValue;
13 } 13 }
14 14
15 namespace options2 { 15 namespace options {
16 16
17 // The base class for language options page UI handlers. This class has code 17 // The base class for language options page UI handlers. This class has code
18 // common to the Chrome OS and non-Chrome OS implementation of the handler. 18 // common to the Chrome OS and non-Chrome OS implementation of the handler.
19 class LanguageOptionsHandlerCommon : public OptionsPageUIHandler { 19 class LanguageOptionsHandlerCommon : public OptionsPageUIHandler {
20 public: 20 public:
21 LanguageOptionsHandlerCommon(); 21 LanguageOptionsHandlerCommon();
22 virtual ~LanguageOptionsHandlerCommon(); 22 virtual ~LanguageOptionsHandlerCommon();
23 23
24 // OptionsPageUIHandler implementation. 24 // OptionsPageUIHandler implementation.
25 virtual void GetLocalizedValues( 25 virtual void GetLocalizedValues(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // |args| will contain the language code as string (ex. "fr"). 60 // |args| will contain the language code as string (ex. "fr").
61 void UiLanguageChangeCallback(const base::ListValue* args); 61 void UiLanguageChangeCallback(const base::ListValue* args);
62 62
63 // Called when the spell check language is changed. 63 // Called when the spell check language is changed.
64 // |args| will contain the language code as string (ex. "fr"). 64 // |args| will contain the language code as string (ex. "fr").
65 void SpellCheckLanguageChangeCallback(const base::ListValue* args); 65 void SpellCheckLanguageChangeCallback(const base::ListValue* args);
66 66
67 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandlerCommon); 67 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandlerCommon);
68 }; 68 };
69 69
70 } // namespace options2 70 } // namespace options
71 71
72 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ 72 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698