Index: ui/aura/hostwm/host_window_manager_client.h |
diff --git a/ui/aura/hostwm/host_window_manager_client.h b/ui/aura/hostwm/host_window_manager_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f7d9613104312603b62c018e5a980f1a42639c2a |
--- /dev/null |
+++ b/ui/aura/hostwm/host_window_manager_client.h |
@@ -0,0 +1,36 @@ |
+// Copyright (c) 2012 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 UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_ |
+#define UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_ |
+ |
+#include "ui/aura/aura_export.h" |
+#include "ui/gfx/rect.h" |
+#include "ui/gfx/native_widget_types.h" |
+ |
+namespace aura { |
+class RootWindow; |
+namespace client { |
+ |
+class AURA_EXPORT HostWindowManagerClient { |
+ public: |
+ virtual gfx::NativeWindow OnHostWindowCreated( |
+ const gfx::Rect& bounds, bool decorated) = 0; |
+ virtual void OnHostWindowDestroyed(gfx::NativeWindow window) = 0; |
+ virtual void OnHostWindowMovedOrResized( |
+ gfx::NativeWindow window, const gfx::Rect& bounds) = 0; |
+ virtual void OnHostWindowMovedOrResizedConstrained( |
+ gfx::NativeWindow window, const gfx::Rect& bounds) = 0; |
+ virtual void OnHostWindowVisibilityChanged( |
+ gfx::NativeWindow window, bool visible) = 0; |
+ virtual RootWindow* GetRootWindow() = 0; |
+ |
+ protected: |
+ virtual ~HostWindowManagerClient() {} |
+}; |
+ |
+} // namespace client |
+} // namespace aura |
+ |
+#endif // UI_AURA_HOSTWM_HOST_WINDOW_MANAGER_CLIENT_H_ |