summaryrefslogtreecommitdiffstats
path: root/ash/shell_observer.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 09:02:22 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-20 09:02:22 +0000
commit82d3954ae9ccbd99fc48b99296e70f63dc883010 (patch)
tree48b84f38dfd00b55ab40b50019478648734784ae /ash/shell_observer.h
parentf9aa768a89f738398412a7c420d6f6af35a1fe9e (diff)
downloadchromium_src-82d3954ae9ccbd99fc48b99296e70f63dc883010.zip
chromium_src-82d3954ae9ccbd99fc48b99296e70f63dc883010.tar.gz
chromium_src-82d3954ae9ccbd99fc48b99296e70f63dc883010.tar.bz2
Cancel partial screenshot UI when lock happens.
BUG=122901 TEST=manually, aura_shell_unittests passed Review URL: https://chromiumcodereview.appspot.com/10008074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_observer.h')
-rw-r--r--ash/shell_observer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ash/shell_observer.h b/ash/shell_observer.h
index d9852bc..9c16668 100644
--- a/ash/shell_observer.h
+++ b/ash/shell_observer.h
@@ -7,6 +7,7 @@
#pragma once
#include "ash/ash_export.h"
+#include "ash/system/user/login_status.h"
namespace ash {
@@ -15,6 +16,16 @@ class ASH_EXPORT ShellObserver {
// Invoked after the screen's work area insets changes.
virtual void OnMonitorWorkAreaInsetsChanged() {}
+ // Invoked when the user logs in.
+ virtual void OnLoginStateChanged(user::LoginStatus status) {}
+
+ // Invoked when the application is exiting.
+ virtual void OnAppTerminating() {}
+
+ // Invoked when the screen is locked (after the lock window is visible) or
+ // unlocked.
+ virtual void OnLockStateChanged(bool locked) {}
+
protected:
virtual ~ShellObserver() {}
};