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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
636 | 636 |
637 // PlzNavigate | 637 // PlzNavigate |
638 // Tells the renderer that a navigation failed with the error code |error_code| | 638 // Tells the renderer that a navigation failed with the error code |error_code| |
639 // and that the renderer should display an appropriate error page. | 639 // and that the renderer should display an appropriate error page. |
640 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, | 640 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, |
641 content::CommonNavigationParams, /* common_params */ | 641 content::CommonNavigationParams, /* common_params */ |
642 content::RequestNavigationParams, /* request_params */ | 642 content::RequestNavigationParams, /* request_params */ |
643 bool, /* stale_copy_in_cache */ | 643 bool, /* stale_copy_in_cache */ |
644 int /* error_code */) | 644 int /* error_code */) |
645 | 645 |
646 // Request to enumerate and return links to all savable resources in the frame | |
647 // (this covers only the immediate frame / doesn't cover subframes). | |
nasko
2015/09/03 18:17:02
nit: Drop the parenthesis and prefix with Note:
Łukasz Anforowicz
2015/09/03 19:41:24
Done.
| |
648 IPC_MESSAGE_ROUTED0(FrameMsg_GetSavableResourceLinks) | |
649 | |
646 #if defined(ENABLE_PLUGINS) | 650 #if defined(ENABLE_PLUGINS) |
647 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 651 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
648 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 652 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
649 std::set<GURL> /* origin_whitelist */) | 653 std::set<GURL> /* origin_whitelist */) |
650 #endif // defined(ENABLE_PLUGINS) | 654 #endif // defined(ENABLE_PLUGINS) |
651 | 655 |
652 // ----------------------------------------------------------------------------- | 656 // ----------------------------------------------------------------------------- |
653 // Messages sent from the renderer to the browser. | 657 // Messages sent from the renderer to the browser. |
654 | 658 |
655 // Blink and JavaScript error messages to log to the console | 659 // Blink and JavaScript error messages to log to the console |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1015 | 1019 |
1016 // Dispatch a load event for this frame in the iframe element of an | 1020 // Dispatch a load event for this frame in the iframe element of an |
1017 // out-of-process parent frame. | 1021 // out-of-process parent frame. |
1018 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 1022 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
1019 | 1023 |
1020 // Sent to the browser from a frame proxy to post a message to the frame's | 1024 // Sent to the browser from a frame proxy to post a message to the frame's |
1021 // active renderer. | 1025 // active renderer. |
1022 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, | 1026 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, |
1023 FrameMsg_PostMessage_Params) | 1027 FrameMsg_PostMessage_Params) |
1024 | 1028 |
1029 // Response to FrameMsg_GetSavableResourceLinks. | |
1030 IPC_MESSAGE_ROUTED2(FrameHostMsg_SavableResourceLinksResponse, | |
1031 std::vector<GURL> /* savable resource links */, | |
1032 std::vector<content::Referrer> /* referrers */) | |
1033 | |
1034 // Response to FrameMsg_GetSavableResourceLinks in case the frame contains | |
1035 // non-savable content (i.e. from a non-savable schema) or if there were | |
nasko
2015/09/03 18:17:02
nit: s/schema/scheme/
Łukasz Anforowicz
2015/09/03 19:41:24
Oh man, really? I've been spelling it wrong my wh
nasko
2015/09/04 16:03:21
Well, there is schema too, but it is in other area
| |
1036 // errors gathering the links. | |
1037 IPC_MESSAGE_ROUTED0(FrameHostMsg_SavableResourceLinksError) | |
1038 | |
1025 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1039 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1026 | 1040 |
1027 // Message to show/hide a popup menu using native controls. | 1041 // Message to show/hide a popup menu using native controls. |
1028 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1042 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1029 FrameHostMsg_ShowPopup_Params) | 1043 FrameHostMsg_ShowPopup_Params) |
1030 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1044 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1031 | 1045 |
1032 #endif | 1046 #endif |
OLD | NEW |