OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Defines the IPC messages used by the automation interface. | 5 // Defines the IPC messages used by the automation interface. |
6 | 6 |
7 // This header is meant to be included in multiple passes, hence no traditional | 7 // This header is meant to be included in multiple passes, hence no traditional |
8 // header guard. | 8 // header guard. |
9 // See ipc_message_macros.h for explanation of the macros and passes. | 9 // See ipc_message_macros.h for explanation of the macros and passes. |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/gfx/rect.h" | 15 #include "base/gfx/rect.h" |
16 #include "base/string16.h" | 16 #include "base/string16.h" |
17 #include "chrome/common/ipc_message_macros.h" | |
18 #include "chrome/common/navigation_types.h" | 17 #include "chrome/common/navigation_types.h" |
19 #include "chrome/test/automation/autocomplete_edit_proxy.h" | 18 #include "chrome/test/automation/autocomplete_edit_proxy.h" |
20 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 20 #include "ipc/ipc_message_macros.h" |
21 | 21 |
22 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous | 22 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous |
23 // messages), or one that's been assigned by the proxy (for calls | 23 // messages), or one that's been assigned by the proxy (for calls |
24 // which expect a response). The routing_id shouldn't be used for | 24 // which expect a response). The routing_id shouldn't be used for |
25 // any other purpose in these message types. | 25 // any other purpose in these message types. |
26 | 26 |
27 // NOTE: All the new IPC messages should go at the end (before IPC_END_MESSAGES) | 27 // NOTE: All the new IPC messages should go at the end (before IPC_END_MESSAGES) |
28 // The IPC message IDs are part of an enum and hence the value | 28 // The IPC message IDs are part of an enum and hence the value |
29 // assumed to be constant across the builds may change. | 29 // assumed to be constant across the builds may change. |
30 // The messages AutomationMsg_WindowHWND* in particular should not change | 30 // The messages AutomationMsg_WindowHWND* in particular should not change |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 | 954 |
955 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestEnd, | 955 IPC_MESSAGE_ROUTED3(AutomationMsg_RequestEnd, |
956 int /* tab_handle */, | 956 int /* tab_handle */, |
957 int /* request_id */, | 957 int /* request_id */, |
958 URLRequestStatus /* status */) | 958 URLRequestStatus /* status */) |
959 | 959 |
960 IPC_MESSAGE_ROUTED1(AutomationMsg_PrintAsync, | 960 IPC_MESSAGE_ROUTED1(AutomationMsg_PrintAsync, |
961 int /* tab_handle */) | 961 int /* tab_handle */) |
962 | 962 |
963 IPC_END_MESSAGES(Automation) | 963 IPC_END_MESSAGES(Automation) |
OLD | NEW |