| OLD | NEW |
| 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_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/combobox_model.h" |
| 9 #include "chrome/browser/chromeos/language_preferences.h" | 10 #include "chrome/browser/chromeos/language_preferences.h" |
| 10 #include "views/controls/combobox/combobox.h" | 11 #include "views/controls/combobox/combobox.h" |
| 11 | 12 |
| 12 namespace chromeos { | 13 namespace chromeos { |
| 13 | 14 |
| 14 // The combobox model for Language input method prefs. | 15 // The combobox model for Language input method prefs. |
| 15 template <typename DataType> | 16 template <typename DataType> |
| 16 class LanguageComboboxModel : public ComboboxModel { | 17 class LanguageComboboxModel : public ComboboxModel { |
| 17 public: | 18 public: |
| 18 explicit LanguageComboboxModel( | 19 explicit LanguageComboboxModel( |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 89 |
| 89 private: | 90 private: |
| 90 static const int kMinComboboxWidth = 250; | 91 static const int kMinComboboxWidth = 250; |
| 91 | 92 |
| 92 DISALLOW_COPY_AND_ASSIGN(LanguageCombobox); | 93 DISALLOW_COPY_AND_ASSIGN(LanguageCombobox); |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 } // namespace chromeos | 96 } // namespace chromeos |
| 96 | 97 |
| 97 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_UTIL_H_ |
| OLD | NEW |