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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Extend tests, fix redirects. Non-PlzNavigate version still broken. Created 3 years, 10 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: third_party/WebKit/Source/core/html/HTMLIFrameElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
index effd2136ba3a15f0eaa85457167b4413ffd16f37..1ecac69c852cb4e049009dae1264fd7f6928cb02 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -57,6 +57,8 @@ class CORE_EXPORT HTMLIFrameElement final
private:
explicit HTMLIFrameElement(Document&);
+ void setCollapsedByClient(bool) override;
+
void parseAttribute(const AttributeModificationParams&) override;
bool isPresentationAttribute(const QualifiedName&) const override;
void collectStyleForPresentationAttribute(const QualifiedName&,
@@ -93,6 +95,7 @@ class CORE_EXPORT HTMLIFrameElement final
bool m_didLoadNonEmptyDocument;
bool m_allowFullscreen;
bool m_allowPaymentRequest;
+ bool m_collapsedByClient;
Member<HTMLIFrameElementSandbox> m_sandbox;
Member<HTMLIFrameElementPermissions> m_permissions;
Member<HTMLIFrameElementAllow> m_allow;

Powered by Google App Engine
This is Rietveld 408576698