| 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 event for the given |WebKeyEvent| to a | 
|  | 194 // browser window containing the specified tab. Returns true on success. | 
|  | 195 bool SendNativeKeyEventJSONRequest( | 
|  | 196     AutomationMessageSender* sender, | 
|  | 197     int browser_index, | 
|  | 198     int tab_index, | 
|  | 199     ui::KeyboardCode key_code, | 
|  | 200     int modifiers) WARN_UNUSED_RESULT; | 
|  | 201 | 
| 193 // Requests to wait for all tabs to stop loading. Returns true on success. | 202 // Requests to wait for all tabs to stop loading. Returns true on success. | 
| 194 bool SendWaitForAllTabsToStopLoadingJSONRequest( | 203 bool SendWaitForAllTabsToStopLoadingJSONRequest( | 
| 195     AutomationMessageSender* sender) WARN_UNUSED_RESULT; | 204     AutomationMessageSender* sender) WARN_UNUSED_RESULT; | 
| 196 | 205 | 
| 197 #endif  // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 206 #endif  // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 
| OLD | NEW | 
|---|