summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch')
-rw-r--r--www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch34
1 files changed, 17 insertions, 17 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch
index 58b3a9d..5b97e10 100644
--- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch
+++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch
@@ -1,21 +1,21 @@
1--- a/chrome/browser/sharing/features.cc 1--- chrome/browser/sharing/features.cc.orig
2+++ b/chrome/browser/sharing/features.cc 2+++ chrome/browser/sharing/features.cc
3@@ -26,3 +26,5 @@ const base::Feature kSharingSendViaSync{ 3@@ -32,3 +32,5 @@ const base::Feature kSharingPreferVapid
4 4 base::FEATURE_DISABLED_BY_DEFAULT
5 const base::Feature kSharingPreferVapid { 5 #endif // defined(OS_ANDROID)
6 "SharingPreferVapid", base::FEATURE_DISABLED_BY_DEFAULT}; 6 };
7+ 7+
8+const base::Feature kDisableQRGenerator{"DisableQRGenerator", base::FEATURE_DISABLED_BY_DEFAULT}; 8+const base::Feature kDisableQRGenerator{"DisableQRGenerator", base::FEATURE_DISABLED_BY_DEFAULT};
9--- a/chrome/browser/sharing/features.h 9--- chrome/browser/sharing/features.h.orig
10+++ b/chrome/browser/sharing/features.h 10+++ chrome/browser/sharing/features.h
11@@ -34,4 +34,5 @@ extern const base::Feature kSharingSendV 11@@ -34,4 +34,5 @@ extern const base::Feature kSharingSendV
12 // Feature flag for prefer sending sharing message using VAPID. 12 // Feature flag for prefer sending sharing message using VAPID.
13 extern const base::Feature kSharingPreferVapid; 13 extern const base::Feature kSharingPreferVapid;
14 14
15+extern const base::Feature kDisableQRGenerator; 15+extern const base::Feature kDisableQRGenerator;
16 #endif // CHROME_BROWSER_SHARING_FEATURES_H_ 16 #endif // CHROME_BROWSER_SHARING_FEATURES_H_
17--- a/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc 17--- chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc.orig
18+++ b/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc 18+++ chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc
19@@ -23,7 +23,7 @@ QRCodeGeneratorBubbleController::~QRCode 19@@ -23,7 +23,7 @@ QRCodeGeneratorBubbleController::~QRCode
20 20
21 // static 21 // static
@@ -25,10 +25,10 @@
25 return false; 25 return false;
26 26
27 return true; 27 return true;
28--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc 28--- chrome/browser/ui/views/location_bar/location_bar_view.cc.orig
29+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc 29+++ chrome/browser/ui/views/location_bar/location_bar_view.cc
30@@ -311,7 +311,8 @@ void LocationBarView::Init() { 30@@ -297,7 +297,8 @@ void LocationBarView::Init() {
31 #endif // BUILDFLAG(ENABLE_SIDE_SEARCH) 31 // the left most icon.
32 params.types_enabled.push_back(PageActionIconType::kSendTabToSelf); 32 params.types_enabled.push_back(PageActionIconType::kSendTabToSelf);
33 params.types_enabled.push_back(PageActionIconType::kClickToCall); 33 params.types_enabled.push_back(PageActionIconType::kClickToCall);
34- params.types_enabled.push_back(PageActionIconType::kQRCodeGenerator); 34- params.types_enabled.push_back(PageActionIconType::kQRCodeGenerator);
@@ -37,9 +37,9 @@
37 if (base::FeatureList::IsEnabled(kSharedClipboardUI)) 37 if (base::FeatureList::IsEnabled(kSharedClipboardUI))
38 params.types_enabled.push_back(PageActionIconType::kSharedClipboard); 38 params.types_enabled.push_back(PageActionIconType::kSharedClipboard);
39 if (base::FeatureList::IsEnabled(kWebOTPCrossDevice)) 39 if (base::FeatureList::IsEnabled(kWebOTPCrossDevice))
40--- a/chrome/browser/ungoogled_flag_entries.h 40--- chrome/browser/ungoogled_flag_entries.h.orig
41+++ b/chrome/browser/ungoogled_flag_entries.h 41+++ chrome/browser/ungoogled_flag_entries.h
42@@ -64,4 +64,8 @@ 42@@ -72,4 +72,8 @@
43 "Remove Tabsearch Button", 43 "Remove Tabsearch Button",
44 "Removes the tabsearch button from the tabstrip. ungoogled-chromium flag", 44 "Removes the tabsearch button from the tabstrip. ungoogled-chromium flag",
45 kOsDesktop, SINGLE_VALUE_TYPE("remove-tabsearch-button")}, 45 kOsDesktop, SINGLE_VALUE_TYPE("remove-tabsearch-button")},