diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch index e1a6886..d657480 100644 --- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | --- a/chrome/browser/ui/views/frame/browser_root_view.cc | 1 | --- chrome/browser/ui/views/frame/browser_root_view.cc.orig |
| 2 | +++ b/chrome/browser/ui/views/frame/browser_root_view.cc | 2 | +++ chrome/browser/ui/views/frame/browser_root_view.cc |
| 3 | @@ -11,6 +11,7 @@ | 3 | @@ -11,6 +11,7 @@ |
| 4 | 4 | ||
| 5 | #include "base/bind.h" | 5 | #include "base/bind.h" |
| @@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | BrowserRootView::~BrowserRootView() { | 39 | BrowserRootView::~BrowserRootView() { |
| 40 | // It's possible to destroy the browser while a drop is active. In this case, | 40 | // It's possible to destroy the browser while a drop is active. In this case, |
| 41 | @@ -255,7 +270,7 @@ bool BrowserRootView::OnMouseWheel(const | 41 | @@ -245,7 +260,7 @@ bool BrowserRootView::OnMouseWheel(const |
| 42 | 42 | ||
| 43 | // Scroll-event-changes-tab is incompatible with scrolling tabstrip, so | 43 | // Scroll-event-changes-tab is incompatible with scrolling tabstrip, so |
| 44 | // disable it if the latter feature is enabled. | 44 | // disable it if the latter feature is enabled. |
| @@ -47,9 +47,9 @@ | |||
| 47 | !base::FeatureList::IsEnabled(features::kScrollableTabStrip)) { | 47 | !base::FeatureList::IsEnabled(features::kScrollableTabStrip)) { |
| 48 | // Switch to the left/right tab if the wheel-scroll happens over the | 48 | // Switch to the left/right tab if the wheel-scroll happens over the |
| 49 | // tabstrip, or the empty space beside the tabstrip. | 49 | // tabstrip, or the empty space beside the tabstrip. |
| 50 | --- a/chrome/browser/ui/views/frame/browser_root_view.h | 50 | --- chrome/browser/ui/views/frame/browser_root_view.h.orig |
| 51 | +++ b/chrome/browser/ui/views/frame/browser_root_view.h | 51 | +++ chrome/browser/ui/views/frame/browser_root_view.h |
| 52 | @@ -144,6 +144,8 @@ class BrowserRootView : public views::in | 52 | @@ -143,6 +143,8 @@ class BrowserRootView : public views::in |
| 53 | int scroll_remainder_x_ = 0; | 53 | int scroll_remainder_x_ = 0; |
| 54 | int scroll_remainder_y_ = 0; | 54 | int scroll_remainder_y_ = 0; |
| 55 | 55 | ||
| @@ -58,8 +58,8 @@ | |||
| 58 | std::unique_ptr<DropInfo> drop_info_; | 58 | std::unique_ptr<DropInfo> drop_info_; |
| 59 | 59 | ||
| 60 | base::WeakPtrFactory<BrowserRootView> weak_ptr_factory_{this}; | 60 | base::WeakPtrFactory<BrowserRootView> weak_ptr_factory_{this}; |
| 61 | --- a/chrome/browser/ungoogled_flag_choices.h | 61 | --- chrome/browser/ungoogled_flag_choices.h.orig |
| 62 | +++ b/chrome/browser/ungoogled_flag_choices.h | 62 | +++ chrome/browser/ungoogled_flag_choices.h |
| 63 | @@ -25,4 +25,13 @@ const FeatureEntry::Choice kShowAvatarBu | 63 | @@ -25,4 +25,13 @@ const FeatureEntry::Choice kShowAvatarBu |
| 64 | "show-avatar-button", | 64 | "show-avatar-button", |
| 65 | "never"} | 65 | "never"} |
| @@ -74,9 +74,9 @@ | |||
| 74 | + "never"} | 74 | + "never"} |
| 75 | +}; | 75 | +}; |
| 76 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ | 76 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ |
| 77 | --- a/chrome/browser/ungoogled_flag_entries.h | 77 | --- chrome/browser/ungoogled_flag_entries.h.orig |
| 78 | +++ b/chrome/browser/ungoogled_flag_entries.h | 78 | +++ chrome/browser/ungoogled_flag_entries.h |
| 79 | @@ -32,4 +32,8 @@ | 79 | @@ -36,4 +36,8 @@ |
| 80 | "Hide crashed bubble", | 80 | "Hide crashed bubble", |
| 81 | "Hides the bubble box with the message \"Restore Pages? Chromium didn't shut down correctly.\" that shows on startup after the browser did not exit cleanly. ungoogled-chromium flag.", | 81 | "Hides the bubble box with the message \"Restore Pages? Chromium didn't shut down correctly.\" that shows on startup after the browser did not exit cleanly. ungoogled-chromium flag.", |
| 82 | kOsAll, SINGLE_VALUE_TYPE("hide-crashed-bubble")}, | 82 | kOsAll, SINGLE_VALUE_TYPE("hide-crashed-bubble")}, |
