| 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 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 | 1438 |
| 1438 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. | 1439 // Response to FrameMsg_GetSerializedHtmlWithLocalLinks. |
| 1439 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, | 1440 IPC_MESSAGE_ROUTED2(FrameHostMsg_SerializedHtmlWithLocalLinksResponse, |
| 1440 std::string /* data buffer */, | 1441 std::string /* data buffer */, |
| 1441 bool /* end of data? */) | 1442 bool /* end of data? */) |
| 1442 | 1443 |
| 1443 // Response to FrameMsg_SerializeAsMHTML. | 1444 // Response to FrameMsg_SerializeAsMHTML. |
| 1444 IPC_MESSAGE_ROUTED4( | 1445 IPC_MESSAGE_ROUTED4( |
| 1445 FrameHostMsg_SerializeAsMHTMLResponse, | 1446 FrameHostMsg_SerializeAsMHTMLResponse, |
| 1446 int /* job_id (used to match responses to requests) */, | 1447 int /* job_id (used to match responses to requests) */, |
| 1447 bool /* true if success, false if error */, | 1448 content::MhtmlSaveStatus /* final success/failure status */, |
| 1448 std::set<std::string> /* digests of uris of serialized resources */, | 1449 std::set<std::string> /* digests of uris of serialized resources */, |
| 1449 base::TimeDelta /* how much time of the main render thread was used */) | 1450 base::TimeDelta /* how much time of the main render thread was used */) |
| 1450 | 1451 |
| 1451 // Sent when the renderer updates hint for importance of a tab. | 1452 // Sent when the renderer updates hint for importance of a tab. |
| 1452 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, | 1453 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdatePageImportanceSignals, |
| 1453 content::PageImportanceSignals) | 1454 content::PageImportanceSignals) |
| 1454 | 1455 |
| 1455 // This message is sent from a RenderFrameProxy when sequential focus | 1456 // This message is sent from a RenderFrameProxy when sequential focus |
| 1456 // navigation needs to advance into its actual frame. |source_routing_id| | 1457 // navigation needs to advance into its actual frame. |source_routing_id| |
| 1457 // identifies the frame that issued this request. This is used when pressing | 1458 // 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... |
| 1515 // nearest find result in the sending frame. | 1516 // nearest find result in the sending frame. |
| 1516 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1517 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1517 int /* nfr_request_id */, | 1518 int /* nfr_request_id */, |
| 1518 float /* distance */) | 1519 float /* distance */) |
| 1519 #endif | 1520 #endif |
| 1520 | 1521 |
| 1521 // Adding a new message? Stick to the sort order above: first platform | 1522 // Adding a new message? Stick to the sort order above: first platform |
| 1522 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1523 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1523 // platform independent FrameHostMsg, then ifdefs for platform specific | 1524 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1524 // FrameHostMsg. | 1525 // FrameHostMsg. |
| OLD | NEW |