| 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_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ | 6 #define UI_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include "ui/aura/layout_manager.h" | 8 #include "ui/aura/layout_manager.h" |
| 9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual void OnWindowResized() OVERRIDE; | 25 virtual void OnWindowResized() OVERRIDE; |
| 26 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; | 26 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; |
| 27 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {} | 27 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {} |
| 28 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE {} | 28 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE {} |
| 29 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 29 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
| 30 bool visible) OVERRIDE {} | 30 bool visible) OVERRIDE {} |
| 31 virtual void SetChildBounds(aura::Window* child, | 31 virtual void SetChildBounds(aura::Window* child, |
| 32 const gfx::Rect& requested_bounds) OVERRIDE; | 32 const gfx::Rect& requested_bounds) OVERRIDE; |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 void ResizeKeyboardToDefault(aura::Window* child); | |
| 36 | |
| 37 KeyboardController* controller_; | 35 KeyboardController* controller_; |
| 38 aura::Window* keyboard_; | 36 aura::Window* keyboard_; |
| 39 | 37 |
| 40 DISALLOW_COPY_AND_ASSIGN(KeyboardLayoutManager); | 38 DISALLOW_COPY_AND_ASSIGN(KeyboardLayoutManager); |
| 41 }; | 39 }; |
| 42 | 40 |
| 43 } // namespace keyboard | 41 } // namespace keyboard |
| 44 | 42 |
| 45 #endif // UI_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ | 43 #endif // UI_KEYBOARD_KEYBOARD_LAYOUT_MANAGER_H_ |
| OLD | NEW |