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

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

Issue 2373733002: Send pointerleave and pointerenter events for styluses on Mac (Closed)
Patch Set: Ready for review Created 4 years, 3 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/web_input_event_builders_mac.h
diff --git a/content/browser/renderer_host/input/web_input_event_builders_mac.h b/content/browser/renderer_host/input/web_input_event_builders_mac.h
index dbab1d88e1269be479e1a38203326a035279be0e..49d95bb7177ef38d740c89da71bcbeb22eaee9bd 100644
--- a/content/browser/renderer_host/input/web_input_event_builders_mac.h
+++ b/content/browser/renderer_host/input/web_input_event_builders_mac.h
@@ -20,7 +20,11 @@ class CONTENT_EXPORT WebKeyboardEventBuilder {
class CONTENT_EXPORT WebMouseEventBuilder {
public:
- static blink::WebMouseEvent Build(NSEvent* event, NSView* view);
+ static blink::WebMouseEvent Build(
+ NSEvent* event,
+ NSView* view,
+ blink::WebPointerProperties::PointerType pointerType =
+ blink::WebPointerProperties::PointerType::Mouse);
};
class CONTENT_EXPORT WebMouseWheelEventBuilder {

Powered by Google App Engine
This is Rietveld 408576698