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

Unified Diff: components/test_runner/event_sender.h

Issue 1260693003: Add eventSender support for web pointer properties in touch points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO comments Created 5 years, 5 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
« no previous file with comments | « no previous file | components/test_runner/event_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/event_sender.h
diff --git a/components/test_runner/event_sender.h b/components/test_runner/event_sender.h
index 7ae131e5f65aeb7abe441576444a7c5ce1b5c64d..87efd7109af8dcc49c824b959a3ed88a9156a43d 100644
--- a/components/test_runner/event_sender.h
+++ b/components/test_runner/event_sender.h
@@ -101,7 +101,7 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
void ClearTouchPoints();
void ReleaseTouchPoint(unsigned index);
- void UpdateTouchPoint(unsigned index, float x, float y);
+ void UpdateTouchPoint(unsigned index, float x, float y, gin::Arguments* args);
void CancelTouchPoint(unsigned index);
void SetTouchModifier(const std::string& key_name, bool set_mask);
void SetTouchCancelable(bool cancelable);
@@ -127,7 +127,7 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
void BeginDragWithFiles(const std::vector<std::string>& files);
- void AddTouchPoint(gin::Arguments* args);
+ void AddTouchPoint(float x, float y, gin::Arguments* args);
void MouseDragBegin();
void MouseDragEnd();
@@ -176,6 +176,10 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
void InitMouseWheelEvent(gin::Arguments* args,
bool continuous,
blink::WebMouseWheelEvent* event);
+ void InitPointerProperties(gin::Arguments* args,
+ blink::WebPointerProperties* e,
+ float* radius_x,
+ float* radius_y);
void FinishDragAndDrop(const blink::WebMouseEvent&, blink::WebDragOperation);
« no previous file with comments | « no previous file | components/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698