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

Unified Diff: chrome/browser/chromeos/note_taking_app_utils.cc

Issue 2258553004: Add pref to enable/disable palette tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Initial upload 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: chrome/browser/chromeos/note_taking_app_utils.cc
diff --git a/chrome/browser/chromeos/note_taking_app_utils.cc b/chrome/browser/chromeos/note_taking_app_utils.cc
index 1e3cef1ae66c233cac487ed25b832f1efc7ecb18..0413414ad48b9de347a6285f7ee094ede64dbec3 100644
--- a/chrome/browser/chromeos/note_taking_app_utils.cc
+++ b/chrome/browser/chromeos/note_taking_app_utils.cc
@@ -63,7 +63,7 @@ const extensions::Extension* GetApp(Profile* profile) {
bool IsNoteTakingAppAvailable(Profile* profile) {
DCHECK(profile);
- return ash::IsPaletteEnabled() && GetApp(profile);
+ return ash::IsPaletteFeatureEnabled() && GetApp(profile);
}
void LaunchNoteTakingAppForNewNote(Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698