diff options
| author | Shokara Kou <kou@13f0.net> | 2022-06-08 08:42:07 -0400 |
|---|---|---|
| committer | Shokara Kou <kou@13f0.net> | 2022-06-08 08:42:07 -0400 |
| commit | 8fe8e03bb8c52fac64b52839d7af4f47b718f405 (patch) | |
| tree | 87e8b4f26377ba6acbbdaa4c66e3491c5425f22d /www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch | |
| parent | 2be1931967e4073a55d7ac3e3ecdff7c825a63f4 (diff) | |
Revert "update ugc to 102.0.5005.61-3"
This reverts commit 2be1931967e4073a55d7ac3e3ecdff7c825a63f4.
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch index 718f9e0..a983beb 100644 --- a/www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | # Add more URL schemes allowed for saving | 1 | # Add more URL schemes allowed for saving |
| 2 | 2 | ||
| 3 | --- a/chrome/browser/ui/browser_commands.cc | 3 | --- chrome/browser/ui/browser_commands.cc.orig |
| 4 | +++ b/chrome/browser/ui/browser_commands.cc | 4 | +++ chrome/browser/ui/browser_commands.cc |
| 5 | @@ -448,11 +448,6 @@ int GetContentRestrictions(const Browser | 5 | @@ -440,11 +440,6 @@ int GetContentRestrictions(const Browser |
| 6 | CoreTabHelper* core_tab_helper = | 6 | CoreTabHelper* core_tab_helper = |
| 7 | CoreTabHelper::FromWebContents(current_tab); | 7 | CoreTabHelper::FromWebContents(current_tab); |
| 8 | content_restrictions = core_tab_helper->content_restrictions(); | 8 | content_restrictions = core_tab_helper->content_restrictions(); |
| @@ -14,8 +14,8 @@ | |||
| 14 | } | 14 | } |
| 15 | return content_restrictions; | 15 | return content_restrictions; |
| 16 | } | 16 | } |
| 17 | @@ -1355,8 +1350,7 @@ bool CanSavePage(const Browser* browser) | 17 | @@ -1342,8 +1337,7 @@ bool CanSavePage(const Browser* browser) |
| 18 | DownloadPrefs::DownloadRestriction::ALL_FILES) { | 18 | prefs::kAllowFileSelectionDialogs)) { |
| 19 | return false; | 19 | return false; |
| 20 | } | 20 | } |
| 21 | - return !browser->is_type_devtools() && | 21 | - return !browser->is_type_devtools() && |
| @@ -24,8 +24,8 @@ | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | void Print(Browser* browser) { | 26 | void Print(Browser* browser) { |
| 27 | --- a/components/offline_pages/core/offline_page_model.cc | 27 | --- components/offline_pages/core/offline_page_model.cc.orig |
| 28 | +++ b/components/offline_pages/core/offline_page_model.cc | 28 | +++ components/offline_pages/core/offline_page_model.cc |
| 29 | @@ -22,7 +22,7 @@ OfflinePageModel::SavePageParams::~SaveP | 29 | @@ -22,7 +22,7 @@ OfflinePageModel::SavePageParams::~SaveP |
| 30 | 30 | ||
| 31 | // static | 31 | // static |
| @@ -35,9 +35,9 @@ | |||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | OfflinePageModel::OfflinePageModel() = default; | 37 | OfflinePageModel::OfflinePageModel() = default; |
| 38 | --- a/content/common/url_schemes.cc | 38 | --- content/common/url_schemes.cc.orig |
| 39 | +++ b/content/common/url_schemes.cc | 39 | +++ content/common/url_schemes.cc |
| 40 | @@ -24,13 +24,22 @@ namespace { | 40 | @@ -23,6 +23,9 @@ namespace { |
| 41 | bool g_registered_url_schemes = false; | 41 | bool g_registered_url_schemes = false; |
| 42 | 42 | ||
| 43 | const char* const kDefaultSavableSchemes[] = { | 43 | const char* const kDefaultSavableSchemes[] = { |
| @@ -47,7 +47,8 @@ | |||
| 47 | url::kHttpScheme, | 47 | url::kHttpScheme, |
| 48 | url::kHttpsScheme, | 48 | url::kHttpsScheme, |
| 49 | url::kFileScheme, | 49 | url::kFileScheme, |
| 50 | url::kFileSystemScheme, | 50 | @@ -30,7 +33,13 @@ const char* const kDefaultSavableSchemes |
| 51 | url::kFtpScheme, | ||
| 51 | kChromeDevToolsScheme, | 52 | kChromeDevToolsScheme, |
| 52 | kChromeUIScheme, | 53 | kChromeUIScheme, |
| 53 | - url::kDataScheme | 54 | - url::kDataScheme |
| @@ -61,9 +62,9 @@ | |||
| 61 | }; | 62 | }; |
| 62 | 63 | ||
| 63 | // These lists are lazily initialized below and are leaked on shutdown to | 64 | // These lists are lazily initialized below and are leaked on shutdown to |
| 64 | --- a/content/public/common/url_utils.cc | 65 | --- content/public/common/url_utils.cc.orig |
| 65 | +++ b/content/public/common/url_utils.cc | 66 | +++ content/public/common/url_utils.cc |
| 66 | @@ -32,11 +32,7 @@ bool HasWebUIOrigin(const url::Origin& o | 67 | @@ -26,11 +26,7 @@ bool HasWebUIScheme(const GURL& url) { |
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | bool IsSavableURL(const GURL& url) { | 70 | bool IsSavableURL(const GURL& url) { |
