mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-11 09:08:06 +01:00
Update to Chromium version 115.0.5790.24
This commit is contained in:
parent
be022e26bc
commit
ed5af5272d
@ -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.13',
|
'chromium_checkout': 'refs/tags/115.0.5790.24',
|
||||||
'depot_tools_checkout': 'df2f11113c'
|
'depot_tools_checkout': 'df2f11113c'
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git chrome/browser/ui/browser_command_controller.cc chrome/browser/ui/browser_command_controller.cc
|
diff --git chrome/browser/ui/browser_command_controller.cc chrome/browser/ui/browser_command_controller.cc
|
||||||
index c1f28ebc372df..275657f54c517 100644
|
index 28088dd31e26b..e67e8164ed181 100644
|
||||||
--- chrome/browser/ui/browser_command_controller.cc
|
--- chrome/browser/ui/browser_command_controller.cc
|
||||||
+++ chrome/browser/ui/browser_command_controller.cc
|
+++ chrome/browser/ui/browser_command_controller.cc
|
||||||
@@ -395,6 +395,7 @@ bool BrowserCommandController::ExecuteCommandWithDisposition(
|
@@ -406,6 +406,7 @@ bool BrowserCommandController::ExecuteCommandWithDisposition(
|
||||||
// choose to not implement CommandUpdaterDelegate inside this class and
|
// choose to not implement CommandUpdaterDelegate inside this class and
|
||||||
// therefore command_updater_ doesn't have the delegate set).
|
// therefore command_updater_ doesn't have the delegate set).
|
||||||
if (!SupportsCommand(id) || !IsCommandEnabled(id)) {
|
if (!SupportsCommand(id) || !IsCommandEnabled(id)) {
|
||||||
@ -10,7 +10,7 @@ index c1f28ebc372df..275657f54c517 100644
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -411,6 +412,13 @@ bool BrowserCommandController::ExecuteCommandWithDisposition(
|
@@ -422,6 +423,13 @@ bool BrowserCommandController::ExecuteCommandWithDisposition(
|
||||||
DCHECK(command_updater_.IsCommandEnabled(id))
|
DCHECK(command_updater_.IsCommandEnabled(id))
|
||||||
<< "Invalid/disabled command " << id;
|
<< "Invalid/disabled command " << id;
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ index c1f28ebc372df..275657f54c517 100644
|
|||||||
// The order of commands in this switch statement must match the function
|
// The order of commands in this switch statement must match the function
|
||||||
// declaration order in browser.h!
|
// declaration order in browser.h!
|
||||||
switch (id) {
|
switch (id) {
|
||||||
@@ -1102,11 +1110,13 @@ void BrowserCommandController::TabRestoreServiceLoaded(
|
@@ -1113,11 +1121,13 @@ void BrowserCommandController::TabRestoreServiceLoaded(
|
||||||
// BrowserCommandController, private:
|
// BrowserCommandController, private:
|
||||||
|
|
||||||
bool BrowserCommandController::IsShowingMainUI() {
|
bool BrowserCommandController::IsShowingMainUI() {
|
||||||
@ -371,7 +371,7 @@ index 795f057fedc51..54b08509919af 100644
|
|||||||
BrowserFrame(const BrowserFrame&) = delete;
|
BrowserFrame(const BrowserFrame&) = delete;
|
||||||
BrowserFrame& operator=(const BrowserFrame&) = delete;
|
BrowserFrame& operator=(const BrowserFrame&) = delete;
|
||||||
diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view.cc
|
diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view.cc
|
||||||
index 39a1660cae03a..0faf50eb14298 100644
|
index bd940fc19123c..c31d4c8fb90fb 100644
|
||||||
--- chrome/browser/ui/views/frame/browser_view.cc
|
--- chrome/browser/ui/views/frame/browser_view.cc
|
||||||
+++ chrome/browser/ui/views/frame/browser_view.cc
|
+++ chrome/browser/ui/views/frame/browser_view.cc
|
||||||
@@ -314,11 +314,10 @@ using content::NativeWebKeyboardEvent;
|
@@ -314,11 +314,10 @@ using content::NativeWebKeyboardEvent;
|
||||||
@ -439,7 +439,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
|
|
||||||
contents_separator_ =
|
contents_separator_ =
|
||||||
top_container_->AddChildView(std::make_unique<ContentsSeparator>());
|
top_container_->AddChildView(std::make_unique<ContentsSeparator>());
|
||||||
@@ -1087,12 +1103,14 @@ gfx::Size BrowserView::GetWebAppFrameToolbarPreferredSize() const {
|
@@ -1082,12 +1098,14 @@ gfx::Size BrowserView::GetWebAppFrameToolbarPreferredSize() const {
|
||||||
|
|
||||||
#if BUILDFLAG(IS_MAC)
|
#if BUILDFLAG(IS_MAC)
|
||||||
bool BrowserView::UsesImmersiveFullscreenMode() const {
|
bool BrowserView::UsesImmersiveFullscreenMode() const {
|
||||||
@ -456,7 +456,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserView::UsesImmersiveFullscreenTabbedMode() const {
|
bool BrowserView::UsesImmersiveFullscreenTabbedMode() const {
|
||||||
@@ -1817,6 +1835,8 @@ bool BrowserView::ShouldHideUIForFullscreen() const {
|
@@ -1812,6 +1830,8 @@ bool BrowserView::ShouldHideUIForFullscreen() const {
|
||||||
if (immersive_mode_controller_->IsEnabled())
|
if (immersive_mode_controller_->IsEnabled())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -465,7 +465,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
return frame_->GetFrameView()->ShouldHideTopUIForFullscreen();
|
return frame_->GetFrameView()->ShouldHideTopUIForFullscreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2722,7 +2742,8 @@ DownloadShelf* BrowserView::GetDownloadShelf() {
|
@@ -2711,7 +2731,8 @@ DownloadShelf* BrowserView::GetDownloadShelf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
DownloadBubbleUIController* BrowserView::GetDownloadBubbleUIController() {
|
DownloadBubbleUIController* BrowserView::GetDownloadBubbleUIController() {
|
||||||
@ -475,7 +475,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
if (auto* download_button = toolbar_button_provider_->GetDownloadButton())
|
if (auto* download_button = toolbar_button_provider_->GetDownloadButton())
|
||||||
return download_button->bubble_controller();
|
return download_button->bubble_controller();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
@@ -3222,7 +3243,8 @@ void BrowserView::ReparentTopContainerForEndOfImmersive() {
|
@@ -3211,7 +3232,8 @@ void BrowserView::ReparentTopContainerForEndOfImmersive() {
|
||||||
if (top_container()->parent() == this)
|
if (top_container()->parent() == this)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -485,7 +485,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
top_container()->DestroyLayer();
|
top_container()->DestroyLayer();
|
||||||
AddChildViewAt(top_container(), 0);
|
AddChildViewAt(top_container(), 0);
|
||||||
EnsureFocusOrder();
|
EnsureFocusOrder();
|
||||||
@@ -3776,8 +3798,10 @@ void BrowserView::Layout() {
|
@@ -3765,8 +3787,10 @@ void BrowserView::Layout() {
|
||||||
|
|
||||||
// TODO(jamescook): Why was this in the middle of layout code?
|
// TODO(jamescook): Why was this in the middle of layout code?
|
||||||
toolbar_->location_bar()->omnibox_view()->SetFocusBehavior(
|
toolbar_->location_bar()->omnibox_view()->SetFocusBehavior(
|
||||||
@ -498,7 +498,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
|
|
||||||
// Some of the situations when the BrowserView is laid out are:
|
// Some of the situations when the BrowserView is laid out are:
|
||||||
// - Enter/exit immersive fullscreen mode.
|
// - Enter/exit immersive fullscreen mode.
|
||||||
@@ -3843,6 +3867,11 @@ void BrowserView::AddedToWidget() {
|
@@ -3832,6 +3856,11 @@ void BrowserView::AddedToWidget() {
|
||||||
SetThemeProfileForWindow(GetNativeWindow(), browser_->profile());
|
SetThemeProfileForWindow(GetNativeWindow(), browser_->profile());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -510,7 +510,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
toolbar_->Init();
|
toolbar_->Init();
|
||||||
|
|
||||||
// TODO(pbos): Investigate whether the side panels should be creatable when
|
// TODO(pbos): Investigate whether the side panels should be creatable when
|
||||||
@@ -3889,13 +3918,9 @@ void BrowserView::AddedToWidget() {
|
@@ -3879,13 +3908,9 @@ void BrowserView::AddedToWidget() {
|
||||||
|
|
||||||
EnsureFocusOrder();
|
EnsureFocusOrder();
|
||||||
|
|
||||||
@ -526,7 +526,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
using_native_frame_ = frame_->ShouldUseNativeFrame();
|
using_native_frame_ = frame_->ShouldUseNativeFrame();
|
||||||
|
|
||||||
MaybeInitializeWebUITabStrip();
|
MaybeInitializeWebUITabStrip();
|
||||||
@@ -4300,7 +4325,8 @@ void BrowserView::ProcessFullscreen(bool fullscreen,
|
@@ -4290,7 +4315,8 @@ void BrowserView::ProcessFullscreen(bool fullscreen,
|
||||||
// Undo our anti-jankiness hacks and force a re-layout.
|
// Undo our anti-jankiness hacks and force a re-layout.
|
||||||
in_process_fullscreen_ = false;
|
in_process_fullscreen_ = false;
|
||||||
ToolbarSizeChanged(false);
|
ToolbarSizeChanged(false);
|
||||||
@ -536,7 +536,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
|
bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
|
||||||
@@ -4671,6 +4697,8 @@ Profile* BrowserView::GetProfile() {
|
@@ -4661,6 +4687,8 @@ Profile* BrowserView::GetProfile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserView::UpdateUIForTabFullscreen() {
|
void BrowserView::UpdateUIForTabFullscreen() {
|
||||||
@ -545,7 +545,7 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
frame()->GetFrameView()->UpdateFullscreenTopUI();
|
frame()->GetFrameView()->UpdateFullscreenTopUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4693,6 +4721,8 @@ void BrowserView::HideDownloadShelf() {
|
@@ -4683,6 +4711,8 @@ void BrowserView::HideDownloadShelf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserView::CanUserExitFullscreen() const {
|
bool BrowserView::CanUserExitFullscreen() const {
|
||||||
@ -555,10 +555,10 @@ index 39a1660cae03a..0faf50eb14298 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
|
diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
|
||||||
index 3e812382f77e6..d821b03bfa510 100644
|
index b9bb37f29425c..4b36ea92a74a2 100644
|
||||||
--- chrome/browser/ui/views/frame/browser_view.h
|
--- chrome/browser/ui/views/frame/browser_view.h
|
||||||
+++ chrome/browser/ui/views/frame/browser_view.h
|
+++ chrome/browser/ui/views/frame/browser_view.h
|
||||||
@@ -124,11 +124,16 @@ class BrowserView : public BrowserWindow,
|
@@ -123,11 +123,16 @@ class BrowserView : public BrowserWindow,
|
||||||
public webapps::AppBannerManager::Observer {
|
public webapps::AppBannerManager::Observer {
|
||||||
public:
|
public:
|
||||||
METADATA_HEADER(BrowserView);
|
METADATA_HEADER(BrowserView);
|
||||||
@ -575,7 +575,7 @@ index 3e812382f77e6..d821b03bfa510 100644
|
|||||||
void set_frame(BrowserFrame* frame) {
|
void set_frame(BrowserFrame* frame) {
|
||||||
frame_ = frame;
|
frame_ = frame;
|
||||||
paint_as_active_subscription_ =
|
paint_as_active_subscription_ =
|
||||||
@@ -783,6 +788,12 @@ class BrowserView : public BrowserWindow,
|
@@ -777,6 +782,12 @@ class BrowserView : public BrowserWindow,
|
||||||
return web_app_frame_toolbar();
|
return web_app_frame_toolbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,10 +34,10 @@ index 4438dea521489..987aa9714bd1c 100644
|
|||||||
factory = base::MakeRefCounted<network::WrapperSharedURLLoaderFactory>(
|
factory = base::MakeRefCounted<network::WrapperSharedURLLoaderFactory>(
|
||||||
std::move(loader_factory));
|
std::move(loader_factory));
|
||||||
diff --git content/public/browser/content_browser_client.cc content/public/browser/content_browser_client.cc
|
diff --git content/public/browser/content_browser_client.cc content/public/browser/content_browser_client.cc
|
||||||
index a5ea7baed1f09..8f3f679aed305 100644
|
index 1c459729c7c90..173c162c9923b 100644
|
||||||
--- content/public/browser/content_browser_client.cc
|
--- content/public/browser/content_browser_client.cc
|
||||||
+++ content/public/browser/content_browser_client.cc
|
+++ content/public/browser/content_browser_client.cc
|
||||||
@@ -986,7 +986,7 @@ ContentBrowserClient::CreateURLLoaderHandlerForServiceWorkerNavigationPreload(
|
@@ -990,7 +990,7 @@ ContentBrowserClient::CreateURLLoaderHandlerForServiceWorkerNavigationPreload(
|
||||||
void ContentBrowserClient::OnNetworkServiceCreated(
|
void ContentBrowserClient::OnNetworkServiceCreated(
|
||||||
network::mojom::NetworkService* network_service) {}
|
network::mojom::NetworkService* network_service) {}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ index a5ea7baed1f09..8f3f679aed305 100644
|
|||||||
BrowserContext* context,
|
BrowserContext* context,
|
||||||
bool in_memory,
|
bool in_memory,
|
||||||
const base::FilePath& relative_partition_path,
|
const base::FilePath& relative_partition_path,
|
||||||
@@ -995,6 +995,7 @@ void ContentBrowserClient::ConfigureNetworkContextParams(
|
@@ -999,6 +999,7 @@ void ContentBrowserClient::ConfigureNetworkContextParams(
|
||||||
cert_verifier_creation_params) {
|
cert_verifier_creation_params) {
|
||||||
network_context_params->user_agent = GetUserAgentBasedOnPolicy(context);
|
network_context_params->user_agent = GetUserAgentBasedOnPolicy(context);
|
||||||
network_context_params->accept_language = "en-us,en";
|
network_context_params->accept_language = "en-us,en";
|
||||||
@ -55,7 +55,7 @@ index a5ea7baed1f09..8f3f679aed305 100644
|
|||||||
|
|
||||||
std::vector<base::FilePath>
|
std::vector<base::FilePath>
|
||||||
diff --git content/public/browser/content_browser_client.h content/public/browser/content_browser_client.h
|
diff --git content/public/browser/content_browser_client.h content/public/browser/content_browser_client.h
|
||||||
index 3db43fde00af4..1be6b3926fcd3 100644
|
index 44fbcd7d2dde2..3b7a441c3f596 100644
|
||||||
--- content/public/browser/content_browser_client.h
|
--- content/public/browser/content_browser_client.h
|
||||||
+++ content/public/browser/content_browser_client.h
|
+++ content/public/browser/content_browser_client.h
|
||||||
@@ -37,6 +37,7 @@
|
@@ -37,6 +37,7 @@
|
||||||
@ -66,7 +66,7 @@ index 3db43fde00af4..1be6b3926fcd3 100644
|
|||||||
#include "content/public/common/alternative_error_page_override_info.mojom-forward.h"
|
#include "content/public/common/alternative_error_page_override_info.mojom-forward.h"
|
||||||
#include "content/public/common/page_visibility_state.h"
|
#include "content/public/common/page_visibility_state.h"
|
||||||
#include "content/public/common/window_container_type.mojom-forward.h"
|
#include "content/public/common/window_container_type.mojom-forward.h"
|
||||||
@@ -1815,7 +1816,7 @@ class CONTENT_EXPORT ContentBrowserClient {
|
@@ -1820,7 +1821,7 @@ class CONTENT_EXPORT ContentBrowserClient {
|
||||||
//
|
//
|
||||||
// If |relative_partition_path| is the empty string, it means this needs to
|
// If |relative_partition_path| is the empty string, it means this needs to
|
||||||
// create the default NetworkContext for the BrowserContext.
|
// create the default NetworkContext for the BrowserContext.
|
||||||
@ -75,7 +75,7 @@ index 3db43fde00af4..1be6b3926fcd3 100644
|
|||||||
BrowserContext* context,
|
BrowserContext* context,
|
||||||
bool in_memory,
|
bool in_memory,
|
||||||
const base::FilePath& relative_partition_path,
|
const base::FilePath& relative_partition_path,
|
||||||
@@ -2023,6 +2024,19 @@ class CONTENT_EXPORT ContentBrowserClient {
|
@@ -2028,6 +2029,19 @@ class CONTENT_EXPORT ContentBrowserClient {
|
||||||
RenderFrameHost* initiator_document,
|
RenderFrameHost* initiator_document,
|
||||||
mojo::PendingRemote<network::mojom::URLLoaderFactory>* out_factory);
|
mojo::PendingRemote<network::mojom::URLLoaderFactory>* out_factory);
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ index 3db43fde00af4..1be6b3926fcd3 100644
|
|||||||
// Creates an OverlayWindow to be used for video or Picture-in-Picture.
|
// Creates an OverlayWindow to be used for video or Picture-in-Picture.
|
||||||
// This window will house the content shown when in Picture-in-Picture mode.
|
// This window will house the content shown when in Picture-in-Picture mode.
|
||||||
// This will return a new OverlayWindow.
|
// This will return a new OverlayWindow.
|
||||||
@@ -2079,6 +2093,10 @@ class CONTENT_EXPORT ContentBrowserClient {
|
@@ -2084,6 +2098,10 @@ class CONTENT_EXPORT ContentBrowserClient {
|
||||||
// Used as part of the user agent string.
|
// Used as part of the user agent string.
|
||||||
virtual std::string GetProduct();
|
virtual std::string GetProduct();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user