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

Unified Diff: ui/platform_window/win/win_window.cc

Issue 1390883003: aura: Unify WindowTreeHost for some platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing factories Created 5 years, 2 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
Index: ui/platform_window/win/win_window.cc
diff --git a/ui/platform_window/win/win_window.cc b/ui/platform_window/win/win_window.cc
index 718a4093936500a6af3d64c88916ecd4bc6cdad7..1e51a21e802bf7008b315bbdee41edf1af9e132d 100644
--- a/ui/platform_window/win/win_window.cc
+++ b/ui/platform_window/win/win_window.cc
@@ -12,6 +12,13 @@
namespace ui {
+// static
+scoped_ptr<PlatformWindow> PlatformWindow::Create(
+ PlatformWindowDelegate* delegate,
+ const gfx::Rect& bounds) {
+ return new WinWindow(delegate, bounds);
+}
+
namespace {
bool use_popup_as_root_window_for_test = false;

Powered by Google App Engine
This is Rietveld 408576698