summaryrefslogtreecommitdiffstats
path: root/content/common/devtools_messages.h
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 00:41:44 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 00:41:44 +0000
commit5b1a04b49b0b58b8268415118c89f3056cbd1fac (patch)
treea81fc292bcfc9c2b36b826dd6253d89a5339e06c /content/common/devtools_messages.h
parent15c532e6a94646f9d5ed40af9bcb60a28a30a7ec (diff)
downloadchromium_src-5b1a04b49b0b58b8268415118c89f3056cbd1fac.zip
chromium_src-5b1a04b49b0b58b8268415118c89f3056cbd1fac.tar.gz
chromium_src-5b1a04b49b0b58b8268415118c89f3056cbd1fac.tar.bz2
Allow platform apps to open links in the browser.
Triggered via <a href="..." target="_blank"> or window.open('...'). R=miket@chromium.org BUG=130213 Review URL: https://chromiumcodereview.appspot.com/10534147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142292 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/devtools_messages.h')
-rw-r--r--content/common/devtools_messages.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/content/common/devtools_messages.h b/content/common/devtools_messages.h
index 4f2d078..9acaf5d 100644
--- a/content/common/devtools_messages.h
+++ b/content/common/devtools_messages.h
@@ -43,6 +43,7 @@
#include <string>
#include "content/common/content_export.h"
+#include "content/public/common/common_param_traits.h"
#include "content/public/common/console_message_level.h"
#include "ipc/ipc_message_macros.h"
@@ -51,24 +52,6 @@
#define IPC_MESSAGE_START DevToolsMsgStart
-// Singly-included section since need custom serialization.
-#ifndef CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-#define CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-
-namespace IPC {
-
-template<>
-struct ParamTraits<content::ConsoleMessageLevel> {
- typedef content::ConsoleMessageLevel param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, PickleIterator* iter, param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-} // namespace IPC
-
-#endif // CONTENT_COMMON_DEVTOOLS_MESSAGES_H_
-
// These are messages sent from DevToolsAgent to DevToolsClient through the
// browser.
// WebKit-level transport.