summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-02 19:04:32 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-02 19:04:32 +0000
commit3e670aae0e76a6c87c17ff049c32da4335c2be5c (patch)
tree845159e6e429b10aaeab9f60c36f2542285afdb9 /ash/shell.h
parentfb4bcfa38b2cdd740fd112fabeb5d45add27354b (diff)
downloadchromium_src-3e670aae0e76a6c87c17ff049c32da4335c2be5c.zip
chromium_src-3e670aae0e76a6c87c17ff049c32da4335c2be5c.tar.gz
chromium_src-3e670aae0e76a6c87c17ff049c32da4335c2be5c.tar.bz2
events: Introduce EventTargeter.
EventTargeter will be used for finding the target for dispatching events in aura and views. More details about the design at the document linked at the bug. This patch introduces an EventTargeter interface, with an empty default implementation. It also adds some functions to the EventTarget interface that will be used by the actual EventTargeter implementation. BUG=318879 R=ben@chromium.org Review URL: https://codereview.chromium.org/98293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h
index 1c4e779..864bc86 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -559,6 +559,8 @@ class ASH_EXPORT Shell
// Overridden from ui::EventTarget:
virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE;
virtual EventTarget* GetParentTarget() OVERRIDE;
+ virtual scoped_ptr<ui::EventTargetIterator> GetChildIterator() const OVERRIDE;
+ virtual ui::EventTargeter* GetEventTargeter() OVERRIDE;
virtual void OnEvent(ui::Event* event) OVERRIDE;
// Overridden from aura::client::ActivationChangeObserver: