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" | |
13 #include "chrome/test/automation/autocomplete_edit_proxy.h" | 12 #include "chrome/test/automation/autocomplete_edit_proxy.h" |
| 13 #include "content/common/navigation_types.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
16 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/rect.h" |
18 #include "webkit/glue/window_open_disposition.h" | 18 #include "webkit/glue/window_open_disposition.h" |
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 |
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) |
1453 | 1453 |
1454 // Gets a handle of the browser that owns the given tab. | 1454 // Gets a handle of the browser that owns the given tab. |
1455 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetParentBrowserOfTab, | 1455 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetParentBrowserOfTab, |
1456 int /* tab handle */, | 1456 int /* tab handle */, |
1457 int /* browser handle */, | 1457 int /* browser handle */, |
1458 bool /* success */) | 1458 bool /* success */) |
OLD | NEW |