| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that | 506 // |digests_of_uris_to_skip| contains digests of uris of MHTML parts that |
| 507 // should be skipped. This helps deduplicate mhtml parts across frames. | 507 // should be skipped. This helps deduplicate mhtml parts across frames. |
| 508 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent | 508 // SECURITY NOTE: Sha256 digests (rather than uris) are used to prevent |
| 509 // disclosing uris to other renderer processes; the digests should be | 509 // disclosing uris to other renderer processes; the digests should be |
| 510 // generated using SHA256HashString function from crypto/sha2.h and hashing | 510 // generated using SHA256HashString function from crypto/sha2.h and hashing |
| 511 // |salt + url.spec()|. | 511 // |salt + url.spec()|. |
| 512 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) | 512 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) |
| 513 | 513 |
| 514 // Salt used for |digests_of_uris_to_skip|. | 514 // Salt used for |digests_of_uris_to_skip|. |
| 515 IPC_STRUCT_MEMBER(std::string, salt) | 515 IPC_STRUCT_MEMBER(std::string, salt) |
| 516 | |
| 517 // If |is_last_frame| is true, then an MHTML footer will be generated. | |
| 518 IPC_STRUCT_MEMBER(bool, is_last_frame) | |
| 519 IPC_STRUCT_END() | 516 IPC_STRUCT_END() |
| 520 | 517 |
| 521 // This message is used to send hittesting data from the renderer in order | 518 // This message is used to send hittesting data from the renderer in order |
| 522 // to perform hittesting on the browser process. | 519 // to perform hittesting on the browser process. |
| 523 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) | 520 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) |
| 524 // |surface_id| represents the surface used by this remote frame. | 521 // |surface_id| represents the surface used by this remote frame. |
| 525 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) | 522 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) |
| 526 | 523 |
| 527 // If |ignored_for_hittest| then this surface should be ignored during | 524 // If |ignored_for_hittest| then this surface should be ignored during |
| 528 // hittesting. | 525 // hittesting. |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 // nearest find result in the sending frame. | 1608 // nearest find result in the sending frame. |
| 1612 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1609 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1613 int /* nfr_request_id */, | 1610 int /* nfr_request_id */, |
| 1614 float /* distance */) | 1611 float /* distance */) |
| 1615 #endif | 1612 #endif |
| 1616 | 1613 |
| 1617 // Adding a new message? Stick to the sort order above: first platform | 1614 // Adding a new message? Stick to the sort order above: first platform |
| 1618 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1615 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1619 // platform independent FrameHostMsg, then ifdefs for platform specific | 1616 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1620 // FrameHostMsg. | 1617 // FrameHostMsg. |
| OLD | NEW |