| 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 ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include "ash/snap_to_pixel_layout_manager.h" | 8 #include "ash/snap_to_pixel_layout_manager.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| 11 namespace aura { | 11 namespace aura { |
| 12 class Window; | 12 class Window; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 | 16 |
| 17 class VirtualKeyboardContainerLayoutManager : public SnapToPixelLayoutManager { | 17 class VirtualKeyboardContainerLayoutManager : public SnapToPixelLayoutManager { |
| 18 public: | 18 public: |
| 19 explicit VirtualKeyboardContainerLayoutManager(aura::Window* container); | 19 explicit VirtualKeyboardContainerLayoutManager(aura::Window* container); |
| 20 virtual ~VirtualKeyboardContainerLayoutManager(); | 20 virtual ~VirtualKeyboardContainerLayoutManager(); |
| 21 | 21 |
| 22 // Overridden from SnapToPixelLayoutManager: | 22 // Overridden from SnapToPixelLayoutManager: |
| 23 virtual void OnWindowResized() OVERRIDE; | 23 virtual void OnWindowResized() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 aura::Window* parent_container_; | 26 aura::Window* parent_container_; |
| 27 | 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardContainerLayoutManager); | 28 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardContainerLayoutManager); |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace ash | 31 } // namespace ash |
| 32 | 32 |
| 33 #endif // ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ | 33 #endif // ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |
| OLD | NEW |