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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

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
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 55acb6a97a686c27dd831312c3cb23d7c175ab1e..592cf39c4c8000dfef6cc49db00c36b9a67e2176 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -1598,3 +1598,13 @@ ChromeContentRendererClient::GetTaskSchedulerInitParams() {
return task_scheduler_util::
GetRendererTaskSchedulerInitParamsFromCommandLine();
}
+
+blink::WebFrame* ChromeContentRendererClient::FindFrame(
+ blink::WebLocalFrame* relative_to_frame,
+ const std::string& name) {
+#if BUILDFLAG(ENABLE_EXTENSIONS)
+ return ChromeExtensionsRendererClient::FindFrame(relative_to_frame, name);
+#else
+ return nullptr;
+#endif // BUILDFLAG(ENABLE_EXTENSIONS)
+}
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/extensions/chrome_extensions_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698