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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 | 459 |
460 #elif defined(OS_MACOSX) | 460 #elif defined(OS_MACOSX) |
461 | 461 |
462 // External popup menus. | 462 // External popup menus. |
463 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, | 463 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, |
464 int /* selected index, -1 means no selection */) | 464 int /* selected index, -1 means no selection */) |
465 | 465 |
466 #endif | 466 #endif |
467 | 467 |
468 // PlzNavigate | 468 // PlzNavigate |
| 469 // Tells the renderer that a navigation has been requested. |
| 470 IPC_MESSAGE_ROUTED2(FrameMsg_RequestNavigation, |
| 471 content::CommonNavigationParams, /* common_params */ |
| 472 content::RequestNavigationParams /* request_params */) |
| 473 |
| 474 // PlzNavigate |
469 // Tells the renderer that a navigation is ready to commit. The renderer should | 475 // Tells the renderer that a navigation is ready to commit. The renderer should |
470 // request |stream_url| to get access to the stream containing the body of the | 476 // request |stream_url| to get access to the stream containing the body of the |
471 // response. | 477 // response. |
472 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 478 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
473 content::ResourceResponseHead, /* response */ | 479 content::ResourceResponseHead, /* response */ |
474 GURL, /* stream_url */ | 480 GURL, /* stream_url */ |
475 content::CommonNavigationParams, /* common_params */ | 481 content::CommonNavigationParams, /* common_params */ |
476 content::CommitNavigationParams /* commit_params */) | 482 content::CommitNavigationParams /* commit_params */) |
477 | 483 |
478 // ----------------------------------------------------------------------------- | 484 // ----------------------------------------------------------------------------- |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 755 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
750 | 756 |
751 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 757 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
752 | 758 |
753 // Message to show/hide a popup menu using native controls. | 759 // Message to show/hide a popup menu using native controls. |
754 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 760 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
755 FrameHostMsg_ShowPopup_Params) | 761 FrameHostMsg_ShowPopup_Params) |
756 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 762 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
757 | 763 |
758 #endif | 764 #endif |
OLD | NEW |