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

Unified Diff: remoting/host/input_injector.h

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/input_injector.h
diff --git a/remoting/host/input_injector.h b/remoting/host/input_injector.h
index ec3078c72f865449795a484fee35993fd63a2b1c..b8010ff3e05a9a238e46da047aaecb6037806f63 100644
--- a/remoting/host/input_injector.h
+++ b/remoting/host/input_injector.h
@@ -31,6 +31,12 @@ class InputInjector : public protocol::ClipboardStub,
// Initialises any objects needed to execute events.
virtual void Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) = 0;
+
+ virtual bool CanInjectTouch() = 0;
Wez 2015/04/09 22:58:59 Add a comment e.g. "Returns true iff the InputInje
Rintaro Kuroiwa 2015/04/20 18:20:03 Done.
+
+ protected:
+ // Most implementations of CanInjectTouch() will call this.
+ static bool DefaultCanInjectTouch();
Wez 2015/04/09 22:58:59 If "most" implementations will call this then why
Rintaro Kuroiwa 2015/04/20 18:20:03 Removed.
};
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698