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

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

Issue 1222663003: Rename ViewportObserver to SkyEngine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with moar files 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/ui/engine.h ('k') | sky/shell/ui/input_event_converter.h » ('j') | 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 7d8bb3419dca4a8dbdc83d836010c6ffae75b6aa..fd991d5294cadb52a47c7360cfce63420050c5a9 100644
--- a/sky/shell/ui/engine.cc
+++ b/sky/shell/ui/engine.cc
@@ -54,7 +54,7 @@ Engine::Engine(const Config& config)
: config_(config),
animator_(new Animator(config, this)),
device_pixel_ratio_(1.0f),
- viewport_observer_binding_(this),
+ binding_(this),
weak_factory_(this) {
}
@@ -105,9 +105,8 @@ skia::RefPtr<SkPicture> Engine::Paint() {
return skia::AdoptRef(recorder.endRecordingAsPicture());
}
-void Engine::ConnectToViewportObserver(
- mojo::InterfaceRequest<ViewportObserver> request) {
- viewport_observer_binding_.Bind(request.Pass());
+void Engine::ConnectToEngine(mojo::InterfaceRequest<SkyEngine> request) {
+ binding_.Bind(request.Pass());
}
void Engine::OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) {
« no previous file with comments | « sky/shell/ui/engine.h ('k') | sky/shell/ui/input_event_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698