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_TEST_CHROMEDRIVER_COMMANDS_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Session* session, | 51 Session* session, |
52 const base::DictionaryValue& params, | 52 const base::DictionaryValue& params, |
53 scoped_ptr<base::Value>* value); | 53 scoped_ptr<base::Value>* value); |
54 | 54 |
55 // Evaluates a given script with arguments. | 55 // Evaluates a given script with arguments. |
56 Status ExecuteExecuteScript( | 56 Status ExecuteExecuteScript( |
57 Session* session, | 57 Session* session, |
58 const base::DictionaryValue& params, | 58 const base::DictionaryValue& params, |
59 scoped_ptr<base::Value>* value); | 59 scoped_ptr<base::Value>* value); |
60 | 60 |
| 61 // Get the current page title. |
| 62 Status ExecuteTitle( |
| 63 Session* session, |
| 64 const base::DictionaryValue& params, |
| 65 scoped_ptr<base::Value>* value); |
| 66 |
61 #endif // CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ | 67 #endif // CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ |
OLD | NEW |