Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: ui/aura/root_window_delegate.h

Issue 11360045: ash: Add RootWindowHostFactory class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/aura/root_window.h ('K') | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« ui/aura/root_window.h ('K') | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698