| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 const base::DictionaryValue& params, | 32 const base::DictionaryValue& params, |
| 33 scoped_ptr<base::Value>* value); | 33 scoped_ptr<base::Value>* value); |
| 34 | 34 |
| 35 // Loads a URL. | 35 // Loads a URL. |
| 36 Status ExecuteGet( | 36 Status ExecuteGet( |
| 37 Session* session, | 37 Session* session, |
| 38 WebView* web_view, | 38 WebView* web_view, |
| 39 const base::DictionaryValue& params, | 39 const base::DictionaryValue& params, |
| 40 scoped_ptr<base::Value>* value); | 40 scoped_ptr<base::Value>* value); |
| 41 | 41 |
| 42 // Launches a Chrome App. |
| 43 Status ExecuteLaunchApp( |
| 44 Session* session, |
| 45 WebView* web_view, |
| 46 const base::DictionaryValue& params, |
| 47 scoped_ptr<base::Value>* value); |
| 48 |
| 42 // Evaluates a given synchronous script with arguments. | 49 // Evaluates a given synchronous script with arguments. |
| 43 Status ExecuteExecuteScript( | 50 Status ExecuteExecuteScript( |
| 44 Session* session, | 51 Session* session, |
| 45 WebView* web_view, | 52 WebView* web_view, |
| 46 const base::DictionaryValue& params, | 53 const base::DictionaryValue& params, |
| 47 scoped_ptr<base::Value>* value); | 54 scoped_ptr<base::Value>* value); |
| 48 | 55 |
| 49 // Evaluates a given asynchronous script with arguments. | 56 // Evaluates a given asynchronous script with arguments. |
| 50 Status ExecuteExecuteAsyncScript( | 57 Status ExecuteExecuteAsyncScript( |
| 51 Session* session, | 58 Session* session, |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 const base::DictionaryValue& params, | 290 const base::DictionaryValue& params, |
| 284 scoped_ptr<base::Value>* value); | 291 scoped_ptr<base::Value>* value); |
| 285 | 292 |
| 286 Status ExecuteTakeHeapSnapshot( | 293 Status ExecuteTakeHeapSnapshot( |
| 287 Session* session, | 294 Session* session, |
| 288 WebView* web_view, | 295 WebView* web_view, |
| 289 const base::DictionaryValue& params, | 296 const base::DictionaryValue& params, |
| 290 scoped_ptr<base::Value>* value); | 297 scoped_ptr<base::Value>* value); |
| 291 | 298 |
| 292 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ | 299 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ |
| OLD | NEW |