| OLD | NEW |
| 1 // Copyright (c) 2010 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_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // TODO(csilv): This is for the move CL. Changes to make this cross-platform |
| 10 // will come in the followup CL. |
| 11 #if defined(OS_CHROMEOS) |
| 12 |
| 9 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 13 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 10 #include "chrome/browser/dom_ui/options/options_ui.h" | 14 #include "chrome/browser/dom_ui/options/options_ui.h" |
| 11 | 15 |
| 12 class DictionaryValue; | 16 class DictionaryValue; |
| 13 class ListValue; | 17 class ListValue; |
| 14 | 18 |
| 15 namespace chromeos { | 19 namespace chromeos { |
| 16 | 20 |
| 17 // ChromeOS language options page UI handler. | 21 // ChromeOS language options page UI handler. |
| 18 class LanguageOptionsHandler : public OptionsPageUIHandler { | 22 class LanguageOptionsHandler : public OptionsPageUIHandler { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 void SpellCheckLanguageChangeCallback(const ListValue* args); | 89 void SpellCheckLanguageChangeCallback(const ListValue* args); |
| 86 | 90 |
| 87 // Called when the sign out button is clicked. | 91 // Called when the sign out button is clicked. |
| 88 void SignOutCallback(const ListValue* args); | 92 void SignOutCallback(const ListValue* args); |
| 89 | 93 |
| 90 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandler); | 94 DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandler); |
| 91 }; | 95 }; |
| 92 | 96 |
| 93 } // namespace | 97 } // namespace |
| 94 | 98 |
| 95 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_HANDLER_H_ | 99 #endif // OS_CHROMEOS |
| 100 |
| 101 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_H_ |
| 102 |
| OLD | NEW |