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

Unified Diff: ash/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
Index: ash/root_window_delegate.h
diff --git a/ash/root_window_delegate.h b/ash/root_window_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..03dd9ef49d38f52232c391adea6f117ce3a5c9ff
--- /dev/null
+++ b/ash/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 ASH_ROOT_WINDOW_DELEGATE_H_
+#define ASH_ROOT_WINDOW_DELEGATE_H_
+
+#include "ash/ash_export.h"
+#include "ui/aura/root_window_delegate.h"
+
+namespace ash {
+
+// Implementation of aura::RootWindowDelegate.
+class ASH_EXPORT RootWindowDelegate : public aura::RootWindowDelegate {
+ public:
+ virtual ~RootWindowDelegate() {}
+
+ // Creates a new aura::RootWindowDelegate. The caller owns the returned
+ // value.
+ static aura::RootWindowDelegate* Create();
+
+ protected:
+ RootWindowDelegate() {}
+};
+
+} // namespace ash
+
+#endif // ASH_ROOT_WINDOW_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698