Index: ui/aura/window_targeter.h |
diff --git a/ui/aura/window_targeter.h b/ui/aura/window_targeter.h |
index ba69ed88819d4eeeea23e5b53fb46cdcb55baff0..4457f77c3717b344cba8f444090c2ae08bdb1540 100644 |
--- a/ui/aura/window_targeter.h |
+++ b/ui/aura/window_targeter.h |
@@ -6,6 +6,8 @@ |
namespace aura { |
+class Window; |
+ |
class WindowTargeter : public ui::EventTargeter { |
public: |
WindowTargeter(); |
@@ -15,10 +17,17 @@ class WindowTargeter : public ui::EventTargeter { |
// ui::EventTargeter: |
virtual ui::EventTarget* FindTargetForEvent(ui::EventTarget* root, |
ui::Event* event) OVERRIDE; |
+ virtual ui::EventTarget* FindTargetForLocatedEvent( |
+ ui::EventTarget* root, |
+ ui::LocatedEvent* event) OVERRIDE; |
virtual bool SubtreeShouldBeExploredForEvent( |
ui::EventTarget* target, |
const ui::LocatedEvent& event) OVERRIDE; |
+ private: |
+ Window* FindTargetInRootWindow(Window* root_window, |
+ const ui::LocatedEvent& event); |
+ |
DISALLOW_COPY_AND_ASSIGN(WindowTargeter); |
}; |