Chromium Code Reviews| Index: remoting/host/single_window_input_injector_mac.cc |
| diff --git a/remoting/host/single_window_input_injector_mac.cc b/remoting/host/single_window_input_injector_mac.cc |
| index 333f684058d130e041d4304a227006562c893b71..db84fa096d74952f1304d9ba745d79afd7a64438 100644 |
| --- a/remoting/host/single_window_input_injector_mac.cc |
| +++ b/remoting/host/single_window_input_injector_mac.cc |
| @@ -34,6 +34,7 @@ class SingleWindowInputInjectorMac : public SingleWindowInputInjector { |
| void InjectMouseEvent(const MouseEvent& event) override; |
| void InjectTouchEvent(const TouchEvent& event) override; |
| void InjectClipboardEvent(const ClipboardEvent& event) override; |
| + bool CanInjectTouch() override; |
| private: |
| CGRect FindCGRectOfWindow(); |
| @@ -118,6 +119,10 @@ void SingleWindowInputInjectorMac::InjectClipboardEvent( |
| input_injector_->InjectClipboardEvent(event); |
| } |
| +bool SingleWindowInputInjectorMac::CanInjectTouch() { |
| + return InputInjector::DefaultCanInjectTouch(); |
|
Wez
2015/04/09 22:58:59
This is wrong; InjectTouchEvent() above is NOTIMPL
Rintaro Kuroiwa
2015/04/20 18:20:03
Reverted.
|
| +} |
| + |
| // This method finds the rectangle of the window we are streaming using |
| // |window_id_|. The InputInjector can then use this rectangle |
| // to translate the input event to coordinates of the window rather |