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

Unified Diff: remoting/client/plugin/chromoting_instance.h

Issue 799233004: Add touch events to the protocol, the stub layer, and to the client plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add more comments to event proto Created 5 years, 11 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: remoting/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index f6e8d32e9fc4a3dfb62ddccf02ba5b165457a4f2..ab94c116bed92e11b4feb8eb6643d31362408a91 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -25,6 +25,7 @@
#include "remoting/client/plugin/pepper_input_handler.h"
#include "remoting/client/plugin/pepper_plugin_thread_delegate.h"
#include "remoting/client/plugin/pepper_video_renderer.h"
+#include "remoting/client/plugin/touch_input_scaler.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/client_stub.h"
#include "remoting/protocol/clipboard_stub.h"
@@ -192,6 +193,7 @@ class ChromotingInstance : public ClientUserInterface,
void HandleAllowMouseLockMessage();
void HandleSendMouseInputWhenUnfocused();
void HandleDelegateLargeCursors();
+ void HandleEnableTouchEvents();
void Disconnect();
@@ -250,6 +252,7 @@ class ChromotingInstance : public ClientUserInterface,
// Input pipeline components, in reverse order of distance from input source.
protocol::MouseInputFilter mouse_input_filter_;
protocol::InputEventTracker input_tracker_;
+ TouchInputScaler touch_input_scaler_;
KeyEventMapper key_mapper_;
scoped_ptr<protocol::InputFilter> normalizing_input_filter_;
PepperInputHandler input_handler_;
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | remoting/client/plugin/pepper_input_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698