Chromium Code Reviews| 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 */) | |
|
nasko
2014/10/08 17:40:32
nit: let's leave an empty line between the IPC mes
clamy
2014/10/10 02:33:11
Done.
| |
| 473 // PlzNavigate | |
| 469 // Tells the renderer that a navigation is ready to commit. The renderer should | 474 // 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 | 475 // request |stream_url| to get access to the stream containing the body of the |
| 471 // response. | 476 // response. |
| 472 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, | 477 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, |
| 473 content::ResourceResponseHead, | 478 content::ResourceResponseHead, |
| 474 GURL, /* stream_url */ | 479 GURL, /* stream_url */ |
| 475 content::CommonNavigationParams, /* common_params */ | 480 content::CommonNavigationParams, /* common_params */ |
| 476 content::CommitNavigationParams /* commit_params */) | 481 content::CommitNavigationParams /* commit_params */) |
| 477 | 482 |
| 478 // ----------------------------------------------------------------------------- | 483 // ----------------------------------------------------------------------------- |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 748 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 753 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 749 | 754 |
| 750 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 755 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 751 | 756 |
| 752 // Message to show/hide a popup menu using native controls. | 757 // Message to show/hide a popup menu using native controls. |
| 753 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 758 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 754 FrameHostMsg_ShowPopup_Params) | 759 FrameHostMsg_ShowPopup_Params) |
| 755 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 760 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 756 | 761 |
| 757 #endif | 762 #endif |
| OLD | NEW |