Chromium Code Reviews| Index: ui/views/view.h |
| diff --git a/ui/views/view.h b/ui/views/view.h |
| index 0f6e33f4d2b9da43f0f1111eea8456362f6775dd..53b92550e696b7f70e724566088f2749552a235a 100644 |
| --- a/ui/views/view.h |
| +++ b/ui/views/view.h |
| @@ -1017,6 +1017,15 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
| // Input --------------------------------------------------------------------- |
| + // Considers all descendant views for which |touchRect| covers at least |
| + // views::kFuzzingOverlapPercentage of the area of the view's bounding |
| + // rectangle. Among these candidates, |closestOverlappedRect| is set to |
| + // be the bounding rectangle that is closest to the center of |touchRect| |
| + // using a distance-to-center-line metric. |closestOverlappedRect| remains |
| + // empty if there are no such candidates. |
|
sadrul
2012/07/16 22:16:14
I can't say I understand this comment very well ..
tdanderson
2012/07/17 19:07:07
Done.
|
| + virtual void FindClosestOverlappedRect(const gfx::Rect& touchRect, |
|
sadrul
2012/07/16 22:16:14
touch_rect etc. (chrome doesn't use camelCase).
Y
tdanderson
2012/07/17 19:07:07
Done.
|
| + gfx::Rect& closestOverlappedRect); |
| + |
| // Called by HitTest to see if this View has a custom hit test mask. If the |
| // return value is true, GetHitTestMask will be called to obtain the mask. |
| // Default value is false, in which case the View will hit-test against its |