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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameElementBase.h

Issue 2504573002: Don't call isURLAllowed() from layout. (Closed)
Patch Set: Fix bad formatting that caused clang-format-diff to get confused. Created 4 years, 1 month 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: third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
index ed03c0aa4bf5d683bcc8c1810218d421be2526ae..afc2e779c47307addc5c2f98b6647baa3f00b853 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.h
@@ -41,8 +41,6 @@ class CORE_EXPORT HTMLFrameElementBase : public HTMLFrameOwnerElement {
protected:
HTMLFrameElementBase(const QualifiedName&, Document&);
- bool isURLAllowed() const;
-
void parseAttribute(const QualifiedName&,
const AtomicString&,
const AtomicString&) override;
@@ -72,6 +70,7 @@ class CORE_EXPORT HTMLFrameElementBase : public HTMLFrameOwnerElement {
void setLocation(const String&);
void setNameAndOpenURL();
+ bool isURLAllowed() const;
void openURL(bool replaceCurrentItem = true);
ScrollbarMode m_scrollingMode;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698