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