summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch')
-rw-r--r--www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
index aac7b9d..6010902 100644
--- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
+++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
@@ -1,5 +1,5 @@
1--- a/chrome/browser/ui/views/tabs/tab.cc 1--- chrome/browser/ui/views/tabs/tab.cc.orig
2+++ b/chrome/browser/ui/views/tabs/tab.cc 2+++ chrome/browser/ui/views/tabs/tab.cc
3@@ -12,6 +12,7 @@ 3@@ -12,6 +12,7 @@
4 #include <utility> 4 #include <utility>
5 5
@@ -7,7 +7,7 @@
7+#include "base/command_line.h" 7+#include "base/command_line.h"
8 #include "base/debug/alias.h" 8 #include "base/debug/alias.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/memory/raw_ptr.h" 10 #include "base/metrics/user_metrics.h"
11@@ -641,6 +642,8 @@ void Tab::OnGestureEvent(ui::GestureEven 11@@ -641,6 +642,8 @@ void Tab::OnGestureEvent(ui::GestureEven
12 } 12 }
13 13
@@ -17,9 +17,9 @@
17 // Tab hover cards replace tooltips for tabs. 17 // Tab hover cards replace tooltips for tabs.
18 return std::u16string(); 18 return std::u16string();
19 } 19 }
20--- a/chrome/browser/ui/views/tabs/tab_strip.cc 20--- chrome/browser/ui/views/tabs/tab_strip.cc.orig
21+++ b/chrome/browser/ui/views/tabs/tab_strip.cc 21+++ chrome/browser/ui/views/tabs/tab_strip.cc
22@@ -16,6 +16,7 @@ 22@@ -15,6 +15,7 @@
23 23
24 #include "base/bind.h" 24 #include "base/bind.h"
25 #include "base/callback.h" 25 #include "base/callback.h"
@@ -27,7 +27,7 @@
27 #include "base/compiler_specific.h" 27 #include "base/compiler_specific.h"
28 #include "base/containers/adapters.h" 28 #include "base/containers/adapters.h"
29 #include "base/containers/contains.h" 29 #include "base/containers/contains.h"
30@@ -1904,6 +1905,8 @@ void TabStrip::OnMouseEventInTab(views:: 30@@ -2153,6 +2154,8 @@ void TabStrip::OnMouseEventInTab(views::
31 } 31 }
32 32
33 void TabStrip::UpdateHoverCard(Tab* tab, HoverCardUpdateType update_type) { 33 void TabStrip::UpdateHoverCard(Tab* tab, HoverCardUpdateType update_type) {
@@ -36,8 +36,8 @@
36 // Some operations (including e.g. starting a drag) can cause the tab focus 36 // Some operations (including e.g. starting a drag) can cause the tab focus
37 // to change at the same time as the tabstrip is starting to animate; the 37 // to change at the same time as the tabstrip is starting to animate; the
38 // hover card should not be visible at this time. 38 // hover card should not be visible at this time.
39--- a/chrome/browser/ungoogled_flag_choices.h 39--- chrome/browser/ungoogled_flag_choices.h.orig
40+++ b/chrome/browser/ungoogled_flag_choices.h 40+++ chrome/browser/ungoogled_flag_choices.h
41@@ -75,4 +75,13 @@ const FeatureEntry::Choice kCloseConfirm 41@@ -75,4 +75,13 @@ const FeatureEntry::Choice kCloseConfirm
42 "close-confirmation", 42 "close-confirmation",
43 "multiple"}, 43 "multiple"},
@@ -52,9 +52,9 @@
52+ "tooltip"}, 52+ "tooltip"},
53+}; 53+};
54 #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ 54 #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_
55--- a/chrome/browser/ungoogled_flag_entries.h 55--- chrome/browser/ungoogled_flag_entries.h.orig
56+++ b/chrome/browser/ungoogled_flag_entries.h 56+++ chrome/browser/ungoogled_flag_entries.h
57@@ -84,4 +84,8 @@ 57@@ -88,4 +88,8 @@
58 "Custom New Tab Page", 58 "Custom New Tab Page",
59 "Allows setting a custom URL for the new tab page. Value can be internal (e.g. `about:blank`), external (e.g. `example.com`), or local (e.g. `file:///tmp/startpage.html`). This applies for incognito windows as well when not set to a `chrome://` internal page. ungoogled-chromium flag", 59 "Allows setting a custom URL for the new tab page. Value can be internal (e.g. `about:blank`), external (e.g. `example.com`), or local (e.g. `file:///tmp/startpage.html`). This applies for incognito windows as well when not set to a `chrome://` internal page. ungoogled-chromium flag",
60 kOsDesktop, ORIGIN_LIST_VALUE_TYPE("custom-ntp", "")}, 60 kOsDesktop, ORIGIN_LIST_VALUE_TYPE("custom-ntp", "")},