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

Unified Diff: content/shell/renderer/test_runner/event_sender.h

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added EventSender.SetTouchPointTilt() for tests Created 5 years, 10 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: content/shell/renderer/test_runner/event_sender.h
diff --git a/content/shell/renderer/test_runner/event_sender.h b/content/shell/renderer/test_runner/event_sender.h
index b6b2781c991e12b53e8f41a9fc071b1dd90150e1..5ab5bc42b5fca6da7ba9b75d8bd4a17647cdd39f 100644
--- a/content/shell/renderer/test_runner/event_sender.h
+++ b/content/shell/renderer/test_runner/event_sender.h
@@ -106,8 +106,9 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
void ClearTouchPoints();
void ReleaseTouchPoint(unsigned index);
- void UpdateTouchPoint(unsigned index, float x, float y);
+ void UpdateTouchPoint(gin::Arguments* args);
void CancelTouchPoint(unsigned index);
+ void SetTouchPointTilt(unsigned index, float tilt, float tiltDirection);
void SetTouchModifier(const std::string& key_name, bool set_mask);
void SetTouchCancelable(bool cancelable);
void ThrowTouchPointError();

Powered by Google App Engine
This is Rietveld 408576698