| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_KEYBOARD_KEYBOARD_CONTROLLER_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ | 6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // aura::WindowObserver overrides | 171 // aura::WindowObserver overrides |
| 172 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override; | 172 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override; |
| 173 void OnWindowAddedToRootWindow(aura::Window* window) override; | 173 void OnWindowAddedToRootWindow(aura::Window* window) override; |
| 174 void OnWindowRemovingFromRootWindow(aura::Window* window, | 174 void OnWindowRemovingFromRootWindow(aura::Window* window, |
| 175 aura::Window* new_root) override; | 175 aura::Window* new_root) override; |
| 176 void OnWindowBoundsChanged(aura::Window* window, | 176 void OnWindowBoundsChanged(aura::Window* window, |
| 177 const gfx::Rect& old_bounds, | 177 const gfx::Rect& old_bounds, |
| 178 const gfx::Rect& new_bounds) override; | 178 const gfx::Rect& new_bounds) override; |
| 179 | 179 |
| 180 // InputMethodObserver overrides | 180 // InputMethodObserver overrides |
| 181 void OnFocus() override {} |
| 181 void OnBlur() override {} | 182 void OnBlur() override {} |
| 182 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {} | 183 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {} |
| 183 void OnFocus() override {} | 184 void OnFocus() override {} |
| 184 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {} | 185 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {} |
| 185 void OnTextInputStateChanged(const ui::TextInputClient* client) override; | 186 void OnTextInputStateChanged(const ui::TextInputClient* client) override; |
| 186 void OnShowImeIfNeeded() override; | 187 void OnShowImeIfNeeded() override; |
| 187 | 188 |
| 188 // Notifies that the extension has completed loading | 189 // Notifies that the extension has completed loading |
| 189 void NotifyKeyboardLoadingComplete(); | 190 void NotifyKeyboardLoadingComplete(); |
| 190 | 191 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 static KeyboardController* instance_; | 235 static KeyboardController* instance_; |
| 235 | 236 |
| 236 base::WeakPtrFactory<KeyboardController> weak_factory_; | 237 base::WeakPtrFactory<KeyboardController> weak_factory_; |
| 237 | 238 |
| 238 DISALLOW_COPY_AND_ASSIGN(KeyboardController); | 239 DISALLOW_COPY_AND_ASSIGN(KeyboardController); |
| 239 }; | 240 }; |
| 240 | 241 |
| 241 } // namespace keyboard | 242 } // namespace keyboard |
| 242 | 243 |
| 243 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ | 244 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ |
| OLD | NEW |