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

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

Issue 1153543002: Make hit testing work in layout2.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing file 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
« sky/sdk/lib/framework/layout2.dart ('K') | « sky/shell/ui/engine.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ui/engine.cc
diff --git a/sky/shell/ui/engine.cc b/sky/shell/ui/engine.cc
index 67abfb320246087d4eb2040c56492d17837bda2e..b16d44e67338461efc034d8f117a01bc1cf2e174 100644
--- a/sky/shell/ui/engine.cc
+++ b/sky/shell/ui/engine.cc
@@ -72,6 +72,9 @@ void Engine::BeginFrame(base::TimeTicks frame_time) {
double interval_sec = 1.0 / 60;
blink::WebBeginFrameArgs args(frame_time_sec, deadline_sec, interval_sec);
+ if (sky_view_)
+ sky_view_->BeginFrame(frame_time);
+
if (web_view_) {
web_view_->beginFrame(args);
web_view_->layout();
@@ -203,7 +206,7 @@ void Engine::didCreateIsolate(blink::WebLocalFrame* frame,
CreateServiceProvider(config_.service_provider_context));
}
-void Engine::SchedulePaint() {
+void Engine::ScheduleFrame() {
animator_->RequestFrame();
}
« sky/sdk/lib/framework/layout2.dart ('K') | « sky/shell/ui/engine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698