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

Unified Diff: ui/platform_window/x11/x11_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/x11/x11_window.cc
diff --git a/ui/platform_window/x11/x11_window.cc b/ui/platform_window/x11/x11_window.cc
index 91af8ed09314867b883103f9c1c032a59370bb77..7a47106d0787d750d79a7fab3af3442849459d64 100644
--- a/ui/platform_window/x11/x11_window.cc
+++ b/ui/platform_window/x11/x11_window.cc
@@ -22,6 +22,13 @@
namespace ui {
+// static
+scoped_ptr<PlatformWindow> PlatformWindow::Create(
+ PlatformWindowDelegate* delegate,
+ const gfx::Rect& bounds) {
+ return new X11Window(delegate);
+}
+
namespace {
const char* kAtomsToCache[] = {
« ui/aura/window_tree_host_platform.h ('K') | « ui/platform_window/win/win_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698