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

Unified Diff: sky/shell/ui/engine.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/shell_view.cc ('k') | sky/shell/ui/engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ui/engine.h
diff --git a/sky/shell/ui/engine.h b/sky/shell/ui/engine.h
index 014028b03fc1398b8dd0a4e6ff878189180b00c3..d23b8eb80988da4e6ab9529b8b8ab7121afccc78 100644
--- a/sky/shell/ui/engine.h
+++ b/sky/shell/ui/engine.h
@@ -50,7 +50,7 @@ class Engine : public UIDelegate,
base::WeakPtr<Engine> GetWeakPtr();
- void Init();
+ static void Init(ServiceProviderContext* service_provider_context);
void BeginFrame(base::TimeTicks frame_time);
skia::RefPtr<SkPicture> Paint();
@@ -96,8 +96,6 @@ class Engine : public UIDelegate,
void UpdateWebViewSize();
Config config_;
- mojo::ServiceProviderPtr service_provider_;
- scoped_ptr<PlatformImpl> platform_impl_;
scoped_ptr<Animator> animator_;
std::unique_ptr<blink::SkyView> sky_view_;
« no previous file with comments | « sky/shell/shell_view.cc ('k') | sky/shell/ui/engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698