diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch index 0d622e8..f7e201c 100644 --- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | --- chrome/browser/ui/bookmarks/bookmark_tab_helper.cc.orig | 1 | --- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| 2 | +++ chrome/browser/ui/bookmarks/bookmark_tab_helper.cc | 2 | +++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| 3 | @@ -4,6 +4,7 @@ | 3 | @@ -4,6 +4,7 @@ |
| 4 | 4 | ||
| 5 | #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" | 5 | #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" |
| @@ -22,11 +22,11 @@ | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | void BookmarkTabHelper::AddObserver(BookmarkTabHelperObserver* observer) { | 24 | void BookmarkTabHelper::AddObserver(BookmarkTabHelperObserver* observer) { |
| 25 | --- chrome/browser/ungoogled_flag_choices.h.orig | 25 | --- a/chrome/browser/ungoogled_flag_choices.h |
| 26 | +++ chrome/browser/ungoogled_flag_choices.h | 26 | +++ b/chrome/browser/ungoogled_flag_choices.h |
| 27 | @@ -39,4 +39,10 @@ const FeatureEntry::Choice kPDFPluginNam | 27 | @@ -34,4 +34,10 @@ const FeatureEntry::Choice kScrollEventC |
| 28 | {"Google Chrome", switches::kPDFPluginName, "chrome"}, | 28 | "scroll-tabs", |
| 29 | {"Microsoft Edge", switches::kPDFPluginName, "edge"}, | 29 | "never"} |
| 30 | }; | 30 | }; |
| 31 | +const FeatureEntry::Choice kBookmarkBarNewTab[] = { | 31 | +const FeatureEntry::Choice kBookmarkBarNewTab[] = { |
| 32 | + {flags_ui::kGenericExperimentChoiceDefault, "", ""}, | 32 | + {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| @@ -35,12 +35,12 @@ | |||
| 35 | + "never"}, | 35 | + "never"}, |
| 36 | +}; | 36 | +}; |
| 37 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ | 37 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ |
| 38 | --- chrome/browser/ungoogled_flag_entries.h.orig | 38 | --- a/chrome/browser/ungoogled_flag_entries.h |
| 39 | +++ chrome/browser/ungoogled_flag_entries.h | 39 | +++ b/chrome/browser/ungoogled_flag_entries.h |
| 40 | @@ -44,4 +44,8 @@ | 40 | @@ -36,4 +36,8 @@ |
| 41 | "Set internal PDF plugin name", | 41 | "Scroll switches tab", |
| 42 | "Sets the internal PDF viewer plugin name. Useful for sites that probe JS API navigator.plugins. ungoogled-chromium flag.", | 42 | "Switch to the left/right tab if the wheel-scroll happens over the tabstrip, or the empty space beside the tabstrip. ungoogled-chromium flag.", |
| 43 | kOsDesktop, MULTI_VALUE_TYPE(kPDFPluginNameChoices)}, | 43 | kOsDesktop, MULTI_VALUE_TYPE(kScrollEventChangesTab)}, |
| 44 | + {"bookmark-bar-ntp", | 44 | + {"bookmark-bar-ntp", |
| 45 | + "Bookmark Bar on New-Tab-Page", | 45 | + "Bookmark Bar on New-Tab-Page", |
| 46 | + "Disable the Bookmark Bar on the New-Tab-Page. ungoogled-chromium flag.", | 46 | + "Disable the Bookmark Bar on the New-Tab-Page. ungoogled-chromium flag.", |
