| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 26 matching lines...) Expand all Loading... |
| 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 "ipc/ipc_message_macros.h" | 45 #include "ipc/ipc_message_macros.h" |
| 46 | 46 |
| 47 // Singly-included section not yet converted. | 47 // Singly-included section. |
| 48 #ifndef CHROME_COMMON_DEVTOOLS_MESSAGES_H_ | 48 #ifndef CHROME_COMMON_DEVTOOLS_MESSAGES_H_ |
| 49 #define CHROME_COMMON_DEVTOOLS_MESSAGES_H_ | 49 #define CHROME_COMMON_DEVTOOLS_MESSAGES_H_ |
| 50 | 50 |
| 51 typedef std::map<std::string, std::string> DevToolsRuntimeProperties; | 51 typedef std::map<std::string, std::string> DevToolsRuntimeProperties; |
| 52 | 52 |
| 53 #endif // CHROME_COMMON_DEVTOOLS_MESSAGES_H_ | 53 #endif // CHROME_COMMON_DEVTOOLS_MESSAGES_H_ |
| 54 | 54 |
| 55 #define IPC_MESSAGE_START DevToolsMsgStart | 55 #define IPC_MESSAGE_START DevToolsMsgStart |
| 56 | 56 |
| 57 // These are messages sent from DevToolsAgent to DevToolsClient through the | 57 // These are messages sent from DevToolsAgent to DevToolsClient through the |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, | 93 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_DebuggerCommand, |
| 94 std::string /* command */) | 94 std::string /* command */) |
| 95 | 95 |
| 96 // Inspect element with the given coordinates. | 96 // Inspect element with the given coordinates. |
| 97 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, | 97 IPC_MESSAGE_CONTROL2(DevToolsAgentMsg_InspectElement, |
| 98 int /* x */, | 98 int /* x */, |
| 99 int /* y */) | 99 int /* y */) |
| 100 | 100 |
| 101 // Enables/disables the apu agent. | 101 // Enables/disables the apu agent. |
| 102 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */) | 102 IPC_MESSAGE_CONTROL1(DevToolsAgentMsg_SetApuAgentEnabled, bool /* enabled */) |
| 103 | |
| OLD | NEW |