Index: ui/aura/root_window_delegate.h |
diff --git a/ui/aura/root_window_delegate.h b/ui/aura/root_window_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9bfe98d882431eda9149f7d26babe89b2234a3ce |
--- /dev/null |
+++ b/ui/aura/root_window_delegate.h |
@@ -0,0 +1,28 @@ |
+// 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_ROOT_WINDOW_DELEGATE_H_ |
+#define UI_AURA_ROOT_WINDOW_DELEGATE_H_ |
+ |
+#include "ui/aura/aura_export.h" |
+ |
+namespace gfx { |
+class Rect; |
+} |
+ |
+namespace aura { |
+class RootWindowHost; |
+ |
+// Delegate interface for aura::RootWindow. |
+class AURA_EXPORT RootWindowDelegate { |
+ public: |
+ virtual ~RootWindowDelegate() {} |
+ |
+ virtual aura::RootWindowHost* CreateRootWindowHost( |
+ const gfx::Rect& initial_bounds) = 0; |
+}; |
+ |
+} // namespace aura |
+ |
+#endif // UI_AURA_ROOT_WINDOW_DELEGATE_H_ |