Chromium Code Reviews| Index: ash/common/wm_shell.h |
| diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h |
| index 9429268277fab9197d8e4133b99ae529bd6468a9..da548cf30f7e2251a1f53703d71670a1f14ea479 100644 |
| --- a/ash/common/wm_shell.h |
| +++ b/ash/common/wm_shell.h |
| @@ -398,6 +398,12 @@ class ASH_EXPORT WmShell { |
| 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 |
|
Daniel Erat
2016/11/10 19:24:53
just double-checked that there don't appear to be
|
| + // 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); |