Index: remoting/client/plugin/pepper_input_handler.h |
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h |
index 299077ff10e226d575f73429ea3b01cca62efd2a..fc942cc1da17f462aec8481605ae7eb6828be2a8 100644 |
--- a/remoting/client/plugin/pepper_input_handler.h |
+++ b/remoting/client/plugin/pepper_input_handler.h |
@@ -37,6 +37,10 @@ class PepperInputHandler { |
send_mouse_move_deltas_ = enable; |
} |
+ void set_send_touch_events(bool send) { |
Wez
2015/01/21 03:08:37
See comments in ChromotingInstance re this
Rintaro Kuroiwa
2015/01/28 01:12:29
Done.
|
+ send_touch_events_ = send; |
+ } |
+ |
// Processes PPAPI events and dispatches them to |input_stub_|. |
bool HandleInputEvent(const pp::InputEvent& event); |
@@ -58,6 +62,9 @@ class PepperInputHandler { |
// absolute position information, in mouse events. |
bool send_mouse_move_deltas_; |
+ // True if the plugin should handle raw touch events. |
+ bool send_touch_events_; |
+ |
// Accumulated sub-pixel and sub-tick deltas from wheel events. |
float wheel_delta_x_; |
float wheel_delta_y_; |