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

Unified Diff: content/browser/renderer_host/input/synthetic_mouse_driver.h

Issue 2633233002: Add the pointer type of pen to the synthetic WebMousEvent (Closed)
Patch Set: pen type 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/browser/renderer_host/input/synthetic_mouse_driver.h
diff --git a/content/browser/renderer_host/input/synthetic_mouse_driver.h b/content/browser/renderer_host/input/synthetic_mouse_driver.h
index 04a00706411073078cb8d139222fbcb118918cf8..117ddd67385c1dec350becf89a437d05023c2045 100644
--- a/content/browser/renderer_host/input/synthetic_mouse_driver.h
+++ b/content/browser/renderer_host/input/synthetic_mouse_driver.h
@@ -15,6 +15,8 @@ namespace content {
class CONTENT_EXPORT SyntheticMouseDriver : public SyntheticPointerDriver {
public:
SyntheticMouseDriver();
+ explicit SyntheticMouseDriver(
+ SyntheticGestureParams::GestureSourceType gesture_source_type);
~SyntheticMouseDriver() override;
void DispatchEvent(SyntheticGestureTarget* target,
@@ -29,6 +31,8 @@ class CONTENT_EXPORT SyntheticMouseDriver : public SyntheticPointerDriver {
private:
blink::WebMouseEvent mouse_event_;
+ blink::WebPointerProperties::PointerType pointer_type_;
+
DISALLOW_COPY_AND_ASSIGN(SyntheticMouseDriver);
};

Powered by Google App Engine
This is Rietveld 408576698