| 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 // Change the accessibility mode in the renderer process. | 503 // Change the accessibility mode in the renderer process. |
| 504 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 504 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
| 505 AccessibilityMode) | 505 AccessibilityMode) |
| 506 | 506 |
| 507 // Dispatch a load event in the iframe element containing this frame. | 507 // Dispatch a load event in the iframe element containing this frame. |
| 508 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 508 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
| 509 | 509 |
| 510 // Notifies the frame that its parent has changed the frame's sandbox flags. | 510 // Notifies the frame that its parent has changed the frame's sandbox flags. |
| 511 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, content::SandboxFlags) | 511 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, content::SandboxFlags) |
| 512 | 512 |
| 513 // Update a proxy's window.name property. Used when the frame's name is |
| 514 // changed in another process. |
| 515 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
| 516 |
| 513 #if defined(OS_ANDROID) | 517 #if defined(OS_ANDROID) |
| 514 | 518 |
| 515 // External popup menus. | 519 // External popup menus. |
| 516 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, | 520 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, |
| 517 bool /* user canceled the popup */, | 521 bool /* user canceled the popup */, |
| 518 std::vector<int> /* selected indices */) | 522 std::vector<int> /* selected indices */) |
| 519 | 523 |
| 520 #elif defined(OS_MACOSX) | 524 #elif defined(OS_MACOSX) |
| 521 | 525 |
| 522 // External popup menus. | 526 // External popup menus. |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 | 611 |
| 608 // Sent when the renderer starts loading the page. |to_different_document| will | 612 // Sent when the renderer starts loading the page. |to_different_document| will |
| 609 // be true unless the load is a fragment navigation, or triggered by | 613 // be true unless the load is a fragment navigation, or triggered by |
| 610 // history.pushState/replaceState. | 614 // history.pushState/replaceState. |
| 611 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, | 615 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, |
| 612 bool /* to_different_document */) | 616 bool /* to_different_document */) |
| 613 | 617 |
| 614 // Sent when the renderer is done loading a page. | 618 // Sent when the renderer is done loading a page. |
| 615 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 619 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
| 616 | 620 |
| 621 // Sent when the frame changes its window.name. |
| 622 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) |
| 623 |
| 617 // Sent when the renderer changed the progress of a load. | 624 // Sent when the renderer changed the progress of a load. |
| 618 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, | 625 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, |
| 619 double /* load_progress */) | 626 double /* load_progress */) |
| 620 | 627 |
| 621 // Requests that the given URL be opened in the specified manner. | 628 // Requests that the given URL be opened in the specified manner. |
| 622 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 629 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
| 623 | 630 |
| 624 // Notifies the browser that a frame finished loading. | 631 // Notifies the browser that a frame finished loading. |
| 625 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 632 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
| 626 GURL /* validated_url */) | 633 GURL /* validated_url */) |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 863 | 870 |
| 864 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 871 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 865 | 872 |
| 866 // Message to show/hide a popup menu using native controls. | 873 // Message to show/hide a popup menu using native controls. |
| 867 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 874 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 868 FrameHostMsg_ShowPopup_Params) | 875 FrameHostMsg_ShowPopup_Params) |
| 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 876 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 870 | 877 |
| 871 #endif | 878 #endif |
| OLD | NEW |