| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) | 479 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) |
| 480 | 480 |
| 481 // Whether to use binary encoding while serializing. Binary encoding is not | 481 // Whether to use binary encoding while serializing. Binary encoding is not |
| 482 // supported outside of Chrome, so this should not be used if the MHTML is | 482 // supported outside of Chrome, so this should not be used if the MHTML is |
| 483 // intended for sharing. | 483 // intended for sharing. |
| 484 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) | 484 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) |
| 485 | 485 |
| 486 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy, | 486 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy, |
| 487 mhtml_cache_control_policy) | 487 mhtml_cache_control_policy) |
| 488 | 488 |
| 489 // Whether to remove popup overlay while serializing. |
| 490 IPC_STRUCT_MEMBER(bool, mhtml_popup_overlay_removal) |
| 491 |
| 489 // Frame to content-id map. | 492 // Frame to content-id map. |
| 490 // Keys are routing ids of either RenderFrames or RenderFrameProxies. | 493 // Keys are routing ids of either RenderFrames or RenderFrameProxies. |
| 491 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. | 494 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. |
| 492 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, | 495 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, |
| 493 frame_routing_id_to_content_id) | 496 frame_routing_id_to_content_id) |
| 494 | 497 |
| 495 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that | 498 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that |
| 496 // should be skipped. This helps deduplicate mhtml parts across frames. | 499 // should be skipped. This helps deduplicate mhtml parts across frames. |
| 497 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent | 500 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent |
| 498 // disclosing uris to other renderer processes; the digests should be | 501 // disclosing uris to other renderer processes; the digests should be |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 // nearest find result in the sending frame. | 1557 // nearest find result in the sending frame. |
| 1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1558 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1556 int /* nfr_request_id */, | 1559 int /* nfr_request_id */, |
| 1557 float /* distance */) | 1560 float /* distance */) |
| 1558 #endif | 1561 #endif |
| 1559 | 1562 |
| 1560 // Adding a new message? Stick to the sort order above: first platform | 1563 // Adding a new message? Stick to the sort order above: first platform |
| 1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1564 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1562 // platform independent FrameHostMsg, then ifdefs for platform specific | 1565 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1563 // FrameHostMsg. | 1566 // FrameHostMsg. |
| OLD | NEW |