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

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: Created 8 years, 5 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;
rjkroege 2012/07/16 23:35:48 So... If we have a really huge button, can we fail
tdanderson 2012/07/17 19:07:07 This is a good question, and I should have mention
+
} // namespace views
#endif // UI_VIEWS_VIEW_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698