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

Unified Diff: ash/shell_delegate.h

Issue 9788001: Remove stops_event_propagation from Window, since it's broken. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: ash/shell_delegate.h
===================================================================
--- ash/shell_delegate.h (revision 127786)
+++ ash/shell_delegate.h (working copy)
@@ -49,11 +49,14 @@
// Invoked to create a new status area. Can return NULL.
virtual views::Widget* CreateStatusArea() = 0;
-#if defined(OS_CHROMEOS)
- // Invoked when a user uses Ctrl-Shift-L to lock the screen.
+ // Invoked when a user locks the screen.
virtual void LockScreen() = 0;
-#endif
+ virtual void UnlockScreen() = 0;
+
+ // Returns true if the screen is currently locked.
+ virtual bool IsScreenLocked() const = 0;
+
// Invoked when a user uses Ctrl-Shift-Q to close chrome.
virtual void Exit() = 0;

Powered by Google App Engine
This is Rietveld 408576698