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

Unified Diff: sky/shell/platform_view.h

Issue 1187503003: Refactor SkyShell to allow multiple SkyViews (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: s/instance/sky_shell/ Created 5 years, 6 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 | « sky/shell/ios/sky_view_controller.mm ('k') | sky/shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/platform_view.h
diff --git a/sky/shell/platform_view.h b/sky/shell/platform_view.h
index 59239b90d401c726d87626e2ac456e67b3d9d51f..4fb3618cc59e078cf5cc05ebede5d4a991a4ec57 100644
--- a/sky/shell/platform_view.h
+++ b/sky/shell/platform_view.h
@@ -19,13 +19,16 @@ class PlatformView {
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner;
};
- explicit PlatformView(const Config& config);
+ static PlatformView* Create(const Config& config);
+
virtual ~PlatformView();
void ConnectToViewportObserver(
mojo::InterfaceRequest<ViewportObserver> request);
protected:
+ explicit PlatformView(const Config& config);
+
void SurfaceWasCreated();
void SurfaceWasDestroyed();
« no previous file with comments | « sky/shell/ios/sky_view_controller.mm ('k') | sky/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698