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

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

Issue 217183004: Migrate addMessageToConsole API to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix the test_runner Created 6 years, 8 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 int /* after */) 335 int /* after */)
336 336
337 // Tells the renderer to reload the frame, optionally ignoring the cache while 337 // Tells the renderer to reload the frame, optionally ignoring the cache while
338 // doing so. 338 // doing so.
339 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, 339 IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
340 bool /* ignore_cache */) 340 bool /* ignore_cache */)
341 341
342 // ----------------------------------------------------------------------------- 342 // -----------------------------------------------------------------------------
343 // Messages sent from the renderer to the browser. 343 // Messages sent from the renderer to the browser.
344 344
345 // Blink and JavaScript error messages to log to the console
346 // or debugger UI.
347 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
348 int32, /* log level */
349 base::string16, /* msg */
350 int32, /* line number */
351 base::string16 /* source id */ )
352
345 // Sent by the renderer when a child frame is created in the renderer. 353 // Sent by the renderer when a child frame is created in the renderer.
346 // 354 //
347 // Each of these messages will have a corresponding FrameHostMsg_Detach message 355 // Each of these messages will have a corresponding FrameHostMsg_Detach message
348 // sent when the frame is detached from the DOM. 356 // sent when the frame is detached from the DOM.
349 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, 357 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame,
350 int32 /* parent_routing_id */, 358 int32 /* parent_routing_id */,
351 std::string /* frame_name */, 359 std::string /* frame_name */,
352 int32 /* new_routing_id */) 360 int32 /* new_routing_id */)
353 361
354 // Sent by the renderer to the parent RenderFrameHost when a child frame is 362 // Sent by the renderer to the parent RenderFrameHost when a child frame is
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 float /* scale_factor */) 513 float /* scale_factor */)
506 514
507 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was 515 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
508 // requested. The ID is the parameter supplied to 516 // requested. The ID is the parameter supplied to
509 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the 517 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the
510 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 518 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
511 // String. 519 // String.
512 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, 520 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse,
513 int /* id */, 521 int /* id */,
514 base::ListValue /* result */) 522 base::ListValue /* result */)
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