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 IPC_MESSAGE_ROUTED0(FrameMsg_Stop) | |
Charlie Reis
2014/08/19 21:32:32
Let's add a comment here.
nasko
2014/08/20 14:15:17
Done.
| |
375 | |
374 // Request for the renderer to insert CSS into the frame. | 376 // Request for the renderer to insert CSS into the frame. |
375 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, | 377 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, |
376 std::string /* css */) | 378 std::string /* css */) |
377 | 379 |
378 // Request for the renderer to execute JavaScript in the frame's context. | 380 // Request for the renderer to execute JavaScript in the frame's context. |
379 // | 381 // |
380 // javascript is the string containing the JavaScript to be executed in the | 382 // javascript is the string containing the JavaScript to be executed in the |
381 // target frame's context. | 383 // target frame's context. |
382 // | 384 // |
383 // If the third parameter is true the result is sent back to the browser using | 385 // 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... | |
705 std::string /* selector */, | 707 std::string /* selector */, |
706 std::string /* markup */) | 708 std::string /* markup */) |
707 | 709 |
708 // Tells the browser to perform a navigation. | 710 // Tells the browser to perform a navigation. |
709 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, | 711 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, |
710 FrameHostMsg_BeginNavigation_Params) | 712 FrameHostMsg_BeginNavigation_Params) |
711 | 713 |
712 // Sent once a paint happens after the first non empty layout. In other words | 714 // Sent once a paint happens after the first non empty layout. In other words |
713 // after the frame has painted something. | 715 // after the frame has painted something. |
714 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 716 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
OLD | NEW |