Update to Chromium version 127.0.6533.0 (#1313161)

This commit is contained in:
Marshall Greenblatt
2024-06-14 13:01:45 -04:00
parent 4ed13d8c47
commit c44aa35bfc
144 changed files with 877 additions and 910 deletions

View File

@@ -1,8 +1,8 @@
diff --git content/browser/web_contents/web_contents_impl.cc content/browser/web_contents/web_contents_impl.cc
index d08ad3ae25ab3..0979551ef5fcb 100644
index 205a1bb692091..d5cf0a22b11b2 100644
--- content/browser/web_contents/web_contents_impl.cc
+++ content/browser/web_contents/web_contents_impl.cc
@@ -3578,6 +3578,12 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
@@ -3610,6 +3610,12 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
params.main_frame_name, GetOpener(), primary_main_frame_policy,
base::UnguessableToken::Create());
@@ -15,7 +15,7 @@ index d08ad3ae25ab3..0979551ef5fcb 100644
std::unique_ptr<WebContentsViewDelegate> delegate =
GetContentClient()->browser()->GetWebContentsViewDelegate(this);
@@ -3588,6 +3594,7 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
@@ -3620,6 +3626,7 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
view_ = CreateWebContentsView(this, std::move(delegate),
&render_view_host_delegate_view_);
}
@@ -23,7 +23,7 @@ index d08ad3ae25ab3..0979551ef5fcb 100644
CHECK(render_view_host_delegate_view_);
CHECK(view_.get());
@@ -3784,6 +3791,9 @@ void WebContentsImpl::RenderWidgetCreated(
@@ -3816,6 +3823,9 @@ void WebContentsImpl::RenderWidgetCreated(
OPTIONAL_TRACE_EVENT1("content", "WebContentsImpl::RenderWidgetCreated",
"render_widget_host", render_widget_host);
created_widgets_.insert(render_widget_host);
@@ -33,7 +33,7 @@ index d08ad3ae25ab3..0979551ef5fcb 100644
}
void WebContentsImpl::RenderWidgetDeleted(
@@ -4632,6 +4642,15 @@ FrameTree* WebContentsImpl::CreateNewWindow(
@@ -4678,6 +4688,15 @@ FrameTree* WebContentsImpl::CreateNewWindow(
create_params.picture_in_picture_options = *(params.pip_options);
}
@@ -49,7 +49,7 @@ index d08ad3ae25ab3..0979551ef5fcb 100644
// Check whether there is an available prerendered page for this navigation if
// this is not for guest. If it exists, take WebContents pre-created for
// hosting the prerendered page instead of creating new WebContents.
@@ -8955,6 +8974,9 @@ void WebContentsImpl::SetFocusedFrame(FrameTreeNode* node,
@@ -9008,6 +9027,9 @@ void WebContentsImpl::SetFocusedFrame(FrameTreeNode* node,
}
CloseListenerManager::DidChangeFocusedFrame(this);
@@ -58,12 +58,12 @@ index d08ad3ae25ab3..0979551ef5fcb 100644
+ node->current_frame_host());
}
void WebContentsImpl::DidCallFocus() {
FrameTree* WebContentsImpl::GetOwnedPictureInPictureFrameTree() {
diff --git content/public/browser/web_contents.h content/public/browser/web_contents.h
index 629b699461464..04d2008af250f 100644
index 1ee36913ac37c..19b13abaf0679 100644
--- content/public/browser/web_contents.h
+++ content/public/browser/web_contents.h
@@ -104,10 +104,12 @@ class BrowserContext;
@@ -105,10 +105,12 @@ class BrowserContext;
class BrowserPluginGuestDelegate;
class RenderFrameHost;
class RenderViewHost;
@@ -76,7 +76,7 @@ index 629b699461464..04d2008af250f 100644
class WebUI;
struct DropData;
struct MHTMLGenerationParams;
@@ -254,6 +256,10 @@ class WebContents : public PageNavigator,
@@ -255,6 +257,10 @@ class WebContents : public PageNavigator,
network::mojom::WebSandboxFlags starting_sandbox_flags =
network::mojom::WebSandboxFlags::kNone;
@@ -88,7 +88,7 @@ index 629b699461464..04d2008af250f 100644
// the value that'll be returned by GetLastActiveTime(). If this is left
// default initialized then the value is not passed on to the WebContents
diff --git content/public/browser/web_contents_delegate.h content/public/browser/web_contents_delegate.h
index 7c43ffab6a865..608c87ace18d5 100644
index fd851a9347dd6..82abe6dd2fd07 100644
--- content/public/browser/web_contents_delegate.h
+++ content/public/browser/web_contents_delegate.h
@@ -63,9 +63,11 @@ class EyeDropperListener;
@@ -103,7 +103,7 @@ index 7c43ffab6a865..608c87ace18d5 100644
struct ContextMenuParams;
struct DropData;
struct MediaPlayerWatchTime;
@@ -355,6 +357,14 @@ class CONTENT_EXPORT WebContentsDelegate {
@@ -358,6 +360,14 @@ class CONTENT_EXPORT WebContentsDelegate {
const StoragePartitionConfig& partition_config,
SessionStorageNamespace* session_storage_namespace);