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

Side by Side Diff: Source/core/html/HTMLFrameOwnerElement.h

Issue 1232223002: Rename LockBackForwardList to ReplaceCurrentItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void dispatchLoad() override; 80 void dispatchLoad() override;
81 SandboxFlags sandboxFlags() const override { return m_sandboxFlags; } 81 SandboxFlags sandboxFlags() const override { return m_sandboxFlags; }
82 void renderFallbackContent() override { } 82 void renderFallbackContent() override { }
83 83
84 DECLARE_VIRTUAL_TRACE(); 84 DECLARE_VIRTUAL_TRACE();
85 85
86 protected: 86 protected:
87 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); 87 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
88 void setSandboxFlags(SandboxFlags); 88 void setSandboxFlags(SandboxFlags);
89 89
90 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool lockBackForwardList); 90 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool replaceCurrentItem);
91 91
92 private: 92 private:
93 bool isKeyboardFocusable() const override; 93 bool isKeyboardFocusable() const override;
94 bool isFrameOwnerElement() const final { return true; } 94 bool isFrameOwnerElement() const final { return true; }
95 95
96 RawPtrWillBeMember<Frame> m_contentFrame; 96 RawPtrWillBeMember<Frame> m_contentFrame;
97 RefPtrWillBeMember<Widget> m_widget; 97 RefPtrWillBeMember<Widget> m_widget;
98 SandboxFlags m_sandboxFlags; 98 SandboxFlags m_sandboxFlags;
99 }; 99 };
100 100
(...skipping 28 matching lines...) Expand all
129 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo ots(); 129 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo ots();
130 130
131 RawPtrWillBeMember<Node> m_root; 131 RawPtrWillBeMember<Node> m_root;
132 }; 132 };
133 133
134 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal()); 134 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal());
135 135
136 } // namespace blink 136 } // namespace blink
137 137
138 #endif // HTMLFrameOwnerElement_h 138 #endif // HTMLFrameOwnerElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698