| Index: ui/aura/window_targeter.h
|
| diff --git a/ui/aura/window_targeter.h b/ui/aura/window_targeter.h
|
| index 048d8ad2e472aca897fccab4dfb8c125180d45ab..b71817e9d13c330f83e88e2500991a59696f098b 100644
|
| --- a/ui/aura/window_targeter.h
|
| +++ b/ui/aura/window_targeter.h
|
| @@ -14,6 +14,10 @@ class KeyEvent;
|
| class LocatedEvent;
|
| } // namespace ui
|
|
|
| +namespace gfx {
|
| +class Point;
|
| +} // namespace gfx
|
| +
|
| namespace aura {
|
|
|
| class Window;
|
| @@ -60,6 +64,15 @@ class AURA_EXPORT WindowTargeter : public ui::EventTargeter {
|
| ui::EventTarget* FindNextBestTarget(ui::EventTarget* previous_target,
|
| ui::Event* event) override;
|
|
|
| + // Returns whether the location of the event is in an actionable region of
|
| + // |window| or of any of its children. Does not assume that children are
|
| + // restricted to the bounds of their modal parent windows. Note that |point|
|
| + // is in |window|'s parent's coordinate system and |location| is the original
|
| + // event location.
|
| + bool EventLocationInsideBoundsRecursive(Window* window,
|
| + gfx::Point point,
|
| + gfx::Point location);
|
| +
|
| private:
|
| Window* FindTargetForKeyEvent(Window* root_window, const ui::KeyEvent& event);
|
| Window* FindTargetForNonKeyEvent(Window* root_window, ui::Event* event);
|
|
|