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

Unified Diff: ash/common/wm_shell.h

Issue 2652093002: mash: Make the power button shut the system down. (Closed)
Patch Set: add comment about CursorManager Created 3 years, 11 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/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index f13fb91ff488616fd40aa8f3164c335ba39c8765..d6bfae07b5011b418e2f0cc2029422c55e028bc4 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -430,12 +430,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
void AddLockStateObserver(LockStateObserver* observer);
void RemoveLockStateObserver(LockStateObserver* observer);
- // Displays the shutdown animation and requests a system shutdown or system
- // restart depending on the the state of the |RebootOnShutdown| device policy.
- // TODO(mash): Remove this method and call LockStateController directly when
- // it is available to code in ash/common.
- virtual void RequestShutdown() = 0;
-
void SetShelfDelegateForTesting(std::unique_ptr<ShelfDelegate> test_delegate);
void SetPaletteDelegateForTesting(
std::unique_ptr<PaletteDelegate> palette_delegate);
« no previous file with comments | « ash/common/system/tiles/tiles_default_view.cc ('k') | ash/mus/accelerators/accelerator_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698