mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 69.0.3497.0 (#576753)
This commit is contained in:
@@ -10,10 +10,10 @@ index 92e9cb865204..4628c56882b4 100644
|
||||
+ GetPlugins(bool refresh, bool is_main_frame, url.mojom.Origin main_frame_origin) => (array<PluginInfo> plugins);
|
||||
};
|
||||
diff --git third_party/blink/public/platform/platform.h third_party/blink/public/platform/platform.h
|
||||
index 27c4bdcdfd37..a6773b8093c2 100644
|
||||
index f927253a7e0b..c537ed1b117b 100644
|
||||
--- third_party/blink/public/platform/platform.h
|
||||
+++ third_party/blink/public/platform/platform.h
|
||||
@@ -697,6 +697,11 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||
@@ -710,6 +710,11 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||
// runs during Chromium's build step).
|
||||
virtual bool IsTakingV8ContextSnapshot() { return false; }
|
||||
|
||||
@@ -44,7 +44,7 @@ index a2fbf84747aa..8ab120155ccd 100644
|
||||
.Top()
|
||||
.GetSecurityContext()
|
||||
diff --git third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc
|
||||
index 5494706514d7..6663b2edd897 100644
|
||||
index 976bae9c792b..10fb75b0af57 100644
|
||||
--- third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc
|
||||
+++ third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc
|
||||
@@ -324,6 +324,8 @@ WebDevToolsAgentImpl::Session::Session(
|
||||
@@ -65,10 +65,10 @@ index 5494706514d7..6663b2edd897 100644
|
||||
|
||||
void WebDevToolsAgentImpl::Session::SendProtocolResponse(int session_id,
|
||||
diff --git third_party/blink/renderer/core/frame/local_frame.cc third_party/blink/renderer/core/frame/local_frame.cc
|
||||
index a0aa62ce4632..7d6ebb8b3ee5 100644
|
||||
index 464a41e6f278..7e29a6a66bf4 100644
|
||||
--- third_party/blink/renderer/core/frame/local_frame.cc
|
||||
+++ third_party/blink/renderer/core/frame/local_frame.cc
|
||||
@@ -1250,7 +1250,7 @@ FrameResourceCoordinator* LocalFrame::GetFrameResourceCoordinator() {
|
||||
@@ -1264,7 +1264,7 @@ FrameResourceCoordinator* LocalFrame::GetFrameResourceCoordinator() {
|
||||
PluginData* LocalFrame::GetPluginData() const {
|
||||
if (!Loader().AllowPlugins(kNotAboutToInstantiatePlugin))
|
||||
return nullptr;
|
||||
@@ -78,20 +78,20 @@ index a0aa62ce4632..7d6ebb8b3ee5 100644
|
||||
}
|
||||
|
||||
diff --git third_party/blink/renderer/core/page/page.cc third_party/blink/renderer/core/page/page.cc
|
||||
index c22147fa70b0..f222dcb0820e 100644
|
||||
index 0f42c3e762d3..4836763bfff9 100644
|
||||
--- third_party/blink/renderer/core/page/page.cc
|
||||
+++ third_party/blink/renderer/core/page/page.cc
|
||||
@@ -162,7 +162,8 @@ Page::Page(PageClients& page_clients)
|
||||
visual_viewport_(VisualViewport::Create(*this)),
|
||||
@@ -164,7 +164,8 @@ Page::Page(PageClients& page_clients)
|
||||
overscroll_controller_(
|
||||
OverscrollController::Create(GetVisualViewport(), GetChromeClient())),
|
||||
link_highlights_(LinkHighlights::Create(*this)),
|
||||
- plugin_data_(nullptr),
|
||||
+ plugin_data_main_frame_(nullptr),
|
||||
+ plugin_data_sub_frame_(nullptr),
|
||||
opened_by_dom_(false),
|
||||
tab_key_cycles_through_elements_(true),
|
||||
paused_(false),
|
||||
@@ -324,21 +325,40 @@ void Page::InitialStyleChanged() {
|
||||
@@ -330,21 +331,40 @@ void Page::InitialStyleChanged() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,9 +141,9 @@ index c22147fa70b0..f222dcb0820e 100644
|
||||
page->NotifyPluginsChanged();
|
||||
}
|
||||
}
|
||||
@@ -726,7 +746,8 @@ void Page::Trace(blink::Visitor* visitor) {
|
||||
visitor->Trace(visual_viewport_);
|
||||
@@ -733,7 +753,8 @@ void Page::Trace(blink::Visitor* visitor) {
|
||||
visitor->Trace(overscroll_controller_);
|
||||
visitor->Trace(link_highlights_);
|
||||
visitor->Trace(main_frame_);
|
||||
- visitor->Trace(plugin_data_);
|
||||
+ visitor->Trace(plugin_data_main_frame_);
|
||||
@@ -152,10 +152,10 @@ index c22147fa70b0..f222dcb0820e 100644
|
||||
visitor->Trace(plugins_changed_observers_);
|
||||
visitor->Trace(next_related_page_);
|
||||
diff --git third_party/blink/renderer/core/page/page.h third_party/blink/renderer/core/page/page.h
|
||||
index c2cc3cceb57c..1b3dcd6052f0 100644
|
||||
index 1be040296b6e..d3472a25c1ff 100644
|
||||
--- third_party/blink/renderer/core/page/page.h
|
||||
+++ third_party/blink/renderer/core/page/page.h
|
||||
@@ -137,7 +137,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
|
||||
@@ -138,7 +138,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
|
||||
ViewportDescription GetViewportDescription() const;
|
||||
|
||||
// Returns the plugin data associated with |main_frame_origin|.
|
||||
@@ -165,9 +165,9 @@ index c2cc3cceb57c..1b3dcd6052f0 100644
|
||||
|
||||
// Resets the plugin data for all pages in the renderer process and notifies
|
||||
// PluginsChangedObservers.
|
||||
@@ -364,7 +365,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
|
||||
const Member<VisualViewport> visual_viewport_;
|
||||
@@ -368,7 +369,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
|
||||
const Member<OverscrollController> overscroll_controller_;
|
||||
const Member<LinkHighlights> link_highlights_;
|
||||
|
||||
- Member<PluginData> plugin_data_;
|
||||
+ Member<PluginData> plugin_data_main_frame_;
|
||||
@@ -176,7 +176,7 @@ index c2cc3cceb57c..1b3dcd6052f0 100644
|
||||
Member<ValidationMessageClient> validation_message_client_;
|
||||
|
||||
diff --git third_party/blink/renderer/platform/plugins/plugin_data.cc third_party/blink/renderer/platform/plugins/plugin_data.cc
|
||||
index 0ae2fafa2498..1ed863662584 100644
|
||||
index 02d54d5f2dbf..0b2b11e601c6 100644
|
||||
--- third_party/blink/renderer/platform/plugins/plugin_data.cc
|
||||
+++ third_party/blink/renderer/platform/plugins/plugin_data.cc
|
||||
@@ -88,10 +88,12 @@ void PluginData::RefreshBrowserSidePluginCache() {
|
||||
@@ -194,12 +194,12 @@ index 0ae2fafa2498..1ed863662584 100644
|
||||
ResetPluginData();
|
||||
main_frame_origin_ = main_frame_origin;
|
||||
|
||||
@@ -99,7 +101,7 @@ void PluginData::UpdatePluginList(const SecurityOrigin* main_frame_origin) {
|
||||
@@ -106,7 +108,7 @@ void PluginData::UpdatePluginList(const SecurityOrigin* main_frame_origin) {
|
||||
Platform::Current()->GetInterfaceProvider()->GetInterface(
|
||||
mojo::MakeRequest(®istry));
|
||||
Vector<mojom::blink::PluginInfoPtr> plugins;
|
||||
- registry->GetPlugins(false, main_frame_origin_, &plugins);
|
||||
+ registry->GetPlugins(false, is_main_frame, main_frame_origin_, &plugins);
|
||||
- registry->GetPlugins(false, legacy_origin, &plugins);
|
||||
+ registry->GetPlugins(false, is_main_frame, legacy_origin, &plugins);
|
||||
for (const auto& plugin : plugins) {
|
||||
auto* plugin_info =
|
||||
new PluginInfo(plugin->name, FilePathToWebString(plugin->filename),
|
||||
|
Reference in New Issue
Block a user