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

Unified Diff: content/common/frame_owner_properties.h

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Rebase. 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: content/common/frame_owner_properties.h
diff --git a/content/common/frame_owner_properties.h b/content/common/frame_owner_properties.h
index 8767b9890aa2d0ade84a4b643c1310f5da72ed16..5c4d9ed1039e008db6efd8ba0b54882b054d4d2d 100644
--- a/content/common/frame_owner_properties.h
+++ b/content/common/frame_owner_properties.h
@@ -36,6 +36,7 @@ struct CONTENT_EXPORT FrameOwnerProperties {
int margin_height;
bool allow_fullscreen;
bool allow_payment_request;
+ bool is_display_none;
// An experimental attribute to be used by a parent frame to enforce CSP on a
// subframe. This is different from replicated CSP headers kept in

Powered by Google App Engine
This is Rietveld 408576698