summaryrefslogtreecommitdiffstats
path: root/ash/shell_observer.h
diff options
context:
space:
mode:
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 05:17:00 +0000
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 05:17:00 +0000
commitde42bccc36817496c10f99df4d204db460602afc (patch)
tree77d8ff1eb0e20ddc149b328d8514df699f84318d /ash/shell_observer.h
parent46e3194153db054636b25cde51efeb0c34aa074e (diff)
downloadchromium_src-de42bccc36817496c10f99df4d204db460602afc.zip
chromium_src-de42bccc36817496c10f99df4d204db460602afc.tar.gz
chromium_src-de42bccc36817496c10f99df4d204db460602afc.tar.bz2
Adding Overview mode started / ended observable events to the shell
Splitting my CL for the backdrop creation into smaller fragments. This portion is adding an observable event to the shell which allows to monitor overview mode de-/activations. BUG=337567 TEST=none Review URL: https://codereview.chromium.org/185423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_observer.h')
-rw-r--r--ash/shell_observer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ash/shell_observer.h b/ash/shell_observer.h
index 9d1db02..c2b652c 100644
--- a/ash/shell_observer.h
+++ b/ash/shell_observer.h
@@ -39,6 +39,14 @@ class ASH_EXPORT ShellObserver {
virtual void OnFullscreenStateChanged(bool is_fullscreen,
aura::Window* root_window) {}
+ // Called when the overview mode is about to be started (before the windows
+ // get re-arranged).
+ virtual void OnOverviewModeStarting() {}
+
+ // Called before the overview mode is ending (before the windows get arranged
+ // to their final position).
+ virtual void OnOverviewModeEnding() {}
+
protected:
virtual ~ShellObserver() {}
};