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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 2022843002: Identity the mouse pointer type from low-level events for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/render_widget_host_view_mac.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index c873f2fa013d82b73f9ff3f9a379b1b7ef61940a..b8fc641ae07df3284583e6b9633de501f7d1dde8 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -183,6 +183,10 @@ class Layer;
// The filter used to guide touch events towards a horizontal or vertical
// orientation.
content::MouseWheelRailsFilterMac mouseWheelFilter_;
+
+ // This is used to indicate if the pointing device enters or leaves the
+ // proximity of its tablet.
+ BOOL stylusEnteringProximity_;
tdresser 2016/05/31 13:05:34 Should this be stylusWithinProximity? With this p
lanwei 2016/05/31 14:33:35 You are right, I should add some checks to the mou
}
@property(nonatomic, readonly) NSRange selectedRange;

Powered by Google App Engine
This is Rietveld 408576698