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

Unified Diff: ui/base/cocoa/base_view.mm

Issue 2373733002: Send pointerleave and pointerenter events for styluses on Mac (Closed)
Patch Set: rebase Created 3 years, 10 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 | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/base_view.mm
diff --git a/ui/base/cocoa/base_view.mm b/ui/base/cocoa/base_view.mm
index 47ccca96ad6dd866b986183dbbec4db376f85be6..2172fec62acf67a7320b591ac6c6b2f5f7b25228 100644
--- a/ui/base/cocoa/base_view.mm
+++ b/ui/base/cocoa/base_view.mm
@@ -82,6 +82,10 @@ NSString* kSelectionDirection = @"Chromium.kSelectionDirection";
// This method left intentionally blank.
}
+- (void)tabletEvent:(NSEvent*)theEvent {
+ // This method left intentionally blank.
+}
+
- (void)mouseDown:(NSEvent*)theEvent {
dragging_ = YES;
[self mouseEvent:theEvent];
@@ -200,4 +204,8 @@ NSString* kSelectionDirection = @"Chromium.kSelectionDirection";
return new_rect;
}
+- (void)tabletProximity:(NSEvent*)theEvent {
+ [self tabletEvent:theEvent];
+}
+
@end
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698