OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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_HOSTWM_HOST_WINDOW_MANAGER_H_ |
| 6 #define ASH_HOSTWM_HOST_WINDOW_MANAGER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "ui/aura/hostwm/host_window_manager_client.h" |
| 11 |
| 12 #include <map> |
| 13 |
| 14 namespace aura { |
| 15 class RootWindow; |
| 16 } |
| 17 |
| 18 namespace views { |
| 19 class Widget; |
| 20 } |
| 21 |
| 22 namespace ash { |
| 23 class HostWindowContainer; |
| 24 |
| 25 namespace internal { |
| 26 |
| 27 class HostWindowManager : public aura::client::HostWindowManagerClient { |
| 28 public: |
| 29 HostWindowManager() {} |
| 30 virtual ~HostWindowManager() {} |
| 31 |
| 32 // Overridden from aura::client::HostWindowManagerClient: |
| 33 virtual gfx::NativeWindow OnHostWindowCreated( |
| 34 const gfx::Rect& bounds, bool decorated) OVERRIDE; |
| 35 virtual void OnHostWindowDestroyed(gfx::NativeWindow window) OVERRIDE; |
| 36 virtual void OnHostWindowMovedOrResized( |
| 37 gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE; |
| 38 virtual void OnHostWindowMovedOrResizedConstrained( |
| 39 gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE; |
| 40 virtual void OnHostWindowVisibilityChanged( |
| 41 gfx::NativeWindow window, bool visible) OVERRIDE; |
| 42 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 43 |
| 44 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(HostWindowManager); |
| 46 }; |
| 47 |
| 48 } // namespace internal |
| 49 } // namespace ash |
| 50 |
| 51 #endif // ASH_HOSTWM_HOST_WINDOW_MANAGER_H_ |
OLD | NEW |