mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 138.0.7204.0 (#1465706)
Mac: Require Xcode 16.3 (16E140) and SDK 15.4 (24E241)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git third_party/blink/public/web/web_view.h third_party/blink/public/web/web_view.h
|
||||
index b1689844282d6..a4288bf5d3ba2 100644
|
||||
index 7c1eb9baabfb9..30761c0906087 100644
|
||||
--- third_party/blink/public/web/web_view.h
|
||||
+++ third_party/blink/public/web/web_view.h
|
||||
@@ -344,6 +344,7 @@ class BLINK_EXPORT WebView {
|
||||
@@ -343,6 +343,7 @@ class BLINK_EXPORT WebView {
|
||||
|
||||
// Sets whether select popup menus should be rendered by the browser.
|
||||
static void SetUseExternalPopupMenus(bool);
|
||||
@@ -10,7 +10,7 @@ index b1689844282d6..a4288bf5d3ba2 100644
|
||||
|
||||
// Cancels and hides the current popup (datetime, select...) if any.
|
||||
virtual void CancelPagePopup() = 0;
|
||||
@@ -486,6 +487,11 @@ class BLINK_EXPORT WebView {
|
||||
@@ -485,6 +486,11 @@ class BLINK_EXPORT WebView {
|
||||
virtual void SetPageAttributionSupport(
|
||||
network::mojom::AttributionSupport support) = 0;
|
||||
|
||||
@@ -23,10 +23,10 @@ index b1689844282d6..a4288bf5d3ba2 100644
|
||||
~WebView() = default;
|
||||
};
|
||||
diff --git third_party/blink/renderer/core/exported/web_view_impl.cc third_party/blink/renderer/core/exported/web_view_impl.cc
|
||||
index 1af1fa035b3da..f92d9b70fbd32 100644
|
||||
index feba9635b4066..c512154ada654 100644
|
||||
--- third_party/blink/renderer/core/exported/web_view_impl.cc
|
||||
+++ third_party/blink/renderer/core/exported/web_view_impl.cc
|
||||
@@ -257,8 +257,13 @@ void WebView::SetUseExternalPopupMenus(bool use_external_popup_menus) {
|
||||
@@ -258,8 +258,13 @@ void WebView::SetUseExternalPopupMenus(bool use_external_popup_menus) {
|
||||
g_should_use_external_popup_menus = use_external_popup_menus;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ index 1af1fa035b3da..f92d9b70fbd32 100644
|
||||
}
|
||||
|
||||
namespace {
|
||||
@@ -615,6 +620,7 @@ WebViewImpl::WebViewImpl(
|
||||
@@ -616,6 +621,7 @@ WebViewImpl::WebViewImpl(
|
||||
blink::ZoomFactorToZoomLevel(kMinimumBrowserZoomFactor)),
|
||||
maximum_zoom_level_(
|
||||
blink::ZoomFactorToZoomLevel(kMaximumBrowserZoomFactor)),
|
||||
@@ -51,10 +51,10 @@ index 1af1fa035b3da..f92d9b70fbd32 100644
|
||||
fullscreen_controller_(std::make_unique<FullscreenController>(this)),
|
||||
page_base_background_color_(
|
||||
diff --git third_party/blink/renderer/core/exported/web_view_impl.h third_party/blink/renderer/core/exported/web_view_impl.h
|
||||
index 06f7cf79b4526..e0d395867f552 100644
|
||||
index eaa593b41ec2e..25328ea602056 100644
|
||||
--- third_party/blink/renderer/core/exported/web_view_impl.h
|
||||
+++ third_party/blink/renderer/core/exported/web_view_impl.h
|
||||
@@ -140,7 +140,8 @@ class CORE_EXPORT WebViewImpl final : public WebView,
|
||||
@@ -139,7 +139,8 @@ class CORE_EXPORT WebViewImpl final : public WebView,
|
||||
static HashSet<WebViewImpl*>& AllInstances();
|
||||
// Returns true if popup menus should be rendered by the browser, false if
|
||||
// they should be rendered by WebKit (which is the default).
|
||||
@@ -97,7 +97,7 @@ index 06f7cf79b4526..e0d395867f552 100644
|
||||
base::ObserverList<WebViewObserver> observers_;
|
||||
};
|
||||
diff --git third_party/blink/renderer/core/frame/local_dom_window.cc third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||
index de39a688207f8..41e5ffcfd5e09 100644
|
||||
index 23e8b0820df25..bcccbe2d61b96 100644
|
||||
--- third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||
+++ third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||
@@ -52,6 +52,7 @@
|
||||
@@ -116,7 +116,7 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
#include "third_party/blink/renderer/core/html/custom/custom_element_registry.h"
|
||||
#include "third_party/blink/renderer/core/html/fenced_frame/fence.h"
|
||||
#include "third_party/blink/renderer/core/html/forms/form_controller.h"
|
||||
@@ -1922,8 +1924,9 @@ void LocalDOMWindow::moveBy(int x, int y) const {
|
||||
@@ -1960,8 +1962,9 @@ void LocalDOMWindow::moveBy(int x, int y) const {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
|
||||
LocalFrame* frame = GetFrame();
|
||||
Page* page = frame->GetPage();
|
||||
@@ -1943,8 +1946,9 @@ void LocalDOMWindow::moveTo(int x, int y) const {
|
||||
@@ -1981,8 +1984,9 @@ void LocalDOMWindow::moveTo(int x, int y) const {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
|
||||
LocalFrame* frame = GetFrame();
|
||||
Page* page = frame->GetPage();
|
||||
@@ -1967,7 +1971,8 @@ void LocalDOMWindow::resizeBy(int x,
|
||||
@@ -2005,7 +2009,8 @@ void LocalDOMWindow::resizeBy(int x,
|
||||
}
|
||||
|
||||
if (IsPictureInPictureWindow()) {
|
||||
@@ -148,7 +148,7 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
exception_state.ThrowDOMException(
|
||||
DOMExceptionCode::kNotAllowedError,
|
||||
"resizeBy() requires user activation in document picture-in-picture");
|
||||
@@ -1995,7 +2000,8 @@ void LocalDOMWindow::resizeTo(int width,
|
||||
@@ -2033,7 +2038,8 @@ void LocalDOMWindow::resizeTo(int width,
|
||||
}
|
||||
|
||||
if (IsPictureInPictureWindow()) {
|
||||
@@ -158,7 +158,7 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
exception_state.ThrowDOMException(
|
||||
DOMExceptionCode::kNotAllowedError,
|
||||
"resizeTo() requires user activation in document picture-in-picture");
|
||||
@@ -2464,6 +2470,12 @@ DOMWindow* LocalDOMWindow::openPictureInPictureWindow(
|
||||
@@ -2502,6 +2508,12 @@ DOMWindow* LocalDOMWindow::openPictureInPictureWindow(
|
||||
To<LocalDOMWindow>(result.frame->DomWindow());
|
||||
pip_dom_window->SetIsPictureInPictureWindow();
|
||||
|
||||
@@ -172,10 +172,10 @@ index de39a688207f8..41e5ffcfd5e09 100644
|
||||
pip_dom_window->document()->SetCompatibilityMode(
|
||||
entered_window->document()->GetCompatibilityMode());
|
||||
diff --git third_party/blink/renderer/core/frame/local_dom_window.h third_party/blink/renderer/core/frame/local_dom_window.h
|
||||
index 615d1851fa041..a97811623a2e2 100644
|
||||
index 6856371c0729b..c851a94235306 100644
|
||||
--- third_party/blink/renderer/core/frame/local_dom_window.h
|
||||
+++ third_party/blink/renderer/core/frame/local_dom_window.h
|
||||
@@ -566,6 +566,11 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
|
||||
@@ -582,6 +582,11 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
|
||||
|
||||
void SetIsPictureInPictureWindow();
|
||||
|
||||
@@ -187,7 +187,7 @@ index 615d1851fa041..a97811623a2e2 100644
|
||||
// Return the viewport size including scrollbars.
|
||||
gfx::Size GetViewportSize() const;
|
||||
|
||||
@@ -668,6 +673,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
|
||||
@@ -686,6 +691,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
|
||||
// https://wicg.github.io/document-picture-in-picture/
|
||||
bool is_picture_in_picture_window_ = false;
|
||||
|
||||
@@ -197,7 +197,7 @@ index 615d1851fa041..a97811623a2e2 100644
|
||||
// like bfcache navigation or soft navigation. It changes when navigations
|
||||
// of these types occur.
|
||||
diff --git third_party/blink/renderer/core/page/chrome_client_impl.cc third_party/blink/renderer/core/page/chrome_client_impl.cc
|
||||
index e3888bb31414a..78dfff2048a67 100644
|
||||
index 72629f0c1af11..6100502a214ac 100644
|
||||
--- third_party/blink/renderer/core/page/chrome_client_impl.cc
|
||||
+++ third_party/blink/renderer/core/page/chrome_client_impl.cc
|
||||
@@ -1002,7 +1002,7 @@ PopupMenu* ChromeClientImpl::OpenPopupMenu(LocalFrame& frame,
|
||||
|
Reference in New Issue
Block a user