From de42bccc36817496c10f99df4d204db460602afc Mon Sep 17 00:00:00 2001 From: "skuhne@chromium.org" Date: Tue, 4 Mar 2014 05:17:00 +0000 Subject: 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 --- ash/shell_observer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ash/shell_observer.h') 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() {} }; -- cgit v1.1