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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ |
| 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 int end_y) WARN_UNUSED_RESULT; | 183 int end_y) WARN_UNUSED_RESULT; |
| 184 | 184 |
| 185 // Requests to send the WebKit event for the given |WebKeyEvent| in a | 185 // Requests to send the WebKit event for the given |WebKeyEvent| in a |
| 186 // specified tab. Returns true on success. | 186 // specified tab. Returns true on success. |
| 187 bool SendWebKeyEventJSONRequest( | 187 bool SendWebKeyEventJSONRequest( |
| 188 AutomationMessageSender* sender, | 188 AutomationMessageSender* sender, |
| 189 int browser_index, | 189 int browser_index, |
| 190 int tab_index, | 190 int tab_index, |
| 191 const WebKeyEvent& key_event) WARN_UNUSED_RESULT; | 191 const WebKeyEvent& key_event) WARN_UNUSED_RESULT; |
| 192 | 192 |
| 193 // Requests to send the WebKit event for the given |WebKeyEvent| to a | |
| 194 // browser window containing the specified tab. Returns true on success. | |
| 195 bool SendNativeWebKeyEventJSONRequest( | |
|
kkania
2011/03/10 17:00:47
drop the Web from this name
timothe faudot
2011/03/11 03:32:08
Done.
| |
| 196 AutomationMessageSender* sender, | |
| 197 int browser_index, | |
| 198 int tab_index, | |
| 199 const WebKeyEvent& key_event) WARN_UNUSED_RESULT; | |
| 200 | |
| 193 // Requests to wait for all tabs to stop loading. Returns true on success. | 201 // Requests to wait for all tabs to stop loading. Returns true on success. |
| 194 bool SendWaitForAllTabsToStopLoadingJSONRequest( | 202 bool SendWaitForAllTabsToStopLoadingJSONRequest( |
| 195 AutomationMessageSender* sender) WARN_UNUSED_RESULT; | 203 AutomationMessageSender* sender) WARN_UNUSED_RESULT; |
| 196 | 204 |
| 197 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 205 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ |
| OLD | NEW |