mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update ui_features.cc
This commit is contained in:
parent
921c783fec
commit
61f9844af1
1 changed files with 14 additions and 12 deletions
|
@ -105,20 +105,22 @@ const base::Feature kSideSearchPageActionLabelAnimation{
|
||||||
|
|
||||||
// Controls the frequency that the Side Search page action's label is shown. If
|
// Controls the frequency that the Side Search page action's label is shown. If
|
||||||
// enabled the label text is shown one per window.
|
// enabled the label text is shown one per window.
|
||||||
const base::FeatureParam<kSideSearchLabelAnimationFrequencyOption>::Option
|
const base::FeatureParam<kSideSearchLabelAnimationTypeOption>::Option
|
||||||
kSideSearchPageActionLabelAnimationFrequencyParamOptions[] = {
|
kSideSearchPageActionLabelAnimationTypeParamOptions[] = {
|
||||||
{kSideSearchLabelAnimationFrequencyOption::kOncePerProfile,
|
{kSideSearchLabelAnimationTypeOption::kProfile, "Profile"},
|
||||||
"OncePerProfile"},
|
{kSideSearchLabelAnimationTypeOption::kWindow, "Window"},
|
||||||
{kSideSearchLabelAnimationFrequencyOption::kOncePerWindow,
|
{kSideSearchLabelAnimationTypeOption::kTab, "Tab"}};
|
||||||
"OncePerWindow"},
|
|
||||||
{kSideSearchLabelAnimationFrequencyOption::kOncePerTab, "OncePerTab"}};
|
|
||||||
|
|
||||||
const base::FeatureParam<kSideSearchLabelAnimationFrequencyOption>
|
const base::FeatureParam<kSideSearchLabelAnimationTypeOption>
|
||||||
kSideSearchPageActionLabelAnimationFrequency{
|
kSideSearchPageActionLabelAnimationType{
|
||||||
&kSideSearchPageActionLabelAnimation,
|
&kSideSearchPageActionLabelAnimation,
|
||||||
"SideSearchPageActionLabelAnimationFrequency",
|
"SideSearchPageActionLabelAnimationType",
|
||||||
kSideSearchLabelAnimationFrequencyOption::kOncePerWindow,
|
kSideSearchLabelAnimationTypeOption::kWindow,
|
||||||
&kSideSearchPageActionLabelAnimationFrequencyParamOptions};
|
&kSideSearchPageActionLabelAnimationTypeParamOptions};
|
||||||
|
|
||||||
|
const base::FeatureParam<int> kSideSearchPageActionLabelAnimationMaxCount{
|
||||||
|
&kSideSearchPageActionLabelAnimation,
|
||||||
|
"SideSearchPageActionLabelAnimationMaxCount", 1};
|
||||||
|
|
||||||
// Whether to clobber all side search side panels in the current browser window
|
// Whether to clobber all side search side panels in the current browser window
|
||||||
// or only the side search in the current tab before read later or lens side
|
// or only the side search in the current tab before read later or lens side
|
||||||
|
|
Loading…
Reference in a new issue