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

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

Issue 1635873003: Replicating WebFrame::uniqueName across renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump-render-tree3
Patch Set: Rebasing... Created 4 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 ec879b5713a137a2bae694b27de2c228a44faa70..05e9df32057f82701577317f5010a5178a2f97bf 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -433,9 +433,10 @@ class CONTENT_EXPORT RenderFrameHostManager
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);
+ // OnDidUpdateName gets called when a frame changes its name - it gets the new
+ // |name| and the recalculated |unique_name| and replicates them into all
+ // frame proxies.
+ void OnDidUpdateName(const std::string& name, const std::string& unique_name);
// Sends updated enforcement of strict mixed content checking to all
// frame proxies when the frame changes its setting.
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698