-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
thorium_flag_choices.h
148 lines (134 loc) · 4.28 KB
/
thorium_flag_choices.h
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
// Copyright (c) 2023 Alex313031. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_THORIUM_FLAG_CHOICES_H_
#define CHROME_BROWSER_THORIUM_FLAG_CHOICES_H_
const FeatureEntry::Choice kScrollEventChangesTab[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"Always",
"scroll-tabs",
"always"},
{"Never",
"scroll-tabs",
"never"}
};
const FeatureEntry::Choice kAutoplayPolicyChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"No User Gesture Required",
switches::kAutoplayPolicy, "no-user-gesture-required"},
{"User Gesture Required",
switches::kAutoplayPolicy, "user-gesture-required"},
{"Document User Activation Required",
switches::kAutoplayPolicy, "document-user-activation-required"},
};
const FeatureEntry::Choice kShowAvatarButtonChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"Always",
"show-avatar-button",
"always"},
{"Incognito and Guest",
"show-avatar-button",
"incognito-and-guest"},
{"Never",
"show-avatar-button",
"never"}
};
const FeatureEntry::Choice kWebglMSAASampleCountChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"0",
switches::kWebglMSAASampleCount, "0"},
{"2",
switches::kWebglMSAASampleCount, "2"},
{"4",
switches::kWebglMSAASampleCount, "4"},
{"8",
switches::kWebglMSAASampleCount, "8"},
{"16",
switches::kWebglMSAASampleCount, "16"},
};
const FeatureEntry::Choice kWebglAntialiasingModeChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"None",
switches::kWebglAntialiasingMode, "none"},
{"Explicit",
switches::kWebglAntialiasingMode, "explicit"},
{"Implicit",
switches::kWebglAntialiasingMode, "implicit"},
};
const FeatureEntry::Choice kGpuRasterizationMSAASampleCountChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"0",
blink::switches::kGpuRasterizationMSAASampleCount, "0"},
{"2",
blink::switches::kGpuRasterizationMSAASampleCount, "2"},
{"4",
blink::switches::kGpuRasterizationMSAASampleCount, "4"},
{"8",
blink::switches::kGpuRasterizationMSAASampleCount, "8"},
{"16",
blink::switches::kGpuRasterizationMSAASampleCount, "16"},
};
const FeatureEntry::Choice kNumRasterThreadsChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"1",
cc::switches::kNumRasterThreads, "1"},
{"2",
cc::switches::kNumRasterThreads, "2"},
{"3",
cc::switches::kNumRasterThreads, "3"},
{"4",
cc::switches::kNumRasterThreads, "4"},
};
const FeatureEntry::Choice kForceGpuMemAvailableMbChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"128",
"force-gpu-mem-available-mb", "128"},
{"256",
"force-gpu-mem-available-mb", "256"},
{"512",
"force-gpu-mem-available-mb", "512"},
{"1024",
"force-gpu-mem-available-mb", "1024"},
};
const FeatureEntry::Choice kTabHoverCardChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"None",
"tab-hover-cards",
"none"},
{"Tooltip",
"tab-hover-cards",
"tooltip"},
};
const FeatureEntry::Choice kCloseConfirmation[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"Show confirmation with last window",
"close-confirmation",
"last"},
{"Show confirmation with multiple windows",
"close-confirmation",
"multiple"},
};
const FeatureEntry::Choice kCloseWindowWithLastTab[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"Never",
"close-window-with-last-tab",
"never"},
};
#if BUILDFLAG(IS_LINUX)
const FeatureEntry::Choice kPasswordStoreChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{"Basic",
switches::kPasswordStore, "basic"},
{"Kwallet",
switches::kPasswordStore, "kwallet"},
{"Kwallet5",
switches::kPasswordStore, "kwallet5"},
{"Gnome",
switches::kPasswordStore, "gnome"},
{"Gnome-Keyring",
switches::kPasswordStore, "gnome-keyring"},
{"Gnome-LibSecret",
switches::kPasswordStore, "gnome-libsecret"},
};
#endif // BUILDFLAG(IS_LINUX)
#endif // CHROME_BROWSER_THORIUM_FLAG_CHOICES_H_