| 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 // needed to support navigation transitions. | 511 // needed to support navigation transitions. |
| 512 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string) | 512 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string) |
| 513 | 513 |
| 514 // Change the accessibility mode in the renderer process. | 514 // Change the accessibility mode in the renderer process. |
| 515 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 515 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
| 516 AccessibilityMode) | 516 AccessibilityMode) |
| 517 | 517 |
| 518 // Dispatch a load event in the iframe element containing this frame. | 518 // Dispatch a load event in the iframe element containing this frame. |
| 519 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 519 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
| 520 | 520 |
| 521 // Update a proxy's window.name property. Used when the frame's name is |
| 522 // changed in another process. |
| 523 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
| 524 |
| 521 #if defined(OS_ANDROID) | 525 #if defined(OS_ANDROID) |
| 522 | 526 |
| 523 // External popup menus. | 527 // External popup menus. |
| 524 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, | 528 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, |
| 525 bool /* user canceled the popup */, | 529 bool /* user canceled the popup */, |
| 526 std::vector<int> /* selected indices */) | 530 std::vector<int> /* selected indices */) |
| 527 | 531 |
| 528 #elif defined(OS_MACOSX) | 532 #elif defined(OS_MACOSX) |
| 529 | 533 |
| 530 // External popup menus. | 534 // External popup menus. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 | 618 |
| 615 // Sent when the renderer starts loading the page. |to_different_document| will | 619 // Sent when the renderer starts loading the page. |to_different_document| will |
| 616 // be true unless the load is a fragment navigation, or triggered by | 620 // be true unless the load is a fragment navigation, or triggered by |
| 617 // history.pushState/replaceState. | 621 // history.pushState/replaceState. |
| 618 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, | 622 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 619 bool /* to_different_document */) | 623 bool /* to_different_document */) |
| 620 | 624 |
| 621 // Sent when the renderer is done loading a page. | 625 // Sent when the renderer is done loading a page. |
| 622 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 626 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
| 623 | 627 |
| 628 // Sent when the frame changes its window.name. |
| 629 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) |
| 630 |
| 624 // Sent when the renderer changed the progress of a load. | 631 // Sent when the renderer changed the progress of a load. |
| 625 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, | 632 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, |
| 626 double /* load_progress */) | 633 double /* load_progress */) |
| 627 | 634 |
| 628 // Requests that the given URL be opened in the specified manner. | 635 // Requests that the given URL be opened in the specified manner. |
| 629 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 636 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
| 630 | 637 |
| 631 // Notifies the browser that a frame finished loading. | 638 // Notifies the browser that a frame finished loading. |
| 632 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 639 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
| 633 GURL /* validated_url */) | 640 GURL /* validated_url */) |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 870 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 864 | 871 |
| 865 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 872 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 866 | 873 |
| 867 // Message to show/hide a popup menu using native controls. | 874 // Message to show/hide a popup menu using native controls. |
| 868 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 875 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 869 FrameHostMsg_ShowPopup_Params) | 876 FrameHostMsg_ShowPopup_Params) |
| 870 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 877 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 871 | 878 |
| 872 #endif | 879 #endif |
| OLD | NEW |