Index: ash/wm/virtual_keyboard_container_layout_manager.h |
diff --git a/ash/wm/virtual_keyboard_container_layout_manager.h b/ash/wm/virtual_keyboard_container_layout_manager.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a584f7aa6bf18df8315b813d38e6911bc4df11a |
--- /dev/null |
+++ b/ash/wm/virtual_keyboard_container_layout_manager.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |
+#define ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |
+ |
+#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
|
+ |
+namespace aura { |
+class Window; |
+} |
+ |
+namespace ash { |
+ |
+class VirtualKeyboardContainerLayoutManager : public SnapToPixelLayoutManager { |
+ public: |
+ explicit VirtualKeyboardContainerLayoutManager(aura::Window* container); |
+ virtual ~VirtualKeyboardContainerLayoutManager(); |
+ |
+ // Overridden from SnapToPixelLayoutManager: |
James Cook
2014/09/29 21:38:00
nit: indent
|
+ virtual void OnWindowResized() OVERRIDE; |
+ |
+ private: |
+ aura::Window* parent_container_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardContainerLayoutManager); |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_WM_VIRTUAL_KEYBOARD_CONTAINER_LAYOUT_MANAGER_H_ |