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

Unified Diff: ui/views/view_constants.h

Issue 10790019: Add gesture target fuzzing to views (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No longer using screen coordinates Created 8 years, 4 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: ui/views/view_constants.h
diff --git a/ui/views/view_constants.h b/ui/views/view_constants.h
index 2b0171f19db780faeb0bd784708f472c08332d37..3d495c20fa92a1caf07b606cb1a15a170d6d45e3 100644
--- a/ui/views/view_constants.h
+++ b/ui/views/view_constants.h
@@ -22,6 +22,11 @@ VIEWS_EXPORT extern const int kAutoscrollRowTimerMS;
// the item, otherwise it is on the item.
VIEWS_EXPORT extern const int kDropBetweenPixels;
+// A view will only be considered a candidate for touch fuzzing if the touch
+// region covers at least |kFuzzingOverlapPercentage| percent of the area of
+// the view's bounding rectangle.
+VIEWS_EXPORT extern const float kFuzzingOverlapPercentage;
+
} // namespace views
#endif // UI_VIEWS_VIEW_CONSTANTS_H_
« ui/views/view.cc ('K') | « ui/views/view.cc ('k') | ui/views/view_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698