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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 10534147: Allow platform apps to open links in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move ConsoleMessageLevel to common_param_traits Created 8 years, 6 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 | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/renderer/extensions/extension_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index a79c9def51b9723a9858ed67f72d183ae26e1334..6dd227979e46c90fb61fb3fcc6a814803074dd56 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -13,6 +13,8 @@
#include "chrome/common/extensions/url_pattern_set.h"
#include "chrome/common/view_type.h"
#include "chrome/common/web_apps.h"
+#include "content/public/common/common_param_traits.h"
+#include "content/public/common/console_message_level.h"
jam 2012/06/14 03:59:55 nit: redundant, since you're including common_para
Mihai Parparita -not on Chrome 2012/06/14 23:10:08 Done (though then in theory it's not Include-What-
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START ExtensionMsgStart
@@ -325,6 +327,11 @@ IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect,
IPC_MESSAGE_CONTROL1(ExtensionMsg_SetChannel,
int /* channel */)
+// Adds a logging message to the renderer's root frame DevTools console.
+IPC_MESSAGE_ROUTED2(ExtensionMsg_AddMessageToConsole,
+ content::ConsoleMessageLevel /* level */,
+ std::string /* message */)
+
// Messages sent from the renderer to the browser.
// A renderer sends this message when an extension process starts an API
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/renderer/extensions/extension_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698