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

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

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/html/HTMLFrameElementBase.h
diff --git a/Source/core/html/HTMLFrameElementBase.h b/Source/core/html/HTMLFrameElementBase.h
index eafb61c222d007ea275ce6a0fca84fc50e03a1fc..2be96d04815353de98c34caf37836b1ad1194c09 100644
--- a/Source/core/html/HTMLFrameElementBase.h
+++ b/Source/core/html/HTMLFrameElementBase.h
@@ -41,6 +41,9 @@ public:
virtual bool canContainRangeEndPoint() const OVERRIDE FINAL { return false; }
+ const AtomicString& url() const { return m_URL; }
+ void setNameAndOpenURL();
+
protected:
HTMLFrameElementBase(const QualifiedName&, Document&);
@@ -62,7 +65,6 @@ private:
virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false; }
void setLocation(const String&);
- void setNameAndOpenURL();
void openURL(bool lockBackForwardList = true);
AtomicString m_URL;

Powered by Google App Engine
This is Rietveld 408576698