OLD | NEW |
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 // Timestamp at which the UI action that triggered the navigation originated. | 292 // Timestamp at which the UI action that triggered the navigation originated. |
293 IPC_STRUCT_MEMBER(base::TimeTicks, ui_timestamp) | 293 IPC_STRUCT_MEMBER(base::TimeTicks, ui_timestamp) |
294 | 294 |
295 // The insecure request policy the document for the load is enforcing. | 295 // The insecure request policy the document for the load is enforcing. |
296 IPC_STRUCT_MEMBER(blink::WebInsecureRequestPolicy, insecure_request_policy) | 296 IPC_STRUCT_MEMBER(blink::WebInsecureRequestPolicy, insecure_request_policy) |
297 | 297 |
298 // True if the document for the load is a unique origin that should be | 298 // True if the document for the load is a unique origin that should be |
299 // considered potentially trustworthy. | 299 // considered potentially trustworthy. |
300 IPC_STRUCT_MEMBER(bool, has_potentially_trustworthy_unique_origin) | 300 IPC_STRUCT_MEMBER(bool, has_potentially_trustworthy_unique_origin) |
301 | 301 |
| 302 // True if the navigation originated as an srcdoc attribute. |
| 303 IPC_STRUCT_MEMBER(bool, is_srcdoc) |
| 304 |
302 // See WebSearchableFormData for a description of these. | 305 // See WebSearchableFormData for a description of these. |
303 // Not used by PlzNavigate: in that case these fields are sent to the browser | 306 // Not used by PlzNavigate: in that case these fields are sent to the browser |
304 // in BeginNavigationParams. | 307 // in BeginNavigationParams. |
305 IPC_STRUCT_MEMBER(GURL, searchable_form_url) | 308 IPC_STRUCT_MEMBER(GURL, searchable_form_url) |
306 IPC_STRUCT_MEMBER(std::string, searchable_form_encoding) | 309 IPC_STRUCT_MEMBER(std::string, searchable_form_encoding) |
307 IPC_STRUCT_END() | 310 IPC_STRUCT_END() |
308 | 311 |
309 IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params) | 312 IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params) |
310 // Whether the data format is supplied as serialized script value, or as | 313 // Whether the data format is supplied as serialized script value, or as |
311 // a simple string. If it is a raw string, must be converted from string to a | 314 // a simple string. If it is a raw string, must be converted from string to a |
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1536 // nearest find result in the sending frame. | 1539 // nearest find result in the sending frame. |
1537 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1538 int /* nfr_request_id */, | 1541 int /* nfr_request_id */, |
1539 float /* distance */) | 1542 float /* distance */) |
1540 #endif | 1543 #endif |
1541 | 1544 |
1542 // Adding a new message? Stick to the sort order above: first platform | 1545 // Adding a new message? Stick to the sort order above: first platform |
1543 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1544 // platform independent FrameHostMsg, then ifdefs for platform specific | 1547 // platform independent FrameHostMsg, then ifdefs for platform specific |
1545 // FrameHostMsg. | 1548 // FrameHostMsg. |
OLD | NEW |