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

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: Comments from esprehn. Created 4 years 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) 165 IPC_STRUCT_TRAITS_MEMBER(render_widget_id)
166 IPC_STRUCT_TRAITS_MEMBER(link_followed) 166 IPC_STRUCT_TRAITS_MEMBER(link_followed)
167 IPC_STRUCT_TRAITS_END() 167 IPC_STRUCT_TRAITS_END()
168 168
169 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) 169 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
170 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) 170 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode)
171 IPC_STRUCT_TRAITS_MEMBER(margin_width) 171 IPC_STRUCT_TRAITS_MEMBER(margin_width)
172 IPC_STRUCT_TRAITS_MEMBER(margin_height) 172 IPC_STRUCT_TRAITS_MEMBER(margin_height)
173 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) 173 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen)
174 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) 174 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request)
175 IPC_STRUCT_TRAITS_MEMBER(is_display_none)
175 IPC_STRUCT_TRAITS_MEMBER(required_csp) 176 IPC_STRUCT_TRAITS_MEMBER(required_csp)
176 IPC_STRUCT_TRAITS_MEMBER(delegated_permissions) 177 IPC_STRUCT_TRAITS_MEMBER(delegated_permissions)
177 IPC_STRUCT_TRAITS_END() 178 IPC_STRUCT_TRAITS_END()
178 179
179 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) 180 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals)
180 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) 181 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction)
181 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
182 183
183 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) 184 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params)
184 // Error code as reported in the DidFailProvisionalLoad callback. 185 // Error code as reported in the DidFailProvisionalLoad callback.
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 // nearest find result in the sending frame. 1512 // nearest find result in the sending frame.
1512 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1513 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1513 int /* nfr_request_id */, 1514 int /* nfr_request_id */,
1514 float /* distance */) 1515 float /* distance */)
1515 #endif 1516 #endif
1516 1517
1517 // Adding a new message? Stick to the sort order above: first platform 1518 // Adding a new message? Stick to the sort order above: first platform
1518 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1519 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1519 // platform independent FrameHostMsg, then ifdefs for platform specific 1520 // platform independent FrameHostMsg, then ifdefs for platform specific
1520 // FrameHostMsg. 1521 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698