OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 24 matching lines...) Expand all Loading... |
35 // | | | 35 // | | |
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 "ipc/ipc_message_macros.h" | 46 #include "ipc/ipc_message_macros.h" |
46 | 47 |
47 // Singly-included section. | 48 // Singly-included section. |
48 #ifndef CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ | 49 #ifndef CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ |
49 #define CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ | 50 #define CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ |
50 | 51 |
51 typedef std::map<std::string, std::string> DevToolsRuntimeProperties; | 52 typedef std::map<std::string, std::string> DevToolsRuntimeProperties; |
52 | 53 |
53 #endif // CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ | 54 #endif // CONTENT_COMMON_DEVTOOLS_MESSAGES_H_ |
54 | 55 |
| 56 #undef IPC_MESSAGE_EXPORT |
| 57 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 58 |
55 #define IPC_MESSAGE_START DevToolsMsgStart | 59 #define IPC_MESSAGE_START DevToolsMsgStart |
56 | 60 |
57 // These are messages sent from DevToolsAgent to DevToolsClient through the | 61 // These are messages sent from DevToolsAgent to DevToolsClient through the |
58 // browser. | 62 // browser. |
59 // WebKit-level transport. | 63 // WebKit-level transport. |
60 IPC_MESSAGE_ROUTED1(DevToolsClientMsg_DispatchOnInspectorFrontend, | 64 IPC_MESSAGE_ROUTED1(DevToolsClientMsg_DispatchOnInspectorFrontend, |
61 std::string /* message */) | 65 std::string /* message */) |
62 | 66 |
63 // Legacy debugger output message. | 67 // Legacy debugger output message. |
64 IPC_MESSAGE_ROUTED1(DevToolsClientMsg_DebuggerOutput, | 68 IPC_MESSAGE_ROUTED1(DevToolsClientMsg_DebuggerOutput, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // Clears browser cache. | 153 // Clears browser cache. |
150 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) | 154 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCache) |
151 | 155 |
152 // Clears browser cookies. | 156 // Clears browser cookies. |
153 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) | 157 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_ClearBrowserCookies) |
154 | 158 |
155 | 159 |
156 //----------------------------------------------------------------------------- | 160 //----------------------------------------------------------------------------- |
157 // These are messages sent from the inspected page renderer to the worker | 161 // These are messages sent from the inspected page renderer to the worker |
158 // renderer. | 162 // renderer. |
OLD | NEW |