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

Unified Diff: content/common/input/synthetic_web_input_event_builders.h

Issue 2633233002: Add the pointer type of pen to the synthetic WebMousEvent (Closed)
Patch Set: Make disallow copy private Created 3 years, 11 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/common/input/synthetic_web_input_event_builders.h
diff --git a/content/common/input/synthetic_web_input_event_builders.h b/content/common/input/synthetic_web_input_event_builders.h
index 23c8e27ca85000596009d33578345df691fd20df..58620d300291e50ae7e8ace22676459e12439445 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -20,10 +20,13 @@ namespace content {
class CONTENT_EXPORT SyntheticWebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(blink::WebInputEvent::Type type);
- static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
- int window_x,
- int window_y,
- int modifiers);
+ static blink::WebMouseEvent Build(
+ blink::WebInputEvent::Type type,
+ int window_x,
+ int window_y,
+ int modifiers,
+ blink::WebPointerProperties::PointerType pointer_type =
+ blink::WebPointerProperties::PointerType::Mouse);
};
class CONTENT_EXPORT SyntheticWebMouseWheelEventBuilder {
« no previous file with comments | « content/common/input/synthetic_gesture_params.h ('k') | content/common/input/synthetic_web_input_event_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698