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

Side by Side Diff: ui/base/ime/chromeos/ime_keyboard.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/ime/chromeos/input_method_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 kAltKey, // Customizable. 26 kAltKey, // Customizable.
27 kVoidKey, 27 kVoidKey,
28 kCapsLockKey, // Customizable. 28 kCapsLockKey, // Customizable.
29 kEscapeKey, // Customizable. 29 kEscapeKey, // Customizable.
30 kBackspaceKey, // Customizable. 30 kBackspaceKey, // Customizable.
31 // IMPORTANT: Add new key to the end, because the keys may have been stored 31 // IMPORTANT: Add new key to the end, because the keys may have been stored
32 // in user preferences. 32 // in user preferences.
33 kNumModifierKeys, 33 kNumModifierKeys,
34 }; 34 };
35 35
36 class InputMethodUtil;
37
38 class UI_BASE_IME_EXPORT ImeKeyboard { 36 class UI_BASE_IME_EXPORT ImeKeyboard {
39 public: 37 public:
40 class Observer { 38 class Observer {
41 public: 39 public:
42 // Called when the caps lock state has changed. 40 // Called when the caps lock state has changed.
43 virtual void OnCapsLockChanged(bool enabled) = 0; 41 virtual void OnCapsLockChanged(bool enabled) = 0;
44 }; 42 };
45 43
46 ImeKeyboard(); 44 ImeKeyboard();
47 virtual ~ImeKeyboard(); 45 virtual ~ImeKeyboard();
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 std::string last_layout_; 114 std::string last_layout_;
117 115
118 private: 116 private:
119 base::ObserverList<Observer> observers_; 117 base::ObserverList<Observer> observers_;
120 }; 118 };
121 119
122 } // namespace input_method 120 } // namespace input_method
123 } // namespace chromeos 121 } // namespace chromeos
124 122
125 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_ 123 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_H_
OLDNEW
« no previous file with comments | « ui/base/dragdrop/drag_utils.h ('k') | ui/base/ime/chromeos/input_method_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698