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" |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 // It is a notification that a navigation failed | 845 // It is a notification that a navigation failed |
846 // Request: | 846 // Request: |
847 // -int : The status code. | 847 // -int : The status code. |
848 // -GURL: The URL we failed to navigate to. | 848 // -GURL: The URL we failed to navigate to. |
849 // Response: | 849 // Response: |
850 // None expected | 850 // None expected |
851 IPC_MESSAGE_ROUTED2(AutomationMsg_NavigationFailed, | 851 IPC_MESSAGE_ROUTED2(AutomationMsg_NavigationFailed, |
852 int, | 852 int, |
853 GURL) | 853 GURL) |
854 | 854 |
855 #if defined(OS_WIN) | 855 #if defined(OS_WIN) && !defined(USE_AURA) |
856 // This message is an outgoing message from an automation client to Chrome. | 856 // This message is an outgoing message from an automation client to Chrome. |
857 // It is used to reposition a chrome tab window. | 857 // It is used to reposition a chrome tab window. |
858 IPC_MESSAGE_CONTROL2(AutomationMsg_TabReposition, | 858 IPC_MESSAGE_CONTROL2(AutomationMsg_TabReposition, |
859 int /* tab handle */, | 859 int /* tab handle */, |
860 Reposition_Params /* SetWindowPos params */) | 860 Reposition_Params /* SetWindowPos params */) |
861 #endif // defined(OS_WIN) | 861 #endif // defined(OS_WIN) |
862 | 862 |
863 // Gets the title of the top level browser window. | 863 // Gets the title of the top level browser window. |
864 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_WindowTitle, | 864 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_WindowTitle, |
865 int /* automation handle */, | 865 int /* automation handle */, |
(...skipping 620 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 |