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

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: Pull MockPaletteToolDelegate into a separate file 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..4a38054e80f1c9794668d2589d0fb0b24e88121c 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -155,6 +155,11 @@ void WmShell::SetShelfDelegateForTesting(
shelf_delegate_ = std::move(test_delegate);
}
+void WmShell::SetPaletteDelegateForTesting(
+ std::unique_ptr<PaletteDelegate> palette_delegate) {
+ palette_delegate_ = std::move(palette_delegate);
+}
+
WmShell::WmShell(std::unique_ptr<ShellDelegate> shell_delegate)
: delegate_(std::move(shell_delegate)),
focus_cycler_(new FocusCycler),

Powered by Google App Engine
This is Rietveld 408576698