Commit 9c58d1c3 authored by Stefan Zager's avatar Stefan Zager Committed by Chromium LUCI CQ

Delete unused class EmptyRemoteFrameClient

Change-Id: I40207e26b973cf669b0a45b4215c486e2bcc29fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617057
Auto-Submit: Stefan Zager <szager@chromium.org>
Commit-Queue: Nate Chapin <japhet@chromium.org>
Reviewed-by: default avatarNate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842633}
parent 7a9374b4
...@@ -184,6 +184,4 @@ EmptyLocalFrameClient::CreateServiceWorkerProvider() { ...@@ -184,6 +184,4 @@ EmptyLocalFrameClient::CreateServiceWorkerProvider() {
return nullptr; return nullptr;
} }
EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default;
} // namespace blink } // namespace blink
...@@ -400,37 +400,6 @@ class EmptySpellCheckPanelHostClient : public WebSpellCheckPanelHostClient { ...@@ -400,37 +400,6 @@ class EmptySpellCheckPanelHostClient : public WebSpellCheckPanelHostClient {
DISALLOW_COPY_AND_ASSIGN(EmptySpellCheckPanelHostClient); DISALLOW_COPY_AND_ASSIGN(EmptySpellCheckPanelHostClient);
}; };
class CORE_EXPORT EmptyRemoteFrameClient : public RemoteFrameClient {
public:
EmptyRemoteFrameClient();
// RemoteFrameClient implementation.
void Navigate(const ResourceRequest&,
blink::WebLocalFrame* initiator_frame,
bool should_replace_current_entry,
bool is_opener_navigation,
bool initiator_frame_has_download_sandbox_flag,
bool initiator_frame_is_ad,
mojo::PendingRemote<mojom::blink::BlobURLToken>,
const base::Optional<WebImpression>&) override {}
unsigned BackForwardLength() override { return 0; }
void FrameRectsChanged(const IntRect& local_frame_rect,
const IntRect& transformed_frame_rect) override {}
void SynchronizeVisualProperties() override {}
AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override {
return AssociatedInterfaceProvider::GetEmptyAssociatedInterfaceProvider();
}
// FrameClient implementation.
bool InShadowTree() const override { return false; }
void Detached(FrameDetachType) override {}
base::UnguessableToken GetDevToolsFrameToken() const override {
return base::UnguessableToken::Create();
}
DISALLOW_COPY_AND_ASSIGN(EmptyRemoteFrameClient);
};
CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
} // namespace blink } // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment