Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1088 // The pair |windex| and |tab_index| or the single |auto_id| must be given | 1088 // The pair |windex| and |tab_index| or the single |auto_id| must be given |
| 1089 // to specify the tab. | 1089 // to specify the tab. |
| 1090 // Example: | 1090 // Example: |
| 1091 // input: { "windex": 1, | 1091 // input: { "windex": 1, |
| 1092 // "tab_index": 1, | 1092 // "tab_index": 1, |
| 1093 // "auto_id": { "type": 0, "id": "awoein" } | 1093 // "auto_id": { "type": 0, "id": "awoein" } |
| 1094 // } | 1094 // } |
| 1095 // output: none | 1095 // output: none |
| 1096 void CloseTabJSON(base::DictionaryValue* args, IPC::Message* reply_message); | 1096 void CloseTabJSON(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1097 | 1097 |
| 1098 // Sets the specified view bounds. | |
|
dennis_jeffrey
2012/01/27 16:23:29
Is it clear what "view" we're talking about here?
kkania
2012/01/27 22:48:31
i suppose it would be more clear by adding web to
| |
| 1099 // The single |auto_id| must be given to specify the view. | |
| 1100 // This method currently is only supported for tabs. | |
| 1101 // Example: | |
| 1102 // input: { "auto_id": { "type": 0, "id": "awoein" }, | |
| 1103 // "bounds": { | |
| 1104 // "x": 100, | |
| 1105 // "y": 200, | |
| 1106 // "width": 500, | |
| 1107 // "height": 800 | |
| 1108 // } | |
| 1109 // } | |
| 1110 // output: none | |
| 1111 void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message); | |
| 1112 | |
| 1098 // Sends the WebKit events for a mouse click at a given coordinate. | 1113 // Sends the WebKit events for a mouse click at a given coordinate. |
| 1099 // The pair |windex| and |tab_index| or the single |auto_id| must be given | 1114 // The pair |windex| and |tab_index| or the single |auto_id| must be given |
| 1100 // to specify the render view. | 1115 // to specify the render view. |
| 1101 // Example: | 1116 // Example: |
| 1102 // input: { "windex": 1, | 1117 // input: { "windex": 1, |
| 1103 // "tab_index": 1, | 1118 // "tab_index": 1, |
| 1104 // "auto_id": { "type": 0, "id": "awoein" }, | 1119 // "auto_id": { "type": 0, "id": "awoein" }, |
| 1105 // "button": automation::kLeftButton, | 1120 // "button": automation::kLeftButton, |
| 1106 // "x": 100, | 1121 // "x": 100, |
| 1107 // "y": 100 | 1122 // "y": 100 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1528 // Used to enumerate browser profiles. | 1543 // Used to enumerate browser profiles. |
| 1529 scoped_refptr<ImporterList> importer_list_; | 1544 scoped_refptr<ImporterList> importer_list_; |
| 1530 | 1545 |
| 1531 // The stored data for the ImportSettings operation. | 1546 // The stored data for the ImportSettings operation. |
| 1532 ImportSettingsData import_settings_data_; | 1547 ImportSettingsData import_settings_data_; |
| 1533 | 1548 |
| 1534 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1549 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1535 }; | 1550 }; |
| 1536 | 1551 |
| 1537 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1552 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |