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