mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
patches: refresh for 140.0.7339.185
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -4926,11 +4926,13 @@ constexpr char kWebiumFlag[] = "webium";
|
||||
@@ -4927,11 +4927,13 @@ constexpr char kWebiumFlag[] = "webium";
|
||||
// calculate and verify checksum.
|
||||
//
|
||||
// When adding a new choice, add it to the end of the list.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/components/webui/flags/resources/app.css
|
||||
+++ b/components/webui/flags/resources/app.css
|
||||
@@ -105,8 +106,8 @@ button {
|
||||
@@ -106,8 +106,8 @@ button {
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
@@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
@@ -159,7 +160,7 @@ button {
|
||||
@@ -160,7 +160,7 @@ button {
|
||||
#header .flex-container {
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
#header .flex-container .flex:first-child {
|
||||
@@ -185,14 +186,18 @@ button {
|
||||
@@ -186,14 +186,18 @@ button {
|
||||
background: var(--input-background)
|
||||
url(chrome://resources/images/icon_search.svg) no-repeat 8px 50%;
|
||||
border: 1px solid transparent;
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
float bottom_left_corner_radius = content_corner_radius;
|
||||
--- a/chrome/browser/ui/views/tabs/tab.cc
|
||||
+++ b/chrome/browser/ui/views/tabs/tab.cc
|
||||
@@ -1150,7 +1150,7 @@ void Tab::UpdateIconVisibility() {
|
||||
@@ -1157,7 +1157,7 @@ void Tab::UpdateIconVisibility() {
|
||||
// left that needs to be considered.
|
||||
const int close_button_width = GetLayoutConstant(TAB_CLOSE_BUTTON_SIZE) +
|
||||
GetLayoutConstant(TAB_AFTER_TITLE_PADDING);
|
||||
@@ -83,7 +83,7 @@
|
||||
available_width >= (touch_ui ? kTouchMinimumContentsWidthForCloseButtons
|
||||
: kMinimumContentsWidthForCloseButtons);
|
||||
|
||||
@@ -1198,6 +1198,10 @@ void Tab::UpdateIconVisibility() {
|
||||
@@ -1205,6 +1205,10 @@ void Tab::UpdateIconVisibility() {
|
||||
large_enough_for_close_button;
|
||||
if (base::CommandLine::ForCurrentProcess()->HasSwitch("hide-tab-close-buttons"))
|
||||
showing_close_button_ = false;
|
||||
|
||||
Reference in New Issue
Block a user