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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp

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: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 069ae44ae44d935d324d24f58682b063dbd60c37..4dfb8bb7b8d38ee42d5a4aee1c9ca17b8c1b5f36 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -1059,4 +1059,12 @@ LocalFrameClientImpl::GetInterfaceProvider() {
return web_frame_->Client()->GetInterfaceProvider();
}
+Frame* LocalFrameClientImpl::FindFrame(const AtomicString& name) const {
+ WebFrameClient* client = web_frame_->Client();
+ if (!client)
+ return nullptr;
+
+ return ToCoreFrame(client->FindFrame(name));
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.h ('k') | third_party/WebKit/Source/web/WebFactoryImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698