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

Unified Diff: ash/shell/shell_delegate_impl.cc

Issue 2258553004: Add pref to enable/disable palette tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebase 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
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index aa7c7a061de90bf7d5bd2038aaf8f85d16f987f4..01cb8bd6cde27aaaa4fc2619b0a647ecd84fab0c 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -85,6 +85,11 @@ class PaletteDelegateImpl : public PaletteDelegate {
~PaletteDelegateImpl() override {}
// PaletteDelegate:
+ std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener(
+ const EnableListener& on_state_changed) override {
+ on_state_changed.Run(false);
+ return nullptr;
+ }
void CreateNote() override {}
bool HasNoteApp() override { return false; }
void SetPartialMagnifierState(bool enabled) override {}
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | chrome/browser/chromeos/note_taking_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698