diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/page/FrameTree.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/page/FrameTree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/core/page/FrameTree.h b/chromium/third_party/WebKit/Source/core/page/FrameTree.h index db84875b771..26d9adf6ded 100644 --- a/chromium/third_party/WebKit/Source/core/page/FrameTree.h +++ b/chromium/third_party/WebKit/Source/core/page/FrameTree.h @@ -62,6 +62,11 @@ class CORE_EXPORT FrameTree final { unsigned ChildCount() const; Frame* ScopedChild(unsigned index) const; + // https://whatwg.org/C/window-object.html#named-access-on-the-window-object + // This implements the steps needed for looking up a child browsing context + // that matches |name|. If |name.IsEmpty()| is true, this is guaranteed to + // return null: the spec specifically states that browsing contexts with a + // name are never considered. Frame* ScopedChild(const AtomicString& name) const; unsigned ScopedChildCount() const; void InvalidateScopedChildCount(); |