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

Unified Diff: ash/shell_observer.h

Issue 10008074: Cancel partial screenshot UI when lock happens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: coding style fix 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 | « ash/shell.cc ('k') | ash/wm/partial_screenshot_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_observer.h
diff --git a/ash/shell_observer.h b/ash/shell_observer.h
index d9852bcdf9285d43051936b3a603a158559a5571..9c1666836fbbccf932f347e8224d76f64efd6090 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() {}
};
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/partial_screenshot_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698