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

Side by Side Diff: content/common/frame_messages.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 IPC_STRUCT_TRAITS_MEMBER(link_followed) 169 IPC_STRUCT_TRAITS_MEMBER(link_followed)
170 IPC_STRUCT_TRAITS_END() 170 IPC_STRUCT_TRAITS_END()
171 171
172 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) 172 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
173 IPC_STRUCT_TRAITS_MEMBER(name) 173 IPC_STRUCT_TRAITS_MEMBER(name)
174 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) 174 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode)
175 IPC_STRUCT_TRAITS_MEMBER(margin_width) 175 IPC_STRUCT_TRAITS_MEMBER(margin_width)
176 IPC_STRUCT_TRAITS_MEMBER(margin_height) 176 IPC_STRUCT_TRAITS_MEMBER(margin_height)
177 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) 177 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen)
178 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) 178 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request)
179 IPC_STRUCT_TRAITS_MEMBER(is_display_none)
dcheng 2017/02/05 09:56:08 Currently this is passed via IPC, but isn't actual
erikchen 2017/02/10 17:19:30 I believe this CL correctly passes is_display_none
179 IPC_STRUCT_TRAITS_MEMBER(required_csp) 180 IPC_STRUCT_TRAITS_MEMBER(required_csp)
180 IPC_STRUCT_TRAITS_MEMBER(delegated_permissions) 181 IPC_STRUCT_TRAITS_MEMBER(delegated_permissions)
181 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
182 183
183 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) 184 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals)
184 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) 185 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction)
185 IPC_STRUCT_TRAITS_END() 186 IPC_STRUCT_TRAITS_END()
186 187
187 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) 188 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params)
188 // Error code as reported in the DidFailProvisionalLoad callback. 189 // Error code as reported in the DidFailProvisionalLoad callback.
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 // nearest find result in the sending frame. 1564 // nearest find result in the sending frame.
1564 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1565 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1565 int /* nfr_request_id */, 1566 int /* nfr_request_id */,
1566 float /* distance */) 1567 float /* distance */)
1567 #endif 1568 #endif
1568 1569
1569 // Adding a new message? Stick to the sort order above: first platform 1570 // Adding a new message? Stick to the sort order above: first platform
1570 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1571 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1571 // platform independent FrameHostMsg, then ifdefs for platform specific 1572 // platform independent FrameHostMsg, then ifdefs for platform specific
1572 // FrameHostMsg. 1573 // FrameHostMsg.
OLDNEW
« no previous file with comments | « no previous file | content/common/frame_owner_properties.h » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698