Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Side by Side Diff: content/common/frame_messages.h

Issue 281663002: Create RenderFrameProxyHost at time of swap-out instead of commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/render_view_host/GetRenderViewHost/ Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 // Tells the renderer to perform the specified navigation, interrupting any 295 // Tells the renderer to perform the specified navigation, interrupting any
296 // existing navigation. 296 // existing navigation.
297 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 297 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
298 298
299 // Instructs the renderer to invoke the frame's beforeunload event handler. 299 // Instructs the renderer to invoke the frame's beforeunload event handler.
300 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. 300 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK.
301 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) 301 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload)
302 302
303 // Instructs the frame to swap out for a cross-site transition, including 303 // Instructs the frame to swap out for a cross-site transition, including
304 // running the unload event handler. Expects a SwapOut_ACK message when 304 // running the unload event handler and creating a RenderFrameProxy with the
305 // finished. 305 // given |proxy_routing_id|. Expects a SwapOut_ACK message when finished.
306 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) 306 IPC_MESSAGE_ROUTED1(FrameMsg_SwapOut,
307 int /* proxy_routing_id */)
307 308
308 // Request for the renderer to insert CSS into the frame. 309 // Request for the renderer to insert CSS into the frame.
309 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest, 310 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest,
310 std::string /* css */) 311 std::string /* css */)
311 312
312 // Request for the renderer to execute JavaScript in the frame's context. 313 // Request for the renderer to execute JavaScript in the frame's context.
313 // 314 //
314 // javascript is the string containing the JavaScript to be executed in the 315 // javascript is the string containing the JavaScript to be executed in the
315 // target frame's context. 316 // target frame's context.
316 // 317 //
(...skipping 29 matching lines...) Expand all
346 // doing so. 347 // doing so.
347 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, 348 IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
348 bool /* ignore_cache */) 349 bool /* ignore_cache */)
349 350
350 // Notifies the color chooser client that the user selected a color. 351 // Notifies the color chooser client that the user selected a color.
351 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) 352 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor)
352 353
353 // Notifies the color chooser client that the color chooser has ended. 354 // Notifies the color chooser client that the color chooser has ended.
354 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) 355 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned)
355 356
357 // Notifies the corresponding RenderFrameProxy object to replace itself with the
358 // RenderFrame object it is associated with.
359 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy)
ncarter (slow) 2014/05/16 20:56:17 Since this is routed to a RenderFrameProxy, should
nasko 2014/05/16 23:10:42 Probably. I've avoided introducing Proxy prefix fo
360
356 // ----------------------------------------------------------------------------- 361 // -----------------------------------------------------------------------------
357 // Messages sent from the renderer to the browser. 362 // Messages sent from the renderer to the browser.
358 363
359 // Blink and JavaScript error messages to log to the console 364 // Blink and JavaScript error messages to log to the console
360 // or debugger UI. 365 // or debugger UI.
361 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, 366 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
362 int32, /* log level */ 367 int32, /* log level */
363 base::string16, /* msg */ 368 base::string16, /* msg */
364 int32, /* line number */ 369 int32, /* line number */
365 base::string16 /* source id */ ) 370 base::string16 /* source id */ )
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 SkColor /* color */) 599 SkColor /* color */)
595 600
596 // Notifies the browser that media has started/stopped playing. 601 // Notifies the browser that media has started/stopped playing.
597 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, 602 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification,
598 int64 /* player_cookie, distinguishes instances */, 603 int64 /* player_cookie, distinguishes instances */,
599 bool /* has_video */, 604 bool /* has_video */,
600 bool /* has_audio */) 605 bool /* has_audio */)
601 606
602 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 607 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
603 int64 /* player_cookie, distinguishes instances */) 608 int64 /* player_cookie, distinguishes instances */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698