| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index d6af1bbed1cf65ccf62e393683c37a4068c1b55d..0f51514216c22bdabbb43a53499e8717dc65fe11 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -502,6 +502,14 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // Returns the deepest visible descendant that contains the specified point.
|
| virtual View* GetEventHandlerForPoint(const gfx::Point& point);
|
|
|
| + // Considers the bounding rectangles of all leaf descendant views that have
|
| + // at least views::kFuzzingOverlapPercentage of their area covered by
|
| + // |touch_rect|. Among these rectangles, choose one that is closest to the
|
| + // center line of |touch_rect| and return its corresponding View. If there
|
| + // are no such rectangles, NULL is returned. Note that |touch_rect| is in
|
| + // screen coordinates.
|
| + virtual View* GetEventHandlerForRect(const gfx::Rect& touch_rect);
|
| +
|
| // Return the cursor that should be used for this view or the default cursor.
|
| // The event location is in the receiver's coordinate system. The caller is
|
| // responsible for managing the lifetime of the returned object, though that
|
|
|