diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 17:20:22 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 17:20:22 +0000 |
commit | f5d39d2018a1c009fc8116e2df3170bfc0588ba9 (patch) | |
tree | a5b322697876c74b96c63f90f5ce5b7f6ea034b3 /ui/events | |
parent | 97e39977482aaf3bcee30d64c632ad7272757a1d (diff) | |
download | chromium_src-f5d39d2018a1c009fc8116e2df3170bfc0588ba9.zip chromium_src-f5d39d2018a1c009fc8116e2df3170bfc0588ba9.tar.gz chromium_src-f5d39d2018a1c009fc8116e2df3170bfc0588ba9.tar.bz2 |
athena: Add a basic overview mode.
Pressing F6 toggles the overview mode. Clicking/tapping a window in
overview mode selects it, and terminates the overview mode.
This patch adds 'ToggleOverview()' to the public WindowManager interface
to switch to the overview mode.
BUG=376353
R=ben@chromium.org, oshima@chromium.org
Review URL: https://codereview.chromium.org/302273004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events')
-rw-r--r-- | ui/events/event_target.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/events/event_target.h b/ui/events/event_target.h index fd03667..3ffec55 100644 --- a/ui/events/event_target.h +++ b/ui/events/event_target.h @@ -77,11 +77,13 @@ class EVENTS_EXPORT EventTarget : public EventHandler { // Returns true if the event pre target list is empty. bool IsPreTargetListEmpty() const; - protected: void set_target_handler(EventHandler* handler) { target_handler_ = handler; } + protected: + EventHandler* target_handler() { return target_handler_; } + // Overridden from EventHandler: virtual void OnEvent(Event* event) OVERRIDE; virtual void OnKeyEvent(KeyEvent* event) OVERRIDE; |