Index: ash/root_window_delegate.cc |
diff --git a/ash/root_window_delegate.cc b/ash/root_window_delegate.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1c609bc91d5e71f5261260a98bb988b33eedd73c |
--- /dev/null |
+++ b/ash/root_window_delegate.cc |
@@ -0,0 +1,31 @@ |
+// 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. |
+ |
+#include "ash/root_window_delegate.h" |
+ |
+#include "ui/aura/root_window_host.h" |
+ |
+namespace { |
+ |
+class RootWindowDelegateImpl : public ash::RootWindowDelegate { |
+ public: |
+ RootWindowDelegateImpl() {} |
+ |
+ // Overridden from RootWindowDelegate: |
+ virtual aura::RootWindowHost* CreateRootWindowHost( |
+ const gfx::Rect& initial_bounds) OVERRIDE { |
+ return aura::RootWindowHost::Create(initial_bounds); |
+ } |
+}; |
+ |
+} |
+ |
+namespace ash { |
+ |
+// static |
+aura::RootWindowDelegate* RootWindowDelegate::Create() { |
+ return new RootWindowDelegateImpl(); |
+} |
+ |
+} // namespace ash |