Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browsing_instance.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 3cfb080801899eead43a67572ba0cd296cbe7053..729de041fd506586db7db31f4884362db50ac01e 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -370,6 +370,12 @@ class CONTENT_EXPORT ContentRendererClient {
// Returns true if the media pipeline can be suspended, or false otherwise.
virtual bool AllowMediaSuspend();
+
+ // 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 blink::WebFrame* FindFrame(blink::WebLocalFrame* relative_to_frame,
+ const std::string& name);
};
} // namespace content
« no previous file with comments | « content/browser/browsing_instance.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698