Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: ash/shell.h

Issue 10008074: Cancel partial screenshot UI when lock happens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use observers Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | ash/shell_observer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 690ae79bb696df7fe3394cbd532ad62082c3632c..557232dfbbb1e17806b5827eef2344d4b89c413a 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -173,6 +173,16 @@ class ASH_EXPORT Shell {
void SetMonitorWorkAreaInsets(aura::Window* window,
const gfx::Insets& insets);
+ // Called when the user logs in.
+ void OnLoginStateChange(bool logged_in, bool is_guest);
+
+ // Called when the application is exiting.
+ void OnExit();
+
+ // Called when the screen is locked (after the lock window is visible) or
+ // unlocked.
+ void OnLockStateChange(bool locked);
+
// Initializes |launcher_|. Does nothing if it's already initialized.
void CreateLauncher();
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | ash/shell_observer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698