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

Side by Side Diff: ash/common/system/chromeos/palette/palette_utils.h

Issue 2280273002: Disable magnification palette tool unless experimental palette features are enabled. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 // Returns true if the palette feature is enabled. The palette itself may have 12 // Returns true if the palette feature is enabled. The palette itself may have
13 // been disabled by the user. 13 // been disabled by the user.
14 ASH_EXPORT bool IsPaletteFeatureEnabled(); 14 ASH_EXPORT bool IsPaletteFeatureEnabled();
15 15
16 // Are experimental palette features enabled?
17 ASH_EXPORT bool ArePaletteExperimentalFeaturesEnabled();
18
16 } // namespace ash 19 } // namespace ash
17 20
18 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ 21 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tool.cc ('k') | ash/common/system/chromeos/palette/palette_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698