Compare commits

...

9 Commits

Author SHA1 Message Date
wukko 1be2432a9a revision: bump to 6 (#633)
bumping asap to get the security patch out fast
2025-12-17 14:27:41 +06:00
wukko 5d96434aa0 merge: update to chromium 143.0.7499.146 (#632) 2025-12-17 14:14:30 +06:00
wukko 56d1a136ab patches: refresh for chromium 143.0.7499.146 2025-12-17 12:07:35 +06:00
wukko 688af14009 merge: update to ungoogled-chromium 143.0.7499.146 2025-12-17 11:37:41 +06:00
Blaise 1341de3a37 Update to Chromium 143.0.7499.146 2025-12-16 14:14:37 -06:00
wukko 4e6eda294f revision: bump to 5 (#623) 2025-12-15 13:46:38 +00:00
wukko f32b04755e helium/ui: fix pwa toolbar & location bar layout (#620) 2025-12-15 08:56:28 +00:00
wukko 75d044b9a6 helium/ui/tabs: fix in-place pinned tab muting/unmuting (#619)
fixes #586
2025-12-15 14:53:17 +06:00
wukko 0ec967b7d6 helium/ui/cat: fix layout breakage when exiting fullscreen, again (#616) 2025-12-14 16:01:08 +06:00
15 changed files with 98 additions and 54 deletions
+1 -1
View File
@@ -1 +1 @@
143.0.7499.109
143.0.7499.146
@@ -1,6 +1,6 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -13652,11 +13652,328 @@ const FeatureEntry kFeatureEntries[] = {
@@ -13667,11 +13667,328 @@ const FeatureEntry kFeatureEntries[] = {
// AboutFlagsHistogramTest unit test to verify this process).
};
@@ -330,7 +330,7 @@
FlagsStateSingleton(const FlagsStateSingleton&) = delete;
FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete;
~FlagsStateSingleton() override = default;
@@ -13675,7 +13992,7 @@ class FlagsStateSingleton : public flags
@@ -13690,7 +14007,7 @@ class FlagsStateSingleton : public flags
void RestoreDefaultState() {
flags_state_ =
@@ -339,7 +339,7 @@
}
private:
@@ -13999,7 +14316,7 @@ base::span<const FeatureEntry> GetFeatur
@@ -14014,7 +14331,7 @@ base::span<const FeatureEntry> GetFeatur
!entries_for_testing->empty()) {
return *entries_for_testing;
}
+1 -1
View File
@@ -15,7 +15,7 @@
#endif // USE_AURA
#if defined(USE_AURA)
@@ -5207,11 +5207,13 @@ const FeatureEntry::FeatureVariation kPr
@@ -5222,11 +5222,13 @@ const FeatureEntry::FeatureVariation kPr
// calculate and verify checksum.
//
// When adding a new choice, add it to the end of the list.
@@ -1,8 +1,8 @@
--- a/build/config/chrome_build.gni
+++ b/build/config/chrome_build.gni
@@ -101,4 +101,4 @@ declare_args() {
@@ -92,4 +92,4 @@ declare_args() {
# Whether to enable built-in branding assets (logos & marketing snippets) for
# search providers in choice UIs.
-enable_builtin_search_provider_assets = is_internal_chrome_branded
-enable_builtin_search_provider_assets = is_chrome_branded
+enable_builtin_search_provider_assets = true
+6 -5
View File
@@ -10,7 +10,7 @@
padding-top: var(--ntp-one-google-bar-height);
--- a/chrome/browser/resources/new_tab_page/app.html
+++ b/chrome/browser/resources/new_tab_page/app.html
@@ -1,91 +1,4 @@
@@ -1,92 +1,4 @@
-<!-- #html_wrapper_imports_start
-import {nothing} from '//resources/lit/v3_0/lit.rollup.js';
-#html_wrapper_imports_end -->
@@ -68,7 +68,7 @@
- ?ntp-realbox-next-enabled="${this.ntpRealboxNextEnabled_}"
- ?cycling-placeholders="${this.searchboxCyclingPlaceholders_}"
- @searchbox-input-focus-changed="${this.onInputFocusChanged_}"
- ?ntp-next-features-enabled="${this.ntpNextFeaturesEnabled_}">
- context-menu-glif-animation-state="${this.contextMenuGlifAnimationState_}">
- </cr-searchbox>
- ${this.showComposebox_ ? html`
- <cr-composebox id="composebox"
@@ -88,7 +88,8 @@
- ${this.lazyRender_
- && this.ntpNextFeaturesEnabled_ && this.isActionChipsVisible_ ? html`
- <ntp-action-chips
- @action-chip-click="${this.openComposebox_}">
- @action-chip-click="${this.openComposebox_}"
- @action-chips-retrieval-state-changed="${this.onActionChipsRetrievalStateChanged_}">
- </ntp-action-chips>
- ` : ''}
- ${this.lazyRender_ ? html`
@@ -102,7 +103,7 @@
${this.lazyRender_ ? html`
${this.shortcutsEnabled_ ? html`
<cr-most-visited id="mostVisited" .theme="${this.theme_?.mostVisited || null}"
@@ -94,54 +7,7 @@ import {nothing} from '//resources/lit/v
@@ -95,54 +7,7 @@ import {nothing} from '//resources/lit/v
max-tiles-before-show-more="${this.maxTilesBeforeShowMore_}">
</cr-most-visited>
` : ''}
@@ -157,7 +158,7 @@
<ntp-customize-buttons id="customizeButtons"
?modules-shown-to-user="${this.modulesShownToUser}"
?show-background-image="${this.showBackgroundImage_}"
@@ -163,23 +29,3 @@ import {nothing} from '//resources/lit/v
@@ -164,23 +29,3 @@ import {nothing} from '//resources/lit/v
` : ''}
<div id="contentBottomSpacer"></div>
</div>
@@ -122,21 +122,23 @@
// TODO(pbos): Investigate whether the side panels should be creatable when
--- a/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
+++ b/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
@@ -411,6 +411,13 @@ void BrowserViewLayoutImplOld::LayoutTab
views().tab_strip_region_view->SetBounds(0, 0, 0, 0);
return;
}
@@ -406,6 +406,15 @@ void BrowserViewLayoutImplOld::LayoutVer
void BrowserViewLayoutImplOld::LayoutTabStripRegion(
gfx::Rect& available_bounds) {
TRACE_EVENT0("ui", "BrowserViewLayout::LayoutTabStripRegion");
+
+ // If the CAT feature is enabled, then the tab strip is in the toolbar.
+ // We shouldn't layout it here.
+ if (features::IsHeliumCatEnabled()) {
+ // If the CAT feature is enabled and we're in a normal browser,
+ // skip laying out the tab strip region. It's laid out in the toolbar.
+ // The tab strip isn't drawn in other browser types, so the next
+ // if statement will hide it.
+ if (features::IsHeliumCatEnabled() && browser()->is_type_normal()) {
+ return;
+ }
+
// This retrieves the bounds for the tab strip based on whether or not we show
// anything to the left of it, like the incognito avatar.
gfx::Rect tab_strip_region_bounds(
@@ -458,6 +465,15 @@ void BrowserViewLayoutImplOld::LayoutToo
if (!delegate().ShouldDrawTabStrip()) {
SetViewVisibility(views().tab_strip_region_view, false);
views().tab_strip_region_view->SetBounds(0, 0, 0, 0);
@@ -458,6 +467,15 @@ void BrowserViewLayoutImplOld::LayoutToo
toolbar_bounds.set_x(available_bounds.x());
toolbar_bounds.set_width(toolbar_bounds.width() - kVerticalTabStripWidth);
views().toolbar->SetBoundsRect(toolbar_bounds);
-22
View File
@@ -1,22 +0,0 @@
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.h
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.h
@@ -11,7 +11,7 @@ class ToolbarButton;
class ToolbarButtonProvider;
#if BUILDFLAG(IS_MAC)
-inline constexpr int kWebAppMenuMargin = 7;
+inline constexpr int kWebAppMenuMargin = 4;
#endif
// Makes adjustments to |toolbar_button| for display in a web app frame.
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_toolbar_button_container.cc
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_toolbar_button_container.cc
@@ -85,7 +85,7 @@ WebAppToolbarButtonContainer::WebAppTool
.SetDefault(
views::kMarginsKey,
gfx::Insets::VH(
- 0, HorizontalPaddingBetweenPageActionsAndAppMenuButtons()))
+ 0, 9))
.SetCollapseMargins(true)
.SetIgnoreDefaultMainAxisMargins(true)
.SetCrossAxisAlignment(views::LayoutAlignment::kCenter)
+3 -3
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc
+++ b/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc
@@ -43,7 +43,7 @@
@@ -42,7 +42,7 @@
namespace {
// Value from the spec controlling appearance of the shadow.
@@ -9,7 +9,7 @@
#if !defined(USE_AURA)
@@ -231,8 +231,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib
@@ -230,8 +230,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib
LocationBarView* location_bar,
bool forward_mouse_events)
: contents_(contents), forward_mouse_events_(forward_mouse_events) {
@@ -19,7 +19,7 @@
// Host the contents in its own View to simplify layout and customization.
auto contents_host_builder =
views::Builder<views::View>()
@@ -299,10 +298,10 @@ int RoundedOmniboxResultsFrame::GetNonRe
@@ -298,10 +297,10 @@ int RoundedOmniboxResultsFrame::GetNonRe
// static
gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() {
+59
View File
@@ -0,0 +1,59 @@
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.h
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.h
@@ -11,7 +11,7 @@ class ToolbarButton;
class ToolbarButtonProvider;
#if BUILDFLAG(IS_MAC)
-inline constexpr int kWebAppMenuMargin = 7;
+inline constexpr int kWebAppMenuMargin = 2;
#endif
// Makes adjustments to |toolbar_button| for display in a web app frame.
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_toolbar_button_container.cc
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_toolbar_button_container.cc
@@ -85,7 +85,7 @@ WebAppToolbarButtonContainer::WebAppTool
.SetDefault(
views::kMarginsKey,
gfx::Insets::VH(
- 0, HorizontalPaddingBetweenPageActionsAndAppMenuButtons()))
+ 0, GetLayoutConstant(TOP_BAR_VERTICAL_PADDING) * 2))
.SetCollapseMargins(true)
.SetIgnoreDefaultMainAxisMargins(true)
.SetCrossAxisAlignment(views::LayoutAlignment::kCenter)
--- a/chrome/browser/ui/views/location_bar/custom_tab_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/custom_tab_bar_view.cc
@@ -145,7 +145,7 @@ class CustomTabBarTitleOriginView : publ
views::MaximumFlexSizeRule::kPreferred));
location_label_ = AddChildView(std::move(location_label));
- if (should_show_title) {
+ if ((false)) {
auto title_label = std::make_unique<views::Label>(
std::u16string(), views::style::CONTEXT_LABEL);
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.cc
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.cc
@@ -25,7 +25,7 @@ void ConfigureWebAppToolbarButton(
int WebAppFrameRightMargin() {
#if BUILDFLAG(IS_MAC)
- return kWebAppMenuMargin;
+ return 10;
#else
return HorizontalPaddingBetweenPageActionsAndAppMenuButtons();
#endif
--- a/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_navigation_button_container.cc
+++ b/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_navigation_button_container.cc
@@ -31,12 +31,7 @@
namespace {
constexpr int kPaddingBetweenNavigationButtons = 5;
-
-#if BUILDFLAG(IS_CHROMEOS)
constexpr int kWebAppFrameLeftMargin = 2;
-#else
-constexpr int kWebAppFrameLeftMargin = 7;
-#endif
} // namespace
+5 -1
View File
@@ -186,7 +186,7 @@
}
bool Tab::ShouldRenderAsNormalTab() const {
@@ -1254,15 +1253,25 @@ void Tab::UpdateTabIconNeedsAttentionBlo
@@ -1254,15 +1253,29 @@ void Tab::UpdateTabIconNeedsAttentionBlo
}
int Tab::GetWidthOfLargestSelectableRegion() const {
@@ -209,6 +209,10 @@
+
+ int selectable_region = width();
+
+ if (!ShouldRenderAsNormalTab()) {
+ return selectable_region;
+ }
+
+ if (alert_indicator_button_->GetVisible()) {
+ selectable_region = alert_indicator_button_->bounds().right();
+ }
+1 -1
View File
@@ -2,7 +2,7 @@
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -459,14 +459,6 @@ group("gn_all") {
@@ -458,14 +458,6 @@ group("gn_all") {
]
}
+1 -1
View File
@@ -257,7 +257,7 @@ helium/ui/bangs-ui.patch
helium/ui/thinner-infobar.patch
helium/ui/reduce-text-button-height.patch
helium/ui/smaller-window-grab-handle.patch
helium/ui/fix-pwa-toolbar.patch
helium/ui/pwa-toolbar.patch
helium/ui/top-container.patch
helium/ui/status-bubble.patch
helium/ui/clean-incognito-guest-ntp.patch
@@ -1,6 +1,6 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -5210,10 +5210,12 @@ const FeatureEntry::FeatureVariation kPr
@@ -5225,10 +5225,12 @@ const FeatureEntry::FeatureVariation kPr
#include "chrome/browser/ungoogled_flag_choices.h"
#include "chrome/browser/bromite_flag_choices.h"
#include "chrome/browser/ungoogled_platform_flag_choices.h"
@@ -1,6 +1,6 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -5206,7 +5206,13 @@ const FeatureEntry::FeatureVariation kPr
@@ -5221,7 +5221,13 @@ const FeatureEntry::FeatureVariation kPr
// calculate and verify checksum.
//
// When adding a new choice, add it to the end of the list.
+1 -1
View File
@@ -1 +1 @@
4
6