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