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

Unified Diff: ash/common/wm_shell.cc

Issue 2235063002: Add create note palette action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app-runtime-changes
Patch Set: Comments and tests Created 4 years, 4 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.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());
}

Powered by Google App Engine
This is Rietveld 408576698