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 // Defines the IPC messages used by the automation interface. | 5 // Defines the IPC messages used by the automation interface. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/common/content_settings.h" | 11 #include "chrome/common/content_settings.h" |
12 #include "chrome/common/navigation_types.h" | 12 #include "chrome/common/navigation_types.h" |
13 #include "chrome/test/automation/autocomplete_edit_proxy.h" | 13 #include "chrome/test/automation/autocomplete_edit_proxy.h" |
14 #include "gfx/rect.h" | |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
17 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
| 17 #include "ui/gfx/rect.h" |
18 | 18 |
19 | 19 |
20 | 20 |
21 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous | 21 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous |
22 // messages), or one that's been assigned by the proxy (for calls | 22 // messages), or one that's been assigned by the proxy (for calls |
23 // which expect a response). The routing_id shouldn't be used for | 23 // which expect a response). The routing_id shouldn't be used for |
24 // any other purpose in these message types. | 24 // any other purpose in these message types. |
25 | 25 |
26 // NOTE: All the new IPC messages should go at the end. | 26 // NOTE: All the new IPC messages should go at the end. |
27 // The IPC message IDs need to match the reference builds. Since we now | 27 // The IPC message IDs need to match the reference builds. Since we now |
(...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 // while performing stress testing. | 1443 // while performing stress testing. |
1444 IPC_MESSAGE_ROUTED3(AutomationMsg_JavaScriptStressTestControl, | 1444 IPC_MESSAGE_ROUTED3(AutomationMsg_JavaScriptStressTestControl, |
1445 int /* tab handle */, | 1445 int /* tab handle */, |
1446 int /* command */, | 1446 int /* command */, |
1447 int /* type or run */) | 1447 int /* type or run */) |
1448 | 1448 |
1449 // This message posts a task to the PROCESS_LAUNCHER thread. Once processed | 1449 // This message posts a task to the PROCESS_LAUNCHER thread. Once processed |
1450 // the response is sent back. This is useful when you want to make sure all | 1450 // the response is sent back. This is useful when you want to make sure all |
1451 // changes to the number of processes have completed. | 1451 // changes to the number of processes have completed. |
1452 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_WaitForProcessLauncherThreadToGoIdle) | 1452 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_WaitForProcessLauncherThreadToGoIdle) |
OLD | NEW |