mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-27 01:17:43 +01:00
Update to Chromium version 115.0.5790.99
This commit is contained in:
parent
75c3bf0480
commit
aa348cb3de
@ -7,6 +7,6 @@
|
|||||||
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
||||||
|
|
||||||
{
|
{
|
||||||
'chromium_checkout': 'refs/tags/115.0.5790.40',
|
'chromium_checkout': 'refs/tags/115.0.5790.99',
|
||||||
'depot_tools_checkout': 'df2f11113c'
|
'depot_tools_checkout': 'df2f11113c'
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ index 2480282a19d12..dbd1fbf8a15b5 100644
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
diff --git chrome/browser/ui/BUILD.gn chrome/browser/ui/BUILD.gn
|
diff --git chrome/browser/ui/BUILD.gn chrome/browser/ui/BUILD.gn
|
||||||
index 742bcf66760a6..43aef26f3768a 100644
|
index 7a0b2dd74a3be..370dc999ebe4f 100644
|
||||||
--- chrome/browser/ui/BUILD.gn
|
--- chrome/browser/ui/BUILD.gn
|
||||||
+++ chrome/browser/ui/BUILD.gn
|
+++ chrome/browser/ui/BUILD.gn
|
||||||
@@ -9,6 +9,7 @@ import("//build/config/compiler/compiler.gni")
|
@@ -9,6 +9,7 @@ import("//build/config/compiler/compiler.gni")
|
||||||
@ -61,7 +61,7 @@ index 742bcf66760a6..43aef26f3768a 100644
|
|||||||
"views/apps/app_info_dialog/app_info_dialog_container.cc",
|
"views/apps/app_info_dialog/app_info_dialog_container.cc",
|
||||||
"views/apps/app_info_dialog/app_info_dialog_container.h",
|
"views/apps/app_info_dialog/app_info_dialog_container.h",
|
||||||
"views/apps/app_info_dialog/app_info_dialog_views.cc",
|
"views/apps/app_info_dialog/app_info_dialog_views.cc",
|
||||||
@@ -6084,6 +6090,7 @@ static_library("ui") {
|
@@ -6086,6 +6092,7 @@ static_library("ui") {
|
||||||
if (enable_printing) {
|
if (enable_printing) {
|
||||||
deps += [
|
deps += [
|
||||||
"//components/printing/browser",
|
"//components/printing/browser",
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git chrome/browser/renderer_context_menu/render_view_context_menu.cc chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
diff --git chrome/browser/renderer_context_menu/render_view_context_menu.cc chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
||||||
index 7e25c4f0656fa..446075c9dfaf7 100644
|
index 216e16410ba43..fabdee75267a3 100644
|
||||||
--- chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
--- chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
||||||
+++ chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
+++ chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
||||||
@@ -322,6 +322,13 @@ base::OnceCallback<void(RenderViewContextMenu*)>* GetMenuShownCallback() {
|
@@ -324,6 +324,13 @@ base::OnceCallback<void(RenderViewContextMenu*)>* GetMenuShownCallback() {
|
||||||
return callback.get();
|
return callback.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ index 7e25c4f0656fa..446075c9dfaf7 100644
|
|||||||
enum class UmaEnumIdLookupType {
|
enum class UmaEnumIdLookupType {
|
||||||
GeneralEnumId,
|
GeneralEnumId,
|
||||||
ContextSpecificEnumId,
|
ContextSpecificEnumId,
|
||||||
@@ -568,6 +575,10 @@ int FindUMAEnumValueForCommand(int id, UmaEnumIdLookupType type) {
|
@@ -570,6 +577,10 @@ int FindUMAEnumValueForCommand(int id, UmaEnumIdLookupType type) {
|
||||||
if (ContextMenuMatcher::IsExtensionsCustomCommandId(id))
|
if (ContextMenuMatcher::IsExtensionsCustomCommandId(id))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ index 7e25c4f0656fa..446075c9dfaf7 100644
|
|||||||
id = CollapseCommandsForUMA(id);
|
id = CollapseCommandsForUMA(id);
|
||||||
const auto& map = GetIdcToUmaMap(type);
|
const auto& map = GetIdcToUmaMap(type);
|
||||||
auto it = map.find(id);
|
auto it = map.find(id);
|
||||||
@@ -808,6 +819,14 @@ RenderViewContextMenu::RenderViewContextMenu(
|
@@ -810,6 +821,14 @@ RenderViewContextMenu::RenderViewContextMenu(
|
||||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||||
pdf_ocr_submenu_model_ = std::make_unique<ui::SimpleMenuModel>(this);
|
pdf_ocr_submenu_model_ = std::make_unique<ui::SimpleMenuModel>(this);
|
||||||
#endif // BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
#endif // BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||||
@ -42,10 +42,10 @@ index 7e25c4f0656fa..446075c9dfaf7 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
RenderViewContextMenu::~RenderViewContextMenu() = default;
|
RenderViewContextMenu::~RenderViewContextMenu() = default;
|
||||||
@@ -1229,6 +1248,12 @@ void RenderViewContextMenu::InitMenu() {
|
@@ -1244,6 +1263,12 @@ void RenderViewContextMenu::InitMenu() {
|
||||||
// menu, meaning that each menu item added/removed in this function will cause
|
autofill::PopupHidingReason::kContextMenuOpened);
|
||||||
// it to visibly jump on the screen (see b/173569669).
|
}
|
||||||
AppendQuickAnswersItems();
|
}
|
||||||
+
|
+
|
||||||
+ if (first_observer_) {
|
+ if (first_observer_) {
|
||||||
+ // Do this last so that the observer can optionally modify previously
|
+ // Do this last so that the observer can optionally modify previously
|
||||||
@ -55,7 +55,7 @@ index 7e25c4f0656fa..446075c9dfaf7 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
Profile* RenderViewContextMenu::GetProfile() const {
|
Profile* RenderViewContextMenu::GetProfile() const {
|
||||||
@@ -3224,6 +3249,12 @@ void RenderViewContextMenu::RegisterExecutePluginActionCallbackForTesting(
|
@@ -3239,6 +3264,12 @@ void RenderViewContextMenu::RegisterExecutePluginActionCallbackForTesting(
|
||||||
execute_plugin_action_callback_ = std::move(cb);
|
execute_plugin_action_callback_ = std::move(cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ index a3ee1846fcf77..13edaf1203d69 100644
|
|||||||
return raw_otr_profile;
|
return raw_otr_profile;
|
||||||
}
|
}
|
||||||
diff --git chrome/browser/profiles/profile_manager.cc chrome/browser/profiles/profile_manager.cc
|
diff --git chrome/browser/profiles/profile_manager.cc chrome/browser/profiles/profile_manager.cc
|
||||||
index 92dec1c25477c..0723bdb6bc6ad 100644
|
index 9eb766c7a5818..3a66b90b55dd6 100644
|
||||||
--- chrome/browser/profiles/profile_manager.cc
|
--- chrome/browser/profiles/profile_manager.cc
|
||||||
+++ chrome/browser/profiles/profile_manager.cc
|
+++ chrome/browser/profiles/profile_manager.cc
|
||||||
@@ -389,7 +389,7 @@ ProfileManager::ProfileManager(const base::FilePath& user_data_dir)
|
@@ -389,7 +389,7 @@ ProfileManager::ProfileManager(const base::FilePath& user_data_dir)
|
||||||
@ -112,7 +112,7 @@ index 92dec1c25477c..0723bdb6bc6ad 100644
|
|||||||
|
|
||||||
zombie_metrics_timer_.Start(FROM_HERE, base::Minutes(30), this,
|
zombie_metrics_timer_.Start(FROM_HERE, base::Minutes(30), this,
|
||||||
diff --git chrome/browser/profiles/profile_manager.h chrome/browser/profiles/profile_manager.h
|
diff --git chrome/browser/profiles/profile_manager.h chrome/browser/profiles/profile_manager.h
|
||||||
index 60c9fd19fe15b..2a3e317d9c240 100644
|
index 9bb7cd968c95d..bf16634f7dfe8 100644
|
||||||
--- chrome/browser/profiles/profile_manager.h
|
--- chrome/browser/profiles/profile_manager.h
|
||||||
+++ chrome/browser/profiles/profile_manager.h
|
+++ chrome/browser/profiles/profile_manager.h
|
||||||
@@ -130,7 +130,7 @@ class ProfileManager : public Profile::Delegate {
|
@@ -130,7 +130,7 @@ class ProfileManager : public Profile::Delegate {
|
||||||
|
@ -703,10 +703,10 @@ index 2753a95f8ff35..9745477102917 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_view.cc
|
diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
index 4682fa0f74996..099742d04102a 100644
|
index 641236e5f8d88..03d55e77c1e31 100644
|
||||||
--- chrome/browser/ui/views/toolbar/toolbar_view.cc
|
--- chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
+++ chrome/browser/ui/views/toolbar/toolbar_view.cc
|
+++ chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
@@ -175,12 +175,13 @@ constexpr int kBrowserAppMenuRefreshCollapsedMargin = 2;
|
@@ -176,12 +176,13 @@ constexpr int kBrowserAppMenuRefreshCollapsedMargin = 2;
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// ToolbarView, public:
|
// ToolbarView, public:
|
||||||
|
|
||||||
@ -722,7 +722,7 @@ index 4682fa0f74996..099742d04102a 100644
|
|||||||
SetID(VIEW_ID_TOOLBAR);
|
SetID(VIEW_ID_TOOLBAR);
|
||||||
|
|
||||||
if (display_mode_ == DisplayMode::NORMAL) {
|
if (display_mode_ == DisplayMode::NORMAL) {
|
||||||
@@ -202,6 +203,19 @@ ToolbarView::~ToolbarView() {
|
@@ -203,6 +204,19 @@ ToolbarView::~ToolbarView() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ToolbarView::Init() {
|
void ToolbarView::Init() {
|
||||||
@ -742,7 +742,7 @@ index 4682fa0f74996..099742d04102a 100644
|
|||||||
#if defined(USE_AURA)
|
#if defined(USE_AURA)
|
||||||
// Avoid generating too many occlusion tracking calculation events before this
|
// Avoid generating too many occlusion tracking calculation events before this
|
||||||
// function returns. The occlusion status will be computed only once once this
|
// function returns. The occlusion status will be computed only once once this
|
||||||
@@ -211,12 +225,13 @@ void ToolbarView::Init() {
|
@@ -212,12 +226,13 @@ void ToolbarView::Init() {
|
||||||
#endif
|
#endif
|
||||||
auto location_bar = std::make_unique<LocationBarView>(
|
auto location_bar = std::make_unique<LocationBarView>(
|
||||||
browser_, browser_->profile(), browser_->command_controller(), this,
|
browser_, browser_->profile(), browser_->command_controller(), this,
|
||||||
@ -758,7 +758,7 @@ index 4682fa0f74996..099742d04102a 100644
|
|||||||
download_button =
|
download_button =
|
||||||
std::make_unique<DownloadToolbarButtonView>(browser_view_);
|
std::make_unique<DownloadToolbarButtonView>(browser_view_);
|
||||||
}
|
}
|
||||||
@@ -297,8 +312,10 @@ void ToolbarView::Init() {
|
@@ -298,8 +313,10 @@ void ToolbarView::Init() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::unique_ptr<media_router::CastToolbarButton> cast;
|
std::unique_ptr<media_router::CastToolbarButton> cast;
|
||||||
@ -770,7 +770,7 @@ index 4682fa0f74996..099742d04102a 100644
|
|||||||
|
|
||||||
std::unique_ptr<MediaToolbarButtonView> media_button;
|
std::unique_ptr<MediaToolbarButtonView> media_button;
|
||||||
if (base::FeatureList::IsEnabled(media::kGlobalMediaControls)) {
|
if (base::FeatureList::IsEnabled(media::kGlobalMediaControls)) {
|
||||||
@@ -308,7 +325,8 @@ void ToolbarView::Init() {
|
@@ -309,7 +326,8 @@ void ToolbarView::Init() {
|
||||||
|
|
||||||
std::unique_ptr<send_tab_to_self::SendTabToSelfToolbarIconView>
|
std::unique_ptr<send_tab_to_self::SendTabToSelfToolbarIconView>
|
||||||
send_tab_to_self_button;
|
send_tab_to_self_button;
|
||||||
@ -780,15 +780,15 @@ index 4682fa0f74996..099742d04102a 100644
|
|||||||
send_tab_to_self_button =
|
send_tab_to_self_button =
|
||||||
std::make_unique<send_tab_to_self::SendTabToSelfToolbarIconView>(
|
std::make_unique<send_tab_to_self::SendTabToSelfToolbarIconView>(
|
||||||
browser_view_);
|
browser_view_);
|
||||||
@@ -316,7 +334,7 @@ void ToolbarView::Init() {
|
@@ -317,7 +335,7 @@ void ToolbarView::Init() {
|
||||||
|
|
||||||
std::unique_ptr<SidePanelToolbarButton> side_panel_button;
|
std::unique_ptr<SidePanelToolbarButton> side_panel_button;
|
||||||
std::unique_ptr<SidePanelToolbarContainer> side_panel_toolbar_container;
|
std::unique_ptr<SidePanelToolbarContainer> side_panel_toolbar_container;
|
||||||
- if (browser_view_->unified_side_panel()) {
|
- if (browser_view_->unified_side_panel()) {
|
||||||
+ if (browser_view_->unified_side_panel() && BUTTON_VISIBLE(kSidePanel)) {
|
+ if (browser_view_->unified_side_panel() && BUTTON_VISIBLE(kSidePanel)) {
|
||||||
if (base::FeatureList::IsEnabled(
|
if (companion::IsCompanionFeatureEnabled()) {
|
||||||
companion::features::kSidePanelCompanion)) {
|
|
||||||
side_panel_toolbar_container =
|
side_panel_toolbar_container =
|
||||||
|
std::make_unique<SidePanelToolbarContainer>(browser_view_);
|
||||||
diff --git chrome/browser/ui/views/toolbar/toolbar_view.h chrome/browser/ui/views/toolbar/toolbar_view.h
|
diff --git chrome/browser/ui/views/toolbar/toolbar_view.h chrome/browser/ui/views/toolbar/toolbar_view.h
|
||||||
index c38f2b0545d21..fe9a92b2f610c 100644
|
index c38f2b0545d21..fe9a92b2f610c 100644
|
||||||
--- chrome/browser/ui/views/toolbar/toolbar_view.h
|
--- chrome/browser/ui/views/toolbar/toolbar_view.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user