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

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 34b876092764d286f8010809514effa63fdddf9b..20e9adcb5ac35cad7c93c30c2fe94180790c930a 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,
@@ -36,6 +38,7 @@ class CONTENT_EXPORT SyntheticMouseDriver : public SyntheticPointerDriver {
private:
blink::WebMouseEvent mouse_event_;
unsigned last_modifiers_;
+ blink::WebPointerProperties::PointerType pointer_type_;
tdresser 2017/01/25 15:22:46 WebMouseEvent is a WebPointerProperties, which alr
lanwei 2017/01/26 02:55:40 Acknowledged.
DISALLOW_COPY_AND_ASSIGN(SyntheticMouseDriver);
};

Powered by Google App Engine
This is Rietveld 408576698