OLD | NEW |
1 // Copyright (c) 2011 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_COMMON2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 9 #include "chrome/browser/ui/webui/options2/options_ui.h" |
10 | 10 |
11 namespace base { | 11 namespace base { |
12 class DictionaryValue; | 12 class DictionaryValue; |
13 class ListValue; | 13 class ListValue; |
14 } | 14 } |
15 | 15 |
16 namespace options2 { | 16 namespace options2 { |
17 | 17 |
18 // The base class for language options page UI handlers. This class has code | 18 // The base class for language options page UI handlers. This class has code |
19 // common to the Chrome OS and non-Chrome OS implementation of the handler. | 19 // common to the Chrome OS and non-Chrome OS implementation of the handler. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 // Called when the spell check language is changed. | 64 // Called when the spell check language is changed. |
65 // |args| will contain the language code as string (ex. "fr"). | 65 // |args| will contain the language code as string (ex. "fr"). |
66 void SpellCheckLanguageChangeCallback(const base::ListValue* args); | 66 void SpellCheckLanguageChangeCallback(const base::ListValue* args); |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandlerCommon); | 68 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandlerCommon); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace options2 | 71 } // namespace options2 |
72 | 72 |
73 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON2_H_ | 73 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_LANGUAGE_OPTIONS_HANDLER_COMMON_H_ |
OLD | NEW |