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

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: 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..a46610c56a7ea0cd2d97203760ece16300b2a017 100644
--- a/ui/platform_window/platform_window.h
+++ b/ui/platform_window/platform_window.h
@@ -24,6 +24,8 @@ class PlatformWindowDelegate;
// underlying platform windowing system (i.e. X11/Win/OSX).
class PlatformWindow {
public:
+ static scoped_ptr<PlatformWindow> Create(PlatformWindowDelegate* delegate,
mfomitchev 2015/10/08 15:03:27 IMHO it's better just to do an ifdef in the constr
no sievers 2015/10/09 00:34:18 Done. For non-Ozone I left it with the implementat
mfomitchev 2015/10/09 13:56:54 Do you mean just in the header files? The Aura mod
no sievers 2015/10/09 20:47:46 Done.
+ const gfx::Rect& bounds);
virtual ~PlatformWindow() {}
virtual void Show() = 0;

Powered by Google App Engine
This is Rietveld 408576698