Chromium Code Reviews| 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/test/automation/autocomplete_edit_proxy.h" | |
| 13 #include "content/common/navigation_types.h" | 12 #include "content/common/navigation_types.h" |
| 14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 15 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
| 16 #include "net/url_request/url_request_status.h" | 15 #include "net/url_request/url_request_status.h" |
| 17 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 18 #include "webkit/glue/window_open_disposition.h" | 17 #include "webkit/glue/window_open_disposition.h" |
| 19 | 18 |
|
Peter Kasting
2011/06/01 18:39:34
Nit: Too many blank lines
Paweł Hajdan Jr.
2011/06/01 19:20:15
This is needed to avoid breaking the reference bui
Peter Kasting
2011/06/01 20:28:33
Then I suggest putting the blank lines below the c
| |
| 20 | 19 |
| 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 |
| 28 // define the IDs based on __LINE__, to allow these IPC messages to be | 28 // define the IDs based on __LINE__, to allow these IPC messages to be |
| 29 // used to control an old version of Chrome we need the message IDs to | 29 // used to control an old version of Chrome we need the message IDs to |
| 30 // remain the same. This means that you should not change the line number | 30 // remain the same. This means that you should not change the line number |
| (...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1486 // Sent when the renderer has completed or canceled a client redirect for a | 1486 // Sent when the renderer has completed or canceled a client redirect for a |
| 1487 // particular frame. This message may be sent multiple times for the same | 1487 // particular frame. This message may be sent multiple times for the same |
| 1488 // redirect. | 1488 // redirect. |
| 1489 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, | 1489 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, |
| 1490 int64 /* frame_id */) | 1490 int64 /* frame_id */) |
| 1491 | 1491 |
| 1492 | 1492 |
| 1493 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. | 1493 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. |
| 1494 // This is the section for renderer -> browser automation messages. If it is | 1494 // This is the section for renderer -> browser automation messages. If it is |
| 1495 // an automation <-> browser message, put it above this section. | 1495 // an automation <-> browser message, put it above this section. |
| OLD | NEW |