| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 // Instructs the renderer to invoke the frame's beforeunload event handler. | 364 // Instructs the renderer to invoke the frame's beforeunload event handler. |
| 365 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. | 365 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. |
| 366 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) | 366 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) |
| 367 | 367 |
| 368 // Instructs the frame to swap out for a cross-site transition, including | 368 // Instructs the frame to swap out for a cross-site transition, including |
| 369 // running the unload event handler and creating a RenderFrameProxy with the | 369 // running the unload event handler and creating a RenderFrameProxy with the |
| 370 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. | 370 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished. |
| 371 IPC_MESSAGE_ROUTED1(FrameMsg_SwapOut, | 371 IPC_MESSAGE_ROUTED1(FrameMsg_SwapOut, |
| 372 int /* proxy_routing_id */) | 372 int /* proxy_routing_id */) |
| 373 | 373 |
| 374 // Instructs the frame to stop the load in progress, if any. | |
| 375 IPC_MESSAGE_ROUTED0(FrameMsg_Stop) | |
| 376 | |
| 377 // Request for the renderer to insert CSS into the frame. | 374 // Request for the renderer to insert CSS into the frame. |
| 378 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, | 375 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, |
| 379 std::string /* css */) | 376 std::string /* css */) |
| 380 | 377 |
| 381 // Request for the renderer to execute JavaScript in the frame's context. | 378 // Request for the renderer to execute JavaScript in the frame's context. |
| 382 // | 379 // |
| 383 // javascript is the string containing the JavaScript to be executed in the | 380 // javascript is the string containing the JavaScript to be executed in the |
| 384 // target frame's context. | 381 // target frame's context. |
| 385 // | 382 // |
| 386 // If the third parameter is true the result is sent back to the browser using | 383 // If the third parameter is true the result is sent back to the browser using |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 std::string /* selector */, | 705 std::string /* selector */, |
| 709 std::string /* markup */) | 706 std::string /* markup */) |
| 710 | 707 |
| 711 // Tells the browser to perform a navigation. | 708 // Tells the browser to perform a navigation. |
| 712 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 709 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
| 713 FrameHostMsg_BeginNavigation_Params) | 710 FrameHostMsg_BeginNavigation_Params) |
| 714 | 711 |
| 715 // Sent once a paint happens after the first non empty layout. In other words | 712 // Sent once a paint happens after the first non empty layout. In other words |
| 716 // after the frame has painted something. | 713 // after the frame has painted something. |
| 717 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 714 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| OLD | NEW |