Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: content/common/frame_messages.h

Issue 2683493002: Get signals working in the EXTRA_DATA section of MHTML (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 // disclosing uris to other renderer processes; the digests should be 503 // disclosing uris to other renderer processes; the digests should be
504 // generated using SHA256HashString function from crypto/sha2.h and hashing 504 // generated using SHA256HashString function from crypto/sha2.h and hashing
505 // |salt + url.spec()|. 505 // |salt + url.spec()|.
506 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip) 506 IPC_STRUCT_MEMBER(std::set<std::string>, digests_of_uris_to_skip)
507 507
508 // Salt used for |digests_of_uris_to_skip|. 508 // Salt used for |digests_of_uris_to_skip|.
509 IPC_STRUCT_MEMBER(std::string, salt) 509 IPC_STRUCT_MEMBER(std::string, salt)
510 510
511 // If |is_last_frame| is true, then an MHTML footer will be generated. 511 // If |is_last_frame| is true, then an MHTML footer will be generated.
512 IPC_STRUCT_MEMBER(bool, is_last_frame) 512 IPC_STRUCT_MEMBER(bool, is_last_frame)
513
514 // Extra data to include in the MHTML file (used for tracking signal data).
515 IPC_STRUCT_MEMBER(std::vector<std::string>, extra_data)
516
513 IPC_STRUCT_END() 517 IPC_STRUCT_END()
514 518
515 // This message is used to send hittesting data from the renderer in order 519 // This message is used to send hittesting data from the renderer in order
516 // to perform hittesting on the browser process. 520 // to perform hittesting on the browser process.
517 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params) 521 IPC_STRUCT_BEGIN(FrameHostMsg_HittestData_Params)
518 // |surface_id| represents the surface used by this remote frame. 522 // |surface_id| represents the surface used by this remote frame.
519 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id) 523 IPC_STRUCT_MEMBER(cc::SurfaceId, surface_id)
520 524
521 // If |ignored_for_hittest| then this surface should be ignored during 525 // If |ignored_for_hittest| then this surface should be ignored during
522 // hittesting. 526 // hittesting.
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 // nearest find result in the sending frame. 1567 // nearest find result in the sending frame.
1564 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1568 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1565 int /* nfr_request_id */, 1569 int /* nfr_request_id */,
1566 float /* distance */) 1570 float /* distance */)
1567 #endif 1571 #endif
1568 1572
1569 // Adding a new message? Stick to the sort order above: first platform 1573 // Adding a new message? Stick to the sort order above: first platform
1570 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1574 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1571 // platform independent FrameHostMsg, then ifdefs for platform specific 1575 // platform independent FrameHostMsg, then ifdefs for platform specific
1572 // FrameHostMsg. 1576 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698