diff options
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.patch | 32 |
1 files changed, 16 insertions, 16 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 5b97e10..553782e 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 | --- chrome/browser/sharing/features.cc.orig | 1 | --- a/chrome/browser/sharing/features.cc |
| 2 | +++ chrome/browser/sharing/features.cc | 2 | +++ b/chrome/browser/sharing/features.cc |
| 3 | @@ -32,3 +32,5 @@ const base::Feature kSharingPreferVapid | 3 | @@ -26,3 +26,5 @@ const base::Feature kSharingSendViaSync{ |
| 4 | base::FEATURE_DISABLED_BY_DEFAULT | 4 | |
| 5 | #endif // defined(OS_ANDROID) | 5 | const base::Feature kSharingPreferVapid { |
| 6 | }; | 6 | "SharingPreferVapid", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 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 | --- chrome/browser/sharing/features.h.orig | 9 | --- a/chrome/browser/sharing/features.h |
| 10 | +++ chrome/browser/sharing/features.h | 10 | +++ b/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 | --- chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc.orig | 17 | --- a/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc |
| 18 | +++ chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc | 18 | +++ b/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,9 +25,9 @@ | |||
| 25 | return false; | 25 | return false; |
| 26 | 26 | ||
| 27 | return true; | 27 | return true; |
| 28 | --- chrome/browser/ui/views/location_bar/location_bar_view.cc.orig | 28 | --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
| 29 | +++ chrome/browser/ui/views/location_bar/location_bar_view.cc | 29 | +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
| 30 | @@ -297,7 +297,8 @@ void LocationBarView::Init() { | 30 | @@ -298,7 +298,8 @@ void LocationBarView::Init() { |
| 31 | // the left most icon. | 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); |
| @@ -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 | --- chrome/browser/ungoogled_flag_entries.h.orig | 40 | --- a/chrome/browser/ungoogled_flag_entries.h |
| 41 | +++ chrome/browser/ungoogled_flag_entries.h | 41 | +++ b/chrome/browser/ungoogled_flag_entries.h |
| 42 | @@ -72,4 +72,8 @@ | 42 | @@ -68,4 +68,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")}, |
