mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 121.0.6167.0 (#1233107)
This commit is contained in:
@@ -227,7 +227,8 @@ void AlloyContentRendererClient::RenderThreadStarted() {
|
||||
value.reset(base::SysUTF8ToCFStringRef("false"));
|
||||
}
|
||||
|
||||
CFPreferencesSetAppValue(key, value, kCFPreferencesCurrentApplication);
|
||||
CFPreferencesSetAppValue(key.get(), value.get(),
|
||||
kCFPreferencesCurrentApplication);
|
||||
CFPreferencesAppSynchronize(kCFPreferencesCurrentApplication);
|
||||
}
|
||||
#endif // BUILDFLAG(IS_MAC)
|
||||
@@ -282,7 +283,7 @@ void AlloyContentRendererClient::RenderFrameCreated(
|
||||
->AddInterface<extensions::mojom::MimeHandlerViewContainerManager>(
|
||||
base::BindRepeating(
|
||||
&extensions::MimeHandlerViewContainerManager::BindReceiver,
|
||||
render_frame->GetRoutingID()));
|
||||
base::Unretained(render_frame)));
|
||||
}
|
||||
|
||||
const base::CommandLine* command_line =
|
||||
@@ -335,7 +336,10 @@ bool AlloyContentRendererClient::IsPluginHandledExternally(
|
||||
// not supported. Here it suffices to return false but there should perhaps be
|
||||
// a more unified approach to avoid sending the IPC twice.
|
||||
chrome::mojom::PluginInfoPtr plugin_info = chrome::mojom::PluginInfo::New();
|
||||
ChromeContentRendererClient::GetPluginInfoHost()->GetPluginInfo(
|
||||
mojo::AssociatedRemote<chrome::mojom::PluginInfoHost> plugin_info_host;
|
||||
render_frame->GetRemoteAssociatedInterfaces()->GetInterface(
|
||||
&plugin_info_host);
|
||||
plugin_info_host->GetPluginInfo(
|
||||
original_url, render_frame->GetWebFrame()->Top()->GetSecurityOrigin(),
|
||||
mime_type, &plugin_info);
|
||||
// TODO(ekaramad): Not continuing here due to a disallowed status should take
|
||||
@@ -379,7 +383,10 @@ bool AlloyContentRendererClient::OverrideCreatePlugin(
|
||||
|
||||
GURL url(params.url);
|
||||
chrome::mojom::PluginInfoPtr plugin_info = chrome::mojom::PluginInfo::New();
|
||||
ChromeContentRendererClient::GetPluginInfoHost()->GetPluginInfo(
|
||||
mojo::AssociatedRemote<chrome::mojom::PluginInfoHost> plugin_info_host;
|
||||
render_frame->GetRemoteAssociatedInterfaces()->GetInterface(
|
||||
&plugin_info_host);
|
||||
plugin_info_host->GetPluginInfo(
|
||||
url, render_frame->GetWebFrame()->Top()->GetSecurityOrigin(),
|
||||
orig_mime_type, &plugin_info);
|
||||
*plugin = ChromeContentRendererClient::CreatePlugin(render_frame, params,
|
||||
|
@@ -50,8 +50,8 @@ void AlloyRenderThreadObserver::SetInitialConfiguration(
|
||||
chromeos_listener_receiver,
|
||||
mojo::PendingRemote<content_settings::mojom::ContentSettingsManager>
|
||||
content_settings_manager,
|
||||
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledListener>
|
||||
bound_session_request_throttled_listener) {
|
||||
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledHandler>
|
||||
bound_session_request_throttled_handler) {
|
||||
is_incognito_process_ = is_incognito_process;
|
||||
}
|
||||
|
||||
|
@@ -47,8 +47,8 @@ class AlloyRenderThreadObserver : public content::RenderThreadObserver,
|
||||
chromeos_listener_receiver,
|
||||
mojo::PendingRemote<content_settings::mojom::ContentSettingsManager>
|
||||
content_settings_manager,
|
||||
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledListener>
|
||||
bound_session_request_throttled_listener) override;
|
||||
mojo::PendingRemote<chrome::mojom::BoundSessionRequestThrottledHandler>
|
||||
bound_session_request_throttled_handler) override;
|
||||
void SetConfiguration(chrome::mojom::DynamicParamsPtr params) override;
|
||||
|
||||
void OnRendererConfigurationAssociatedRequest(
|
||||
|
@@ -46,7 +46,7 @@ CefURLLoaderThrottleProviderImpl::Clone() {
|
||||
|
||||
blink::WebVector<std::unique_ptr<blink::URLLoaderThrottle>>
|
||||
CefURLLoaderThrottleProviderImpl::CreateThrottles(
|
||||
int render_frame_id,
|
||||
base::optional_ref<const blink::LocalFrameToken> local_frame_token,
|
||||
const blink::WebURLRequest& request) {
|
||||
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
|
||||
|
||||
|
@@ -30,7 +30,7 @@ class CefURLLoaderThrottleProviderImpl
|
||||
// blink::URLLoaderThrottleProvider implementation.
|
||||
std::unique_ptr<blink::URLLoaderThrottleProvider> Clone() override;
|
||||
blink::WebVector<std::unique_ptr<blink::URLLoaderThrottle>> CreateThrottles(
|
||||
int render_frame_id,
|
||||
base::optional_ref<const blink::LocalFrameToken> local_frame_token,
|
||||
const blink::WebURLRequest& request) override;
|
||||
void SetOnline(bool is_online) override;
|
||||
|
||||
|
@@ -71,7 +71,7 @@ void CefRenderFrameObserver::DidFinishLoad() {
|
||||
}
|
||||
}
|
||||
|
||||
void CefRenderFrameObserver::WillDetach() {
|
||||
void CefRenderFrameObserver::WillDetach(blink::DetachReason detach_reason) {
|
||||
if (frame_) {
|
||||
frame_->OnDetached();
|
||||
frame_ = nullptr;
|
||||
|
@@ -31,7 +31,7 @@ class CefRenderFrameObserver : public content::RenderFrameObserver {
|
||||
void DidCommitProvisionalLoad(ui::PageTransition transition) override;
|
||||
void DidFailProvisionalLoad() override;
|
||||
void DidFinishLoad() override;
|
||||
void WillDetach() override;
|
||||
void WillDetach(blink::DetachReason detach_reason) override;
|
||||
void FocusedElementChanged(const blink::WebElement& element) override;
|
||||
void DraggableRegionsChanged() override;
|
||||
void DidCreateScriptContext(v8::Handle<v8::Context> context,
|
||||
|
Reference in New Issue
Block a user