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

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

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 9 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
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 290
291 // Tells the renderer to perform the specified navigation, interrupting any 291 // Tells the renderer to perform the specified navigation, interrupting any
292 // existing navigation. 292 // existing navigation.
293 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 293 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
294 294
295 // Instructs the frame to swap out for a cross-site transition, including 295 // Instructs the frame to swap out for a cross-site transition, including
296 // running the unload event handler. Expects a SwapOut_ACK message when 296 // running the unload event handler. Expects a SwapOut_ACK message when
297 // finished. 297 // finished.
298 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut) 298 IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)
299 299
300 // Request for the renderer to insert CSS into the frame.
301 IPC_MESSAGE_ROUTED1(FrameMsg_CSSInsertRequest,
302 std::string /* css string */)
nasko 2014/03/06 19:31:55 nit: The comment should match the parameter name.
Avi (use Gerrit) 2014/03/06 21:21:04 Done.
303
300 // ----------------------------------------------------------------------------- 304 // -----------------------------------------------------------------------------
301 // Messages sent from the renderer to the browser. 305 // Messages sent from the renderer to the browser.
302 306
303 // Sent by the renderer when a child frame is created in the renderer. 307 // Sent by the renderer when a child frame is created in the renderer.
304 // 308 //
305 // Each of these messages will have a corresponding FrameHostMsg_Detach message 309 // Each of these messages will have a corresponding FrameHostMsg_Detach message
306 // sent when the frame is detached from the DOM. 310 // sent when the frame is detached from the DOM.
307 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, 311 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame,
308 int32 /* parent_routing_id */, 312 int32 /* parent_routing_id */,
309 std::string /* frame_name */, 313 std::string /* frame_name */,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // content area, and a context menu should be shown for it. The params 442 // content area, and a context menu should be shown for it. The params
439 // object contains information about the node(s) that were selected when the 443 // object contains information about the node(s) that were selected when the
440 // user right clicked. 444 // user right clicked.
441 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 445 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
442 446
443 // Initial drawing parameters for a child frame that has been swapped out to 447 // Initial drawing parameters for a child frame that has been swapped out to
444 // another process. 448 // another process.
445 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 449 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
446 gfx::Rect /* frame_rect */, 450 gfx::Rect /* frame_rect */,
447 float /* scale_factor */) 451 float /* scale_factor */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698