OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ |
6 #define UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ | 6 #define UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 const std::string& layout_name); | 109 const std::string& layout_name); |
110 | 110 |
111 // Note: At this moment, classes other than InputMethodManager should not | 111 // Note: At this moment, classes other than InputMethodManager should not |
112 // instantiate the ImeKeyboard class. | 112 // instantiate the ImeKeyboard class. |
113 static UI_BASE_IME_EXPORT ImeKeyboard* Create(); | 113 static UI_BASE_IME_EXPORT ImeKeyboard* Create(); |
114 | 114 |
115 bool caps_lock_is_enabled_; | 115 bool caps_lock_is_enabled_; |
116 std::string last_layout_; | 116 std::string last_layout_; |
117 | 117 |
118 private: | 118 private: |
119 ObserverList<Observer> observers_; | 119 base::ObserverList<Observer> observers_; |
120 }; | 120 }; |
121 | 121 |
122 } // namespace input_method | 122 } // namespace input_method |
123 } // namespace chromeos | 123 } // namespace chromeos |
124 | 124 |
125 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ | 125 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ |
OLD | NEW |