| 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 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "cc/surfaces/surface_id.h" | 17 #include "cc/surfaces/surface_id.h" |
| 18 #include "cc/surfaces/surface_sequence.h" | 18 #include "cc/surfaces/surface_sequence.h" |
| 19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "content/common/content_param_traits.h" | 20 #include "content/common/content_param_traits.h" |
| 21 #include "content/common/content_security_policy_header.h" | 21 #include "content/common/content_security_policy_header.h" |
| 22 #include "content/common/download/mhtml_save_status.h" |
| 22 #include "content/common/frame_message_enums.h" | 23 #include "content/common/frame_message_enums.h" |
| 23 #include "content/common/frame_owner_properties.h" | 24 #include "content/common/frame_owner_properties.h" |
| 24 #include "content/common/frame_replication_state.h" | 25 #include "content/common/frame_replication_state.h" |
| 25 #include "content/common/navigation_gesture.h" | 26 #include "content/common/navigation_gesture.h" |
| 26 #include "content/common/navigation_params.h" | 27 #include "content/common/navigation_params.h" |
| 27 #include "content/common/savable_subframe.h" | 28 #include "content/common/savable_subframe.h" |
| 28 #include "content/public/common/color_suggestion.h" | 29 #include "content/public/common/color_suggestion.h" |
| 29 #include "content/public/common/common_param_traits.h" | 30 #include "content/public/common/common_param_traits.h" |
| 30 #include "content/public/common/console_message_level.h" | 31 #include "content/public/common/console_message_level.h" |
| 31 #include "content/public/common/context_menu_params.h" | 32 #include "content/public/common/context_menu_params.h" |
| (...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1455 | 1456 |
| 1456 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. | 1457 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. |
| 1457 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, | 1458 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, |
| 1458 std::string /* data buffer */, | 1459 std::string /* data buffer */, |
| 1459 bool /* end of data? */) | 1460 bool /* end of data? */) |
| 1460 | 1461 |
| 1461 // Response to FrameMsg_SerializeAsMHTML. | 1462 // Response to FrameMsg_SerializeAsMHTML. |
| 1462 IPC_MESSAGE_ROUTED4( | 1463 IPC_MESSAGE_ROUTED4( |
| 1463 FrameHostMsg_SerializeAsMHTMLResponse, | 1464 FrameHostMsg_SerializeAsMHTMLResponse, |
| 1464 int /* job_id (used to match responses to requests) */, | 1465 int /* job_id (used to match responses to requests) */, |
| 1465 bool /* true if success, false if error */, | 1466 content::MhtmlSaveStatus /* final success/failure status */, |
| 1466 std::set<std::string> /* digests of uris of serialized resources */, | 1467 std::set<std::string> /* digests of uris of serialized resources */, |
| 1467 base::TimeDelta /* how much time of the main render thread was used */) | 1468 base::TimeDelta /* how much time of the main render thread was used */) |
| 1468 | 1469 |
| 1469 // Sent when the renderer updates hint for importance of a tab. | 1470 // Sent when the renderer updates hint for importance of a tab. |
| 1470 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, | 1471 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, |
| 1471 content::PageImportanceSignals) | 1472 content::PageImportanceSignals) |
| 1472 | 1473 |
| 1473 // This message is sent from a RenderFrameProxy when sequential focus | 1474 // This message is sent from a RenderFrameProxy when sequential focus |
| 1474 // navigation needs to advance into its actual frame. |source_routing_id| | 1475 // navigation needs to advance into its actual frame. |source_routing_id| |
| 1475 // identifies the frame that issued this request. This is used when pressing | 1476 // identifies the frame that issued this request. This is used when pressing |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1533 // nearest find result in the sending frame. | 1534 // nearest find result in the sending frame. |
| 1534 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1535 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1535 int /* nfr_request_id */, | 1536 int /* nfr_request_id */, |
| 1536 float /* distance */) | 1537 float /* distance */) |
| 1537 #endif | 1538 #endif |
| 1538 | 1539 |
| 1539 // Adding a new message? Stick to the sort order above: first platform | 1540 // Adding a new message? Stick to the sort order above: first platform |
| 1540 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1541 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1541 // platform independent FrameHostMsg, then ifdefs for platform specific | 1542 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1542 // FrameHostMsg. | 1543 // FrameHostMsg. |
| OLD | NEW |