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

Unified Diff: sky/shell/ui/engine.h

Issue 1134913003: Teach SkyView path to draw a circle (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/examples/raw/hello_world.dart ('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 e10781a21e88f3c5d014b07d2896f3e0c74c1bac..5311229d750b87eceeaef7782ac85ed485c94734 100644
--- a/sky/shell/ui/engine.h
+++ b/sky/shell/ui/engine.h
@@ -16,6 +16,7 @@
#include "skia/ext/refptr.h"
#include "sky/engine/public/platform/ServiceProvider.h"
#include "sky/engine/public/sky/sky_view.h"
+#include "sky/engine/public/sky/sky_view_client.h"
#include "sky/engine/public/web/WebFrameClient.h"
#include "sky/engine/public/web/WebViewClient.h"
#include "sky/shell/gpu_delegate.h"
@@ -34,7 +35,8 @@ class Engine : public UIDelegate,
public blink::ServiceProvider,
public mojo::NavigatorHost,
public blink::WebFrameClient,
- public blink::WebViewClient {
+ public blink::WebViewClient,
+ public blink::SkyViewClient {
public:
struct Config {
ServiceProviderContext* service_provider_context;
@@ -75,6 +77,9 @@ class Engine : public UIDelegate,
void didCreateIsolate(blink::WebLocalFrame* frame,
Dart_Isolate isolate) override;
+ // SkyViewClient methods:
+ void SchedulePaint() override;
+
// Services methods:
mojo::NavigatorHost* NavigatorHost() override;
« no previous file with comments | « sky/examples/raw/hello_world.dart ('k') | sky/shell/ui/engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698