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 // "bounds": { | 1088 // "bounds": { |
| 1089 // "x": 100, | 1089 // "x": 100, |
| 1090 // "y": 200, | 1090 // "y": 200, |
| 1091 // "width": 500, | 1091 // "width": 500, |
| 1092 // "height": 800 | 1092 // "height": 800 |
| 1093 // } | 1093 // } |
| 1094 // } | 1094 // } |
| 1095 // output: none | 1095 // output: none |
| 1096 void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message); | 1096 void SetViewBounds(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1097 | 1097 |
| 1098 // Maximizes the web view. | |
| 1099 // The single |auto_id| must be given to specify the view. | |
| 1100 // Example: | |
| 1101 // input: { "auto_id": { "type": 0, "id": "awoein" } } | |
| 1102 // output: none | |
| 1103 void MaximizeWindow(base::DictionaryValue* args, IPC::Message* reply_message); | |
|
kkania
2012/05/23 17:49:20
I'd change this to MaximizeView to be consistent.
zori
2012/05/24 00:39:33
Done.
| |
| 1104 | |
| 1098 // Sends the WebKit events for a mouse click at a given coordinate. | 1105 // 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 | 1106 // The pair |windex| and |tab_index| or the single |auto_id| must be given |
| 1100 // to specify the render view. | 1107 // to specify the render view. |
| 1101 // Example: | 1108 // Example: |
| 1102 // input: { "windex": 1, | 1109 // input: { "windex": 1, |
| 1103 // "tab_index": 1, | 1110 // "tab_index": 1, |
| 1104 // "auto_id": { "type": 0, "id": "awoein" }, | 1111 // "auto_id": { "type": 0, "id": "awoein" }, |
| 1105 // "button": automation::kLeftButton, | 1112 // "button": automation::kLeftButton, |
| 1106 // "x": 100, | 1113 // "x": 100, |
| 1107 // "y": 100 | 1114 // "y": 100 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1497 ImportSettingsData import_settings_data_; | 1504 ImportSettingsData import_settings_data_; |
| 1498 | 1505 |
| 1499 // The automation event observer queue. It is lazily created when an observer | 1506 // The automation event observer queue. It is lazily created when an observer |
| 1500 // is added to avoid overhead when not needed. | 1507 // is added to avoid overhead when not needed. |
| 1501 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1508 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1502 | 1509 |
| 1503 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1510 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1504 }; | 1511 }; |
| 1505 | 1512 |
| 1506 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1513 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |