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

Unified Diff: ui/platform_window/platform_window.h

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/platform_window.h
diff --git a/ui/platform_window/platform_window.h b/ui/platform_window/platform_window.h
index a8fd6ee37fe49e33298142daac59b2cabb9254be..6f4390a54cd4c72fb14c51e919d1eb4823b0e251 100644
--- a/ui/platform_window/platform_window.h
+++ b/ui/platform_window/platform_window.h
@@ -24,6 +24,12 @@ class PlatformWindowDelegate;
// underlying platform windowing system (i.e. X11/Win/OSX).
class PlatformWindow {
public:
+
+#if !defined(USE_OZONE)
+ static scoped_ptr<PlatformWindow> Create(PlatformWindowDelegate* delegate,
+ const gfx::Rect& bounds);
+#endif
+
virtual ~PlatformWindow() {}
virtual void Show() = 0;

Powered by Google App Engine
This is Rietveld 408576698