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

Unified Diff: services/native_viewport/native_viewport_impl.h

Issue 1453823005: Implement Linux IME support (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/native_viewport/native_viewport_impl.h
diff --git a/services/native_viewport/native_viewport_impl.h b/services/native_viewport/native_viewport_impl.h
index 3391e8830d0f97dec9a3a09c564bca0c50eac05e..0c8bfca2fd64397f4d6b5060cf50561bded290f8 100644
--- a/services/native_viewport/native_viewport_impl.h
+++ b/services/native_viewport/native_viewport_impl.h
@@ -56,6 +56,8 @@ class NativeViewportImpl : public mojo::NativeViewport,
mojo::InterfaceRequest<mojo::ContextProvider> request) override;
void SetEventDispatcher(
mojo::NativeViewportEventDispatcherPtr dispatcher) override;
+ void SetKeyEventDispatcher(
+ mojo::NativeViewportEventDispatcherPtr dispatcher) override;
// PlatformViewport::Delegate implementation.
void OnMetricsChanged(mojo::ViewportMetricsPtr metrics) override;
@@ -79,6 +81,7 @@ class NativeViewportImpl : public mojo::NativeViewport,
CreateCallback create_callback_;
RequestMetricsCallback metrics_callback_;
mojo::NativeViewportEventDispatcherPtr event_dispatcher_;
+ mojo::NativeViewportEventDispatcherPtr key_event_dispatcher_;
mojo::StrongBinding<mojo::NativeViewport> binding_;
// Set of pointer_ids we've sent a move to and are waiting on an ack.

Powered by Google App Engine
This is Rietveld 408576698