Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index 8c10ed89b098b371b39cdef7ed728402fbb7eaec..415efbfb2a2959b4142735f4bb30a8714d4fd8b8 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -214,6 +214,11 @@ class BLINK_EXPORT WebFrameClient { |
return nullptr; |
} |
+ // Called when Blink cannot find a frame with the given name in the frame's |
+ // browsing instance. This gives the embedder a chance to return a frame |
+ // from outside of the browsing instance. |
+ virtual WebFrame* FindFrame(const WebString& name) { return nullptr; } |
+ |
// This frame has set its opener to another frame, or disowned the opener |
// if opener is null. See http://html.spec.whatwg.org/#dom-opener. |
virtual void DidChangeOpener(WebFrame*) {} |