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

Unified Diff: services/window_manager/native_viewport_event_dispatcher_impl.cc

Issue 924653002: Use StrongBinding instead of InterfaceImpl in wm event dispatcher (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
Index: services/window_manager/native_viewport_event_dispatcher_impl.cc
diff --git a/services/window_manager/native_viewport_event_dispatcher_impl.cc b/services/window_manager/native_viewport_event_dispatcher_impl.cc
index 1d9658439055a23c8356fe40f4cbce85ddacdbdd..05e415ebf61a58203b9a72fb9d5c46677b8429fb 100644
--- a/services/window_manager/native_viewport_event_dispatcher_impl.cc
+++ b/services/window_manager/native_viewport_event_dispatcher_impl.cc
@@ -11,8 +11,9 @@
namespace window_manager {
NativeViewportEventDispatcherImpl::NativeViewportEventDispatcherImpl(
- WindowManagerApp* app)
- : app_(app) {
+ WindowManagerApp* app,
+ mojo::InterfaceRequest<mojo::NativeViewportEventDispatcher> request)
+ : app_(app), binding_(this, request.Pass()) {
}
NativeViewportEventDispatcherImpl::~NativeViewportEventDispatcherImpl() {
}
« no previous file with comments | « services/window_manager/native_viewport_event_dispatcher_impl.h ('k') | services/window_manager/window_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698