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

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
« no previous file with comments | « ash/shell/window_watcher.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
===================================================================
--- ash/shell_delegate.h (revision 128508)
+++ ash/shell_delegate.h (working copy)
@@ -54,11 +54,15 @@
// until e.g. a user has logged in and their profile has been loaded.
virtual bool CanCreateLauncher() = 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
+ // Unlock the screen. Currently used only for tests.
+ 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;
« no previous file with comments | « ash/shell/window_watcher.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698