summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-11 11:32:04 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-18 13:40:17 +0000
commit31ccca0778db85c159634478b4ec7997f6704860 (patch)
tree3d33fc3afd9d5ec95541e1bbe074a9cf8da12a0e /chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc
parent248b70b82a40964d5594eb04feca0fa36716185d (diff)
downloadqtwebengine-chromium-31ccca0778db85c159634478b4ec7997f6704860.tar.gz
BASELINE: Update Chromium to 80.0.3987.136
Change-Id: I98e1649aafae85ba3a83e67af00bb27ef301db7b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc30
1 files changed, 6 insertions, 24 deletions
diff --git a/chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc b/chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc
index b42a46675f4..2e0089d39e8 100644
--- a/chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc
+++ b/chromium/third_party/blink/renderer/core/frame/remote_frame_client_impl.cc
@@ -91,11 +91,6 @@ Frame* RemoteFrameClientImpl::FirstChild() const {
return ToCoreFrame(web_frame_->FirstChild());
}
-void RemoteFrameClientImpl::FrameFocused() const {
- if (web_frame_->Client())
- web_frame_->Client()->FrameFocused();
-}
-
base::UnguessableToken RemoteFrameClientImpl::GetDevToolsFrameToken() const {
if (web_frame_->Client()) {
return web_frame_->Client()->GetDevToolsFrameToken();
@@ -110,15 +105,14 @@ void RemoteFrameClientImpl::Navigate(
bool has_download_sandbox_flag,
bool initiator_frame_is_ad,
mojo::PendingRemote<mojom::blink::BlobURLToken> blob_url_token) {
- bool blocking_downloads_in_sandbox_without_user_activation_enabled =
- RuntimeEnabledFeatures::
- BlockingDownloadsInSandboxWithoutUserActivationEnabled();
+ bool blocking_downloads_in_sandbox_enabled =
+ RuntimeEnabledFeatures::BlockingDownloadsInSandboxEnabled();
if (web_frame_->Client()) {
web_frame_->Client()->Navigate(
WrappedResourceRequest(request), should_replace_current_entry,
is_opener_navigation, has_download_sandbox_flag,
- blocking_downloads_in_sandbox_without_user_activation_enabled,
- initiator_frame_is_ad, blob_url_token.PassPipe());
+ blocking_downloads_in_sandbox_enabled, initiator_frame_is_ad,
+ blob_url_token.PassPipe());
}
}
@@ -152,10 +146,8 @@ void RemoteFrameClientImpl::FrameRectsChanged(
}
void RemoteFrameClientImpl::UpdateRemoteViewportIntersection(
- const IntRect& viewport_intersection,
- FrameOcclusionState occlusion_state) {
- web_frame_->Client()->UpdateRemoteViewportIntersection(viewport_intersection,
- occlusion_state);
+ const ViewportIntersectionState& intersection_state) {
+ web_frame_->Client()->UpdateRemoteViewportIntersection(intersection_state);
}
void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type,
@@ -164,20 +156,10 @@ void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type,
WebLocalFrameImpl::FromFrame(source));
}
-void RemoteFrameClientImpl::VisibilityChanged(
- blink::mojom::FrameVisibility visibility) {
- web_frame_->Client()->VisibilityChanged(visibility);
-}
-
void RemoteFrameClientImpl::SetIsInert(bool inert) {
web_frame_->Client()->SetIsInert(inert);
}
-void RemoteFrameClientImpl::SetInheritedEffectiveTouchAction(
- TouchAction touch_action) {
- web_frame_->Client()->SetInheritedEffectiveTouchAction(touch_action);
-}
-
void RemoteFrameClientImpl::UpdateRenderThrottlingStatus(
bool is_throttled,
bool subtree_throttled) {