summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch
diff options
context:
space:
mode:
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.patch26
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 f7e201c..0d622e8 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--- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc 1--- chrome/browser/ui/bookmarks/bookmark_tab_helper.cc.orig
2+++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc 2+++ 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--- a/chrome/browser/ungoogled_flag_choices.h 25--- chrome/browser/ungoogled_flag_choices.h.orig
26+++ b/chrome/browser/ungoogled_flag_choices.h 26+++ chrome/browser/ungoogled_flag_choices.h
27@@ -34,4 +34,10 @@ const FeatureEntry::Choice kScrollEventC 27@@ -39,4 +39,10 @@ const FeatureEntry::Choice kPDFPluginNam
28 "scroll-tabs", 28 {"Google Chrome", switches::kPDFPluginName, "chrome"},
29 "never"} 29 {"Microsoft Edge", switches::kPDFPluginName, "edge"},
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--- a/chrome/browser/ungoogled_flag_entries.h 38--- chrome/browser/ungoogled_flag_entries.h.orig
39+++ b/chrome/browser/ungoogled_flag_entries.h 39+++ chrome/browser/ungoogled_flag_entries.h
40@@ -36,4 +36,8 @@ 40@@ -44,4 +44,8 @@
41 "Scroll switches tab", 41 "Set internal PDF plugin name",
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.", 42 "Sets the internal PDF viewer plugin name. Useful for sites that probe JS API navigator.plugins. ungoogled-chromium flag.",
43 kOsDesktop, MULTI_VALUE_TYPE(kScrollEventChangesTab)}, 43 kOsDesktop, MULTI_VALUE_TYPE(kPDFPluginNameChoices)},
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.",