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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 1572a4f10c1b4b16c864f40dcba96d4bb2bbc727..fe603b0d672bcd9e3f4ac7387e81dac872899320 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -342,6 +342,14 @@ IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
+// Blink and JavaScript error messages to log to the console
+// or debugger UI.
+IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
+ int32, /* log level */
+ base::string16, /* msg */
+ int32, /* line number */
+ base::string16 /* source id */ )
+
// Sent by the renderer when a child frame is created in the renderer.
//
// Each of these messages will have a corresponding FrameHostMsg_Detach message
« 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