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

Unified Diff: content/browser/frame_host/frame_tree_node.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/frame_tree_node.h
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h
index 5d0a34bd366fd3875a632891acc18ac624c64080..15cccd2503f79fd2b64ebf8c2c7908e6d60bdfbd 100644
--- a/content/browser/frame_host/frame_tree_node.h
+++ b/content/browser/frame_host/frame_tree_node.h
@@ -93,6 +93,10 @@ class CONTENT_EXPORT FrameTreeNode {
replication_state_.origin = origin;
}
+ void set_frame_name(const std::string& name) {
+ replication_state_.name = name;
+ }
+
void set_sandbox_flags(SandboxFlags sandbox_flags) {
replication_state_.sandbox_flags = sandbox_flags;
}

Powered by Google App Engine
This is Rietveld 408576698