Commit 757d33ed authored by dcheng's avatar dcheng Committed by Commit bot

Move frameBlameContext() accessor to FrameLoaderClient.

Make it clear this is only used for LocalFrames.

Review-Url: https://codereview.chromium.org/2566893003
Cr-Commit-Position: refs/heads/master@{#437919}
parent baf304cf
......@@ -35,8 +35,6 @@ class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> {
virtual void frameFocused() const = 0;
virtual BlameContext* frameBlameContext() { return nullptr; }
virtual ~FrameClient() {}
DEFINE_INLINE_VIRTUAL_TRACE() {}
......
......@@ -342,6 +342,8 @@ class CORE_EXPORT FrameLoaderClient : public FrameClient {
// Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
// returned if the URL is not overriden.
virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
virtual BlameContext* frameBlameContext() { return nullptr; }
};
} // 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