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