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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 | 9 |
10 #define IPC_MESSAGE_START ShellMsgStart | 10 #define IPC_MESSAGE_START ShellMsgStart |
11 | 11 |
12 // Tells the render view to capture a text dump of the page. The render view | 12 // Tells the render view to capture a text dump of the page. The render view |
13 // responds with a ShellViewHostMsg_TextDump. | 13 // responds with a ShellViewHostMsg_TextDump. |
14 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureTextDump, | 14 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureTextDump, |
15 bool /* recursive */) | 15 bool /* recursive */) |
16 | 16 |
17 // Send a text dump of the tab contents to the render host. | 17 // Send a text dump of the WebContents to the render host. |
18 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, | 18 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, |
19 std::string /* dump */) | 19 std::string /* dump */) |
20 | 20 |
21 // The following messages correspond to methods of the layoutTestController. | 21 // The following messages correspond to methods of the layoutTestController. |
22 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone) | 22 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone) |
23 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText) | 23 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText) |
24 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText) | 24 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText) |
25 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone) | 25 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone) |
OLD | NEW |