OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CHROMEDRIVER_WINDOW_COMMANDS_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 const base::DictionaryValue& params, | 187 const base::DictionaryValue& params, |
188 std::unique_ptr<base::Value>* value, | 188 std::unique_ptr<base::Value>* value, |
189 Timeout* timeout); | 189 Timeout* timeout); |
190 | 190 |
191 Status ExecuteTouchPinch(Session* session, | 191 Status ExecuteTouchPinch(Session* session, |
192 WebView* web_view, | 192 WebView* web_view, |
193 const base::DictionaryValue& params, | 193 const base::DictionaryValue& params, |
194 std::unique_ptr<base::Value>* value, | 194 std::unique_ptr<base::Value>* value, |
195 Timeout* timeout); | 195 Timeout* timeout); |
196 | 196 |
| 197 Status ExecuteSendCommand(Session* session, |
| 198 WebView* web_view, |
| 199 const base::DictionaryValue& params, |
| 200 std::unique_ptr<base::Value>* value, |
| 201 Timeout* timeout); |
| 202 |
| 203 Status ExecuteSendCommandAndGetResult(Session* session, |
| 204 WebView* web_view, |
| 205 const base::DictionaryValue& params, |
| 206 std::unique_ptr<base::Value>* value, |
| 207 Timeout* timeout); |
| 208 |
197 Status ExecuteGetActiveElement(Session* session, | 209 Status ExecuteGetActiveElement(Session* session, |
198 WebView* web_view, | 210 WebView* web_view, |
199 const base::DictionaryValue& params, | 211 const base::DictionaryValue& params, |
200 std::unique_ptr<base::Value>* value, | 212 std::unique_ptr<base::Value>* value, |
201 Timeout* timeout); | 213 Timeout* timeout); |
202 | 214 |
203 // Send a sequence of key strokes to the active element. | 215 // Send a sequence of key strokes to the active element. |
204 Status ExecuteSendKeysToActiveElement(Session* session, | 216 Status ExecuteSendKeysToActiveElement(Session* session, |
205 WebView* web_view, | 217 WebView* web_view, |
206 const base::DictionaryValue& params, | 218 const base::DictionaryValue& params, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 std::unique_ptr<base::Value>* value, | 327 std::unique_ptr<base::Value>* value, |
316 Timeout* timeout); | 328 Timeout* timeout); |
317 | 329 |
318 Status ExecuteTakeHeapSnapshot(Session* session, | 330 Status ExecuteTakeHeapSnapshot(Session* session, |
319 WebView* web_view, | 331 WebView* web_view, |
320 const base::DictionaryValue& params, | 332 const base::DictionaryValue& params, |
321 std::unique_ptr<base::Value>* value, | 333 std::unique_ptr<base::Value>* value, |
322 Timeout* timeout); | 334 Timeout* timeout); |
323 | 335 |
324 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ | 336 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ |
OLD | NEW |