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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 13467038: Browser Plugin: Expose frame name changes to the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expose RenderViewHost::SetName to the content API Created 7 years, 8 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 2f526353cfc55008d83c9a07da2d220b1bfc1f80..27576cacaffed36c908c00c6efdc899d0ce01349 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2934,6 +2934,17 @@ void WebContentsImpl::DidUpdateFrameTree(RenderViewHost* rvh) {
render_manager_.DidUpdateFrameTree(rvh);
}
+void WebContentsImpl::DidUpdateFrameName(RenderViewHost* rvh,
+ int frame_id,
+ bool is_top_level,
+ const std::string& name) {
+ FOR_EACH_OBSERVER(WebContentsObserver, observers_,
+ DidUpdateFrameName(frame_id,
+ is_top_level,
+ name,
+ rvh));
+}
+
void WebContentsImpl::DocumentAvailableInMainFrame(
RenderViewHost* render_view_host) {
FOR_EACH_OBSERVER(WebContentsObserver, observers_,

Powered by Google App Engine
This is Rietveld 408576698