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

Unified Diff: ash/common/system/chromeos/palette/palette_utils.cc

Issue 2297393002: cros/ash: Only show the stylus palette on the internal display. (Closed)
Patch Set: Address comments Created 4 years, 3 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/system/chromeos/palette/palette_utils.h ('k') | ash/common/system/status_area_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/palette_utils.cc
diff --git a/ash/common/system/chromeos/palette/palette_utils.cc b/ash/common/system/chromeos/palette/palette_utils.cc
index 6a76068e90e36ebb1cf76aeeedba22767956d69a..008dad5ac28280f3d0dc042c560fb17acba89724 100644
--- a/ash/common/system/chromeos/palette/palette_utils.cc
+++ b/ash/common/system/chromeos/palette/palette_utils.cc
@@ -16,7 +16,12 @@ bool IsPaletteFeatureEnabled() {
bool ArePaletteExperimentalFeaturesEnabled() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshEnableExperimentalPaletteFeatures);
+ switches::kAshEnablePaletteExperimentalFeatures);
+}
+
+bool IsPaletteEnabledOnEveryDisplay() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kAshEnablePaletteOnAllDisplays);
}
} // namespace ash
« no previous file with comments | « ash/common/system/chromeos/palette/palette_utils.h ('k') | ash/common/system/status_area_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698