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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 // Instructs the renderer to invoke the frame's beforeunload event handler. | 394 // Instructs the renderer to invoke the frame's beforeunload event handler. |
395 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 395 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
396 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 396 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) |
397 | 397 |
398 // Instructs the frame to swap out for a cross-site transition, including | 398 // Instructs the frame to swap out for a cross-site transition, including |
399 // running the unload event handler and creating a RenderFrameProxy with the | 399 // running the unload event handler and creating a RenderFrameProxy with the |
400 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. | 400 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. |
401 IPC_MESSAGE_ROUTED1(FrameMsg_SwapOut, | 401 IPC_MESSAGE_ROUTED1(FrameMsg_SwapOut, |
402 int /* proxy_routing_id */) | 402 int /* proxy_routing_id */) |
403 | 403 |
| 404 // Instructs the frame to stop the load in progress, if any. |
| 405 IPC_MESSAGE_ROUTED0(FrameMsg_Stop) |
| 406 |
404 // Request for the renderer to insert CSS into the frame. | 407 // Request for the renderer to insert CSS into the frame. |
405 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, | 408 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, |
406 std::string /* css */) | 409 std::string /* css */) |
407 | 410 |
408 // Request for the renderer to execute JavaScript in the frame's context. | 411 // Request for the renderer to execute JavaScript in the frame's context. |
409 // | 412 // |
410 // javascript is the string containing the JavaScript to be executed in the | 413 // javascript is the string containing the JavaScript to be executed in the |
411 // target frame's context. | 414 // target frame's context. |
412 // | 415 // |
413 // If the third parameter is true the result is sent back to the browser using | 416 // If the third parameter is true the result is sent back to the browser using |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 762 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
760 | 763 |
761 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 764 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
762 | 765 |
763 // Message to show/hide a popup menu using native controls. | 766 // Message to show/hide a popup menu using native controls. |
764 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 767 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
765 FrameHostMsg_ShowPopup_Params) | 768 FrameHostMsg_ShowPopup_Params) |
766 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 769 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
767 | 770 |
768 #endif | 771 #endif |
OLD | NEW |