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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Addressed comments, made redirect response PlzNavigate-only. Created 3 years, 8 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 31c1eb6a0afdadf1993d34478e8211a1a619070f..436015fa62bc03ac9b268039af4c7fbffba090e1 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -53,6 +53,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&,
@@ -88,6 +90,7 @@ class CORE_EXPORT HTMLIFrameElement final
bool did_load_non_empty_document_;
bool allow_fullscreen_;
bool allow_payment_request_;
+ bool collapsedByClient;
alexmos 2017/04/11 06:00:30 collapsed_by_client_
engedy 2017/04/11 08:06:17 Wops, old CL from before the reformat. Done.
Member<HTMLIFrameElementSandbox> sandbox_;
Member<HTMLIFrameElementAllow> allow_;

Powered by Google App Engine
This is Rietveld 408576698