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

Unified Diff: wm/host/foreign_test_window_host.cc

Issue 11485006: Add window manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Push gfx::AcceleratedWidget usage into platform specific code. Created 7 years, 10 months 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
« no previous file with comments | « wm/host/foreign_test_window_host.h ('k') | wm/host/foreign_test_window_host_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: wm/host/foreign_test_window_host.cc
diff --git a/wm/host/foreign_test_window_host.cc b/wm/host/foreign_test_window_host.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d3a0273387954ccb6188a2ad31c224bcbc29a05d
--- /dev/null
+++ b/wm/host/foreign_test_window_host.cc
@@ -0,0 +1,38 @@
+// Copyright (c) 2013 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 "wm/host/foreign_test_window_host.h"
+
+#include "base/compiler_specific.h"
+
+namespace wm {
+
+namespace {
+
+class ForeignTestWindowHostImpl : public ForeignTestWindowHost {
+ public:
+ ForeignTestWindowHostImpl() {}
+
+ // Overridden from wm::ForeignTestWindowHost:
+ virtual void Initialize() OVERRIDE {}
+ virtual void Delete() OVERRIDE { delete this; }
+ virtual void Show() OVERRIDE {}
+ virtual void Hide() OVERRIDE {}
+ virtual void Destroy() OVERRIDE {}
+ virtual void Sync() OVERRIDE {}
+};
+
+} // namespace
+
+// static
+ForeignTestWindowHost* ForeignTestWindowHost::Create(
+ aura::RootWindow* root_window) {
+ return new ForeignTestWindowHostImpl();
+}
+
+// static
+void ForeignTestWindowHost::RunAllPendingInMessageLoop() {
+}
+
+} // namespace wm
« no previous file with comments | « wm/host/foreign_test_window_host.h ('k') | wm/host/foreign_test_window_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698