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_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ | 5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ |
6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ | 6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 void NavigateToURL( | 125 void NavigateToURL( |
126 const WebViewId& view_id, const std::string& url, Error** error); | 126 const WebViewId& view_id, const std::string& url, Error** error); |
127 void NavigateToURLAsync( | 127 void NavigateToURLAsync( |
128 const WebViewId& view_id, const std::string& url, Error** error); | 128 const WebViewId& view_id, const std::string& url, Error** error); |
129 void GoForward(const WebViewId& view_id, Error** error); | 129 void GoForward(const WebViewId& view_id, Error** error); |
130 void GoBack(const WebViewId& view_id, Error** error); | 130 void GoBack(const WebViewId& view_id, Error** error); |
131 void Reload(const WebViewId& view_id, Error** error); | 131 void Reload(const WebViewId& view_id, Error** error); |
132 | 132 |
133 void GetCookies(const std::string& url, | 133 void GetCookies(const std::string& url, |
134 base::ListValue** cookies, | 134 scoped_ptr<base::ListValue>* cookies, |
135 Error** error); | 135 Error** error); |
136 void DeleteCookie(const std::string& url, | 136 void DeleteCookie(const std::string& url, |
137 const std::string& cookie_name, | 137 const std::string& cookie_name, |
138 Error** error); | 138 Error** error); |
139 void SetCookie(const std::string& url, | 139 void SetCookie(const std::string& url, |
140 base::DictionaryValue* cookie_dict, | 140 base::DictionaryValue* cookie_dict, |
141 Error** error); | 141 Error** error); |
142 | 142 |
143 // TODO(kkania): All of these mouse commands are deprecated and should be | 143 // TODO(kkania): All of these mouse commands are deprecated and should be |
144 // removed when chrome build 1002 is no longer supported. | 144 // removed when chrome build 1002 is no longer supported. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 scoped_ptr<ProxyLauncher> launcher_; | 269 scoped_ptr<ProxyLauncher> launcher_; |
270 int build_no_; | 270 int build_no_; |
271 scoped_ptr<base::DictionaryValue> geolocation_; | 271 scoped_ptr<base::DictionaryValue> geolocation_; |
272 | 272 |
273 DISALLOW_COPY_AND_ASSIGN(Automation); | 273 DISALLOW_COPY_AND_ASSIGN(Automation); |
274 }; | 274 }; |
275 | 275 |
276 } // namespace webdriver | 276 } // namespace webdriver |
277 | 277 |
278 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ | 278 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_AUTOMATION_H_ |
OLD | NEW |