OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Developer tools consist of the following parts: | 5 // Developer tools consist of the following parts: |
6 // | 6 // |
7 // DevToolsAgent lives in the renderer of an inspected page and provides access | 7 // DevToolsAgent lives in the renderer of an inspected page and provides access |
8 // to the pages resources, DOM, v8 etc. by means of IPC messages. | 8 // to the pages resources, DOM, v8 etc. by means of IPC messages. |
9 // | 9 // |
10 // DevToolsClient is a thin delegate that lives in the tools front-end | 10 // DevToolsClient is a thin delegate that lives in the tools front-end |
(...skipping 25 matching lines...) Expand all Loading... |
36 // | (inspected page renderer process) | | 36 // | (inspected page renderer process) | |
37 // ----------------------------------- | 37 // ----------------------------------- |
38 // | 38 // |
39 // This file describes developer tools message types. | 39 // This file describes developer tools message types. |
40 | 40 |
41 // Multiply-included message file, no standard include guard. | 41 // Multiply-included message file, no standard include guard. |
42 #include <map> | 42 #include <map> |
43 #include <string> | 43 #include <string> |
44 | 44 |
45 #include "content/common/content_export.h" | 45 #include "content/common/content_export.h" |
| 46 #include "content/public/common/common_param_traits.h" |
46 #include "content/public/common/console_message_level.h" | 47 #include "content/public/common/console_message_level.h" |
47 #include "ipc/ipc_message_macros.h" | 48 #include "ipc/ipc_message_macros.h" |
48 | 49 |
49 #undef IPC_MESSAGE_EXPORT | 50 #undef IPC_MESSAGE_EXPORT |
50 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 51 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
51 | 52 |
52 #define IPC_MESSAGE_START DevToolsMsgStart | 53 #define IPC_MESSAGE_START DevToolsMsgStart |
53 | 54 |
54 // These are messages sent from DevToolsAgent to DevToolsClient through the | 55 // These are messages sent from DevToolsAgent to DevToolsClient through the |
55 // browser. | 56 // browser. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, | 126 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, |
126 std::string /* compatibility script */) | 127 std::string /* compatibility script */) |
127 | 128 |
128 | 129 |
129 //----------------------------------------------------------------------------- | 130 //----------------------------------------------------------------------------- |
130 // These are messages sent from the renderer to the browser. | 131 // These are messages sent from the renderer to the browser. |
131 | 132 |
132 // Transport from Inspector frontend to frontend host. | 133 // Transport from Inspector frontend to frontend host. |
133 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, | 134 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, |
134 std::string /* message */) | 135 std::string /* message */) |
OLD | NEW |