OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ash/magnifier/magnification_controller.h" | 5 #include "ash/magnifier/magnification_controller.h" |
6 | 6 |
7 #include "ash/accelerators/accelerator_controller.h" | 7 #include "ash/accelerators/accelerator_controller.h" |
8 #include "ash/accessibility_delegate.h" | 8 #include "ash/accessibility_delegate.h" |
9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
10 #include "ash/display/root_window_transformers.h" | 10 #include "ash/display/root_window_transformers.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 void MoveMagnifierWindowFollowRect(const gfx::Rect& rect); | 177 void MoveMagnifierWindowFollowRect(const gfx::Rect& rect); |
178 | 178 |
179 // ui::InputMethodObserver: | 179 // ui::InputMethodObserver: |
180 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {} | 180 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {} |
181 void OnFocus() override {} | 181 void OnFocus() override {} |
182 void OnBlur() override {} | 182 void OnBlur() override {} |
183 void OnTextInputStateChanged(const ui::TextInputClient* client) override {} | 183 void OnTextInputStateChanged(const ui::TextInputClient* client) override {} |
184 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {} | 184 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {} |
185 void OnShowImeIfNeeded() override {} | 185 void OnShowImeIfNeeded() override {} |
186 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; | 186 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; |
| 187 void OnKeyboardBoundsUnchanged() override {} |
187 | 188 |
188 // Target root window. This must not be NULL. | 189 // Target root window. This must not be NULL. |
189 aura::Window* root_window_; | 190 aura::Window* root_window_; |
190 | 191 |
191 // True if the magnified window is currently animating a change. Otherwise, | 192 // True if the magnified window is currently animating a change. Otherwise, |
192 // false. | 193 // false. |
193 bool is_on_animation_; | 194 bool is_on_animation_; |
194 | 195 |
195 bool is_enabled_; | 196 bool is_enabled_; |
196 | 197 |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 | 745 |
745 //////////////////////////////////////////////////////////////////////////////// | 746 //////////////////////////////////////////////////////////////////////////////// |
746 // MagnificationController: | 747 // MagnificationController: |
747 | 748 |
748 // static | 749 // static |
749 MagnificationController* MagnificationController::CreateInstance() { | 750 MagnificationController* MagnificationController::CreateInstance() { |
750 return new MagnificationControllerImpl(); | 751 return new MagnificationControllerImpl(); |
751 } | 752 } |
752 | 753 |
753 } // namespace ash | 754 } // namespace ash |
OLD | NEW |