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

Unified Diff: remoting/host/win/session_input_injector.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: should fix mac build Created 5 years, 8 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/host/win/session_input_injector.cc
diff --git a/remoting/host/win/session_input_injector.cc b/remoting/host/win/session_input_injector.cc
index bf8158ee1b7580f973efca7f46efc80971ce1135..333741311fb46679a4d7682acc13f4d5f82bd9c8 100644
--- a/remoting/host/win/session_input_injector.cc
+++ b/remoting/host/win/session_input_injector.cc
@@ -66,6 +66,7 @@ class SessionInputInjectorWin::Core
virtual void InjectTextEvent(const TextEvent& event) override;
virtual void InjectMouseEvent(const MouseEvent& event) override;
virtual void InjectTouchEvent(const TouchEvent& event) override;
+ virtual bool CanInjectTouch() override;
private:
friend class base::RefCountedThreadSafe<Core>;
@@ -200,6 +201,10 @@ void SessionInputInjectorWin::Core::InjectTouchEvent(const TouchEvent& event) {
nested_executor_->InjectTouchEvent(event);
}
+bool SessionInputInjectorWin::Core::CanInjectTouch() {
+ return nested_executor_->CanInjectTouch();
Wez 2015/04/09 22:58:59 You're accessing the |nested_executor_| from the c
Rintaro Kuroiwa 2015/04/20 18:20:03 N/A for latest patch.
+}
+
SessionInputInjectorWin::Core::~Core() {
}
@@ -256,4 +261,8 @@ void SessionInputInjectorWin::InjectTouchEvent(
core_->InjectTouchEvent(event);
}
+bool SessionInputInjectorWin::CanInjectTouch() {
+ return core_->CanInjectTouch();
+}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698