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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // supported outside of Chrome, so this should not be used if the MHTML is | 504 // supported outside of Chrome, so this should not be used if the MHTML is |
505 // intended for sharing. | 505 // intended for sharing. |
506 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) | 506 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) |
507 | 507 |
508 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy, | 508 IPC_STRUCT_MEMBER(blink::WebFrameSerializerCacheControlPolicy, |
509 mhtml_cache_control_policy) | 509 mhtml_cache_control_policy) |
510 | 510 |
511 // Whether to remove popup overlay while serializing. | 511 // Whether to remove popup overlay while serializing. |
512 IPC_STRUCT_MEMBER(bool, mhtml_popup_overlay_removal) | 512 IPC_STRUCT_MEMBER(bool, mhtml_popup_overlay_removal) |
513 | 513 |
| 514 // Whether to detect problems while serializing. |
| 515 IPC_STRUCT_MEMBER(bool, mhtml_problem_detection) |
| 516 |
514 // Frame to content-id map. | 517 // Frame to content-id map. |
515 // Keys are routing ids of either RenderFrames or RenderFrameProxies. | 518 // Keys are routing ids of either RenderFrames or RenderFrameProxies. |
516 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. | 519 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. |
517 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, | 520 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, |
518 frame_routing_id_to_content_id) | 521 frame_routing_id_to_content_id) |
519 | 522 |
520 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that | 523 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that |
521 // should be skipped. This helps deduplicate mhtml parts across frames. | 524 // should be skipped. This helps deduplicate mhtml parts across frames. |
522 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent | 525 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent |
523 // disclosing uris to other renderer processes; the digests should be | 526 // disclosing uris to other renderer processes; the digests should be |
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 int /* nfr_request_id */, | 1676 int /* nfr_request_id */, |
1674 float /* distance */) | 1677 float /* distance */) |
1675 | 1678 |
1676 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1677 #endif | 1680 #endif |
1678 | 1681 |
1679 // Adding a new message? Stick to the sort order above: first platform | 1682 // Adding a new message? Stick to the sort order above: first platform |
1680 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1681 // platform independent FrameHostMsg, then ifdefs for platform specific | 1684 // platform independent FrameHostMsg, then ifdefs for platform specific |
1682 // FrameHostMsg. | 1685 // FrameHostMsg. |
OLD | NEW |