| Index: ash/common/wm_shell.cc | 
| diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc | 
| index 567c38c137d49ad8ade6c8b3adb76c0d1b5b447b..9e2c8a2f422885762118e131b5c25e765a9187b8 100644 | 
| --- a/ash/common/wm_shell.cc | 
| +++ b/ash/common/wm_shell.cc | 
| @@ -90,6 +90,11 @@ void WmShell::Shutdown() { | 
| views::FocusManagerFactory::Install(nullptr); | 
| } | 
|  | 
| +void WmShell::SetPaletteDelegateForTesting( | 
| +    std::unique_ptr<PaletteDelegate> palette_delegate) { | 
| +  palette_delegate_ = std::move(palette_delegate); | 
| +} | 
| + | 
| void WmShell::OnMaximizeModeStarted() { | 
| FOR_EACH_OBSERVER(ShellObserver, shell_observers_, OnMaximizeModeStarted()); | 
| } | 
|  |