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

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 974723002: OOPIF: Replicate dynamic window.name updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 073908ad44cf1b497b062b96ec6b18ebf4529ef9..825d5f8bc94a32b4789cad56373ddc9cecf2784e 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -409,6 +409,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
void OnDidStartLoading();
void OnDidStopLoading();
+ // Send updated frame name to all frame proxies when the frame changes its
+ // window.name property.
+ void OnDidUpdateName(const std::string& name);
+
void EnsureRenderViewInitialized(FrameTreeNode* source,
RenderViewHostImpl* render_view_host,
SiteInstance* instance);

Powered by Google App Engine
This is Rietveld 408576698