1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
ash / constants / quick_settings_catalogs.h [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_CONSTANTS_QUICK_SETTINGS_CATALOGS_H_
#define ASH_CONSTANTS_QUICK_SETTINGS_CATALOGS_H_
namespace ash {
// A catalog that registers all the buttons on the Quick Settings page. This
// catalog should be kept in sync with the buttons on the Quick Settings page.
// Current values should not be renumbered or removed, because they are recorded
// in histograms (histograms' enums.xml `QsButtonCatalogName`). To deprecate use
// `_DEPRECATED` post-fix on the name.
enum class QsButtonCatalogName {
kUnknown = 0,
kSignOutButton = 1,
kLockButton = 2,
kPowerButton = 3,
kSettingsButton = 4,
kDateViewButton = 5,
kBatteryButton = 6,
kManagedButton = 7,
kAvatarButton = 8, // To be deprecated
kCollapseButton = 9, // To be deprecated
kFeedBackButton = 10,
kVersionButton = 11,
kPowerOffMenuButton = 12,
kPowerRestartMenuButton = 13,
kPowerSignoutMenuButton = 14,
kPowerLockMenuButton = 15,
kSupervisedButton = 16,
kEolNoticeButton = 17,
kPowerEmailMenuButton = 18,
kExtendedUpdatesNoticeButton = 19,
kMaxValue = kExtendedUpdatesNoticeButton
};
// A catalog that registers all the features on the Quick Settings page. This
// catalog should be kept in sync with the pods on the Quick Settings page.
// Current values should not be renumbered or removed, because they are recorded
// in histograms (histograms' enums.xml `QsFeatureCatalogName`). To deprecate
// use `_DEPRECATED` post-fix on the name.
enum class QsFeatureCatalogName {
kUnknown = 0,
kNetwork = 1,
kBluetooth = 2,
kAccessibility = 3,
kQuietMode = 4,
kRotationLock = 5,
kPrivacyScreen = 6,
kCaptureMode = 7,
kNearbyShare = 8,
kNightLight = 9,
kCast = 10,
kVPN = 11,
kIME = 12,
kLocale = 13,
kDarkMode = 14,
kShelfParty_DEPRECATED = 15,
kAutozoom = 16,
kHotspot = 17,
kFocusMode = 18,
kMaxValue = kFocusMode
};
// A catalog that registers all the sliders on the Quick Settings page (also
// includes the slider bubble which is a separate bubble from the quick settings
// page). This catalog should be kept in sync with the sliders on the Quick
// Settings page. Current values should not be renumbered or removed, because
// they are recorded in histograms (histograms' enums.xml
// `QsSliderCatalogName`). To deprecate use `_DEPRECATED` post-fix on the name.
enum class QsSliderCatalogName {
kUnknown = 0,
kVolume = 1,
kBrightness = 2,
kMicGain = 3,
kKeyboardBrightness = 4,
kMaxValue = kKeyboardBrightness
};
} // namespace ash
#endif // ASH_CONSTANTS_QUICK_SETTINGS_CATALOGS_H_