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_CHROME_IMPL_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 EvaluateScriptReturnType return_type, | 78 EvaluateScriptReturnType return_type, |
79 scoped_ptr<base::DictionaryValue>* result); | 79 scoped_ptr<base::DictionaryValue>* result); |
80 Status EvaluateScriptAndGetObject(DevToolsClient* client, | 80 Status EvaluateScriptAndGetObject(DevToolsClient* client, |
81 int context_id, | 81 int context_id, |
82 const std::string& expression, | 82 const std::string& expression, |
83 std::string* object_id); | 83 std::string* object_id); |
84 Status EvaluateScriptAndGetValue(DevToolsClient* client, | 84 Status EvaluateScriptAndGetValue(DevToolsClient* client, |
85 int context_id, | 85 int context_id, |
86 const std::string& expression, | 86 const std::string& expression, |
87 scoped_ptr<base::Value>* result); | 87 scoped_ptr<base::Value>* result); |
| 88 Status ParseCallFunctionResult(const base::Value& temp_result, |
| 89 scoped_ptr<base::Value>* result); |
88 Status GetNodeIdFromFunction(DevToolsClient* client, | 90 Status GetNodeIdFromFunction(DevToolsClient* client, |
89 int context_id, | 91 int context_id, |
90 const std::string& function, | 92 const std::string& function, |
91 const base::ListValue& args, | 93 const base::ListValue& args, |
92 int* node_id); | 94 int* node_id); |
93 | 95 |
94 } // namespace internal | 96 } // namespace internal |
95 | 97 |
96 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ | 98 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_IMPL_H_ |
OLD | NEW |