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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 // Job id - used to match responses to requests. | 489 // Job id - used to match responses to requests. |
490 IPC_STRUCT_MEMBER(int, job_id) | 490 IPC_STRUCT_MEMBER(int, job_id) |
491 | 491 |
492 // Destination file handle. | 492 // Destination file handle. |
493 IPC_STRUCT_MEMBER(IPC::PlatformFileForTransit, destination_file) | 493 IPC_STRUCT_MEMBER(IPC::PlatformFileForTransit, destination_file) |
494 | 494 |
495 // MHTML boundary marker / MIME multipart boundary maker. The same | 495 // MHTML boundary marker / MIME multipart boundary maker. The same |
496 // |mhtml_boundary_marker| should be used for serialization of each frame. | 496 // |mhtml_boundary_marker| should be used for serialization of each frame. |
497 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) | 497 IPC_STRUCT_MEMBER(std::string, mhtml_boundary_marker) |
498 | 498 |
| 499 // Whether to use binary encoding while serializing. Binary encoding is not |
| 500 // supported outside of Chrome, so this should not be used if the MHTML is |
| 501 // intended for sharing. |
| 502 IPC_STRUCT_MEMBER(bool, mhtml_binary_encoding) |
| 503 |
499 // Frame to content-id map. | 504 // Frame to content-id map. |
500 // Keys are routing ids of either RenderFrames or RenderFrameProxies. | 505 // Keys are routing ids of either RenderFrames or RenderFrameProxies. |
501 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. | 506 // Values are MHTML content-ids - see WebFrameSerializer::generateMHTMLParts. |
502 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, | 507 IPC_STRUCT_MEMBER(FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap, |
503 frame_routing_id_to_content_id) | 508 frame_routing_id_to_content_id) |
504 | 509 |
505 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that | 510 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that |
506 // should be skipped. This helps deduplicate mhtml parts across frames. | 511 // should be skipped. This helps deduplicate mhtml parts across frames. |
507 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent | 512 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent |
508 // disclosing uris to other renderer processes; the digests should be | 513 // disclosing uris to other renderer processes; the digests should be |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1442 int /* version */, | 1447 int /* version */, |
1443 std::vector<gfx::RectF> /* rects */, | 1448 std::vector<gfx::RectF> /* rects */, |
1444 gfx::RectF /* active_rect */) | 1449 gfx::RectF /* active_rect */) |
1445 #endif | 1450 #endif |
1446 | 1451 |
1447 // Adding a new message? Stick to the sort order above: first platform | 1452 // Adding a new message? Stick to the sort order above: first platform |
1448 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1449 // platform independent FrameHostMsg, then ifdefs for platform specific | 1454 // platform independent FrameHostMsg, then ifdefs for platform specific |
1450 // FrameHostMsg. | 1455 // FrameHostMsg. |
OLD | NEW |