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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // See WebSearchableFormData for a description of these. | 302 // See WebSearchableFormData for a description of these. |
303 // Not used by PlzNavigate: in that case these fields are sent to the browser | 303 // Not used by PlzNavigate: in that case these fields are sent to the browser |
304 // in BeginNavigationParams. | 304 // in BeginNavigationParams. |
305 IPC_STRUCT_MEMBER(GURL, searchable_form_url) | 305 IPC_STRUCT_MEMBER(GURL, searchable_form_url) |
306 IPC_STRUCT_MEMBER(std::string, searchable_form_encoding) | 306 IPC_STRUCT_MEMBER(std::string, searchable_form_encoding) |
| 307 |
| 308 // This is a non-decreasing value that the browser process can use to |
| 309 // identify and discard compositor frames that correspond to now-unloaded |
| 310 // web content. |
| 311 IPC_STRUCT_MEMBER(uint32_t, content_source_id) |
307 IPC_STRUCT_END() | 312 IPC_STRUCT_END() |
308 | 313 |
309 IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params) | 314 IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params) |
310 // Whether the data format is supplied as serialized script value, or as | 315 // 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 | 316 // a simple string. If it is a raw string, must be converted from string to a |
312 // WebSerializedScriptValue in the renderer process. | 317 // WebSerializedScriptValue in the renderer process. |
313 IPC_STRUCT_MEMBER(bool, is_data_raw_string) | 318 IPC_STRUCT_MEMBER(bool, is_data_raw_string) |
314 | 319 |
315 // The serialized script value. | 320 // The serialized script value. |
316 IPC_STRUCT_MEMBER(base::string16, data) | 321 IPC_STRUCT_MEMBER(base::string16, data) |
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 // nearest find result in the sending frame. | 1616 // nearest find result in the sending frame. |
1612 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1617 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1613 int /* nfr_request_id */, | 1618 int /* nfr_request_id */, |
1614 float /* distance */) | 1619 float /* distance */) |
1615 #endif | 1620 #endif |
1616 | 1621 |
1617 // Adding a new message? Stick to the sort order above: first platform | 1622 // Adding a new message? Stick to the sort order above: first platform |
1618 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1623 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1619 // platform independent FrameHostMsg, then ifdefs for platform specific | 1624 // platform independent FrameHostMsg, then ifdefs for platform specific |
1620 // FrameHostMsg. | 1625 // FrameHostMsg. |
OLD | NEW |