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

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: 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index d5fc7ca04a00c40abd35218bcd856fdb6a770da0..a4c38b4cb9baac05cfafed75b8526f9a8bbc05fd 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -337,6 +337,14 @@ IPC_MESSAGE_ROUTED2(FrameMsg_ExtendSelectionAndDelete,
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
+// WebKit and JavaScript error messages to log to the console
nasko 2014/03/28 23:05:05 nit: Blink
mkosiba (inactive) 2014/03/31 09:48:41 Done.
+// 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

Powered by Google App Engine
This is Rietveld 408576698