Chromium Code Reviews| 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" | |
|
James Cook
2014/09/29 21:38:00
nit: #include "base/macros.h" for DISALLOW_COPY_AN
| |
| 9 | |
| 10 namespace aura { | |
| 11 class Window; | |
| 12 } | |
| 13 | |
| 14 namespace ash { | |
| 15 | |
| 16 class VirtualKeyboardContainerLayoutManager : public SnapToPixelLayoutManager { | |
| 17 public: | |
| 18 explicit VirtualKeyboardContainerLayoutManager(aura::Window* container); | |
| 19 virtual ~VirtualKeyboardContainerLayoutManager(); | |
| 20 | |
| 21 // Overridden from SnapToPixelLayoutManager: | |
|
James Cook
2014/09/29 21:38:00
nit: indent
| |
| 22 virtual void OnWindowResized() OVERRIDE; | |
| 23 | |
| 24 private: | |
| 25 aura::Window* parent_container_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardContainerLayoutManager); | |
| 28 }; | |
| 29 | |
| 30 } // namespace ash | |
| 31 | |
| 32 #endif // ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ | |
| OLD | NEW |