forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Legacy progwrp retired - patched DLL-specific binaries will replace it
- Loading branch information
win32ss
committed
Feb 12, 2025
1 parent
87515ba
commit a998c43
Showing
3 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// Copyright (c) 2025 Legacy Software Corporation. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef SUPERMIUM_FLAG_CHOICES_H_ | ||
#define SUPERMIUM_FLAG_CHOICES_H_ | ||
|
||
#include "base/features.h" | ||
|
||
const FeatureEntry::Choice kTabHoverCards[] = { | ||
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, | ||
{"None", | ||
"tab-hover-cards", | ||
"none"}, | ||
{"Tooltip", | ||
"tab-hover-cards", | ||
"tooltip"}, | ||
}; | ||
|
||
const FeatureEntry::Choice kBookmarkBarNewTab[] = { | ||
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, | ||
{"Never", | ||
"bookmark-bar-ntp", | ||
"never"}, | ||
}; | ||
const FeatureEntry::Choice kOmniboxAutocompleteFiltering[] = { | ||
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, | ||
{"Search suggestions only", | ||
"omnibox-autocomplete-filtering", | ||
"search"}, | ||
{"Search suggestions and bookmarks", | ||
"omnibox-autocomplete-filtering", | ||
"search-bookmarks"}, | ||
{"Search suggestions and internal chrome pages", | ||
"omnibox-autocomplete-filtering", | ||
"search-chrome"}, | ||
{"Search suggestions, bookmarks, and internal chrome pages", | ||
"omnibox-autocomplete-filtering", | ||
"search-bookmarks-chrome"}, | ||
}; | ||
const FeatureEntry::Choice kExtensionHandlingChoices[] = { | ||
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, | ||
{"Download as regular file", | ||
"extension-mime-request-handling", | ||
"download-as-regular-file"}, | ||
{"Always prompt for install", | ||
"extension-mime-request-handling", | ||
"always-prompt-for-install"}, | ||
}; | ||
const FeatureEntry::Choice kMaxConnectionsPerHostChoices[] = { | ||
{"6", "", ""}, | ||
{"15", "max-connections-per-host", "15"}, | ||
}; | ||
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 kCloseWindowWithLastTab[] = { | ||
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, | ||
{"Never", | ||
"close-window-with-last-tab", | ||
"never"}, | ||
}; | ||
#endif // SUPERMIUM_FLAG_CHOICES_H_ |