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

Unified Diff: Source/core/page/FrameTree.h

Issue 218693003: Generate FrameTree::uniqueName with a URL attribute value. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unload handler Created 6 years, 9 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
« no previous file with comments | « LayoutTests/svg/as-object/resources/right.svg ('k') | Source/core/page/FrameTree.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FrameTree.h
diff --git a/Source/core/page/FrameTree.h b/Source/core/page/FrameTree.h
index 94fc05b9df71546a45d9e743db49b482e7ad270c..f694dd516e168f5bf7a58e0aab45b73e8123d420 100644
--- a/Source/core/page/FrameTree.h
+++ b/Source/core/page/FrameTree.h
@@ -35,7 +35,9 @@ namespace WebCore {
const AtomicString& name() const { return m_name; }
const AtomicString& uniqueName() const { return m_uniqueName; }
- void setName(const AtomicString&);
+ // If |name| is not empty, |fallbackName| is ignored. Otherwise,
+ // |fallbackName| is used as a source of uniqueName.
+ void setName(const AtomicString& name, const AtomicString& fallbackName = nullAtom);
LocalFrame* parent() const;
LocalFrame* top() const;
« no previous file with comments | « LayoutTests/svg/as-object/resources/right.svg ('k') | Source/core/page/FrameTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698