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

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: Rebaseline. 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
« no previous file with comments | « no previous file | content/common/frame_owner_properties.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 IPC_STRUCT_TRAITS_MEMBER(link_followed) 167 IPC_STRUCT_TRAITS_MEMBER(link_followed)
168 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
169 169
170 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) 170 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
171 IPC_STRUCT_TRAITS_MEMBER(name) 171 IPC_STRUCT_TRAITS_MEMBER(name)
172 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) 172 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode)
173 IPC_STRUCT_TRAITS_MEMBER(margin_width) 173 IPC_STRUCT_TRAITS_MEMBER(margin_width)
174 IPC_STRUCT_TRAITS_MEMBER(margin_height) 174 IPC_STRUCT_TRAITS_MEMBER(margin_height)
175 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) 175 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen)
176 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) 176 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request)
177 IPC_STRUCT_TRAITS_MEMBER(is_display_none)
177 IPC_STRUCT_TRAITS_MEMBER(required_csp) 178 IPC_STRUCT_TRAITS_MEMBER(required_csp)
178 IPC_STRUCT_TRAITS_END() 179 IPC_STRUCT_TRAITS_END()
179 180
180 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) 181 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals)
181 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) 182 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction)
182 IPC_STRUCT_TRAITS_END() 183 IPC_STRUCT_TRAITS_END()
183 184
184 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) 185 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params)
185 // Error code as reported in the DidFailProvisionalLoad callback. 186 // Error code as reported in the DidFailProvisionalLoad callback.
186 IPC_STRUCT_MEMBER(int, error_code) 187 IPC_STRUCT_MEMBER(int, error_code)
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 // nearest find result in the sending frame. 1574 // nearest find result in the sending frame.
1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1575 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1575 int /* nfr_request_id */, 1576 int /* nfr_request_id */,
1576 float /* distance */) 1577 float /* distance */)
1577 #endif 1578 #endif
1578 1579
1579 // Adding a new message? Stick to the sort order above: first platform 1580 // Adding a new message? Stick to the sort order above: first platform
1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1581 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1581 // platform independent FrameHostMsg, then ifdefs for platform specific 1582 // platform independent FrameHostMsg, then ifdefs for platform specific
1582 // FrameHostMsg. 1583 // FrameHostMsg.
OLDNEW
« no previous file with comments | « no previous file | content/common/frame_owner_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698