Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: chrome/test/webdriver/automation.h

Issue 7582005: Add chrome.loadAsync capability to ChromeDriver, which allows the user not to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/webdriver/automation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOMATION_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_AUTOMATION_H_
6 #define CHROME_TEST_WEBDRIVER_AUTOMATION_H_ 6 #define CHROME_TEST_WEBDRIVER_AUTOMATION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const gfx::Point& location, 86 const gfx::Point& location,
87 const std::vector<FilePath::StringType>& paths, 87 const std::vector<FilePath::StringType>& paths,
88 Error** error); 88 Error** error);
89 89
90 // Captures a snapshot of the tab to the specified path. The PNG will 90 // Captures a snapshot of the tab to the specified path. The PNG will
91 // contain the entire page, including what is not in the current view 91 // contain the entire page, including what is not in the current view
92 // on the screen. 92 // on the screen.
93 void CaptureEntirePageAsPNG(int tab_id, const FilePath& path, Error** error); 93 void CaptureEntirePageAsPNG(int tab_id, const FilePath& path, Error** error);
94 94
95 void NavigateToURL(int tab_id, const std::string& url, Error** error); 95 void NavigateToURL(int tab_id, const std::string& url, Error** error);
96 void NavigateToURLAsync(int tab_id, const std::string& url, Error** error);
96 void GoForward(int tab_id, Error** error); 97 void GoForward(int tab_id, Error** error);
97 void GoBack(int tab_id, Error** error); 98 void GoBack(int tab_id, Error** error);
98 void Reload(int tab_id, Error** error); 99 void Reload(int tab_id, Error** error);
99 100
100 void GetCookies(const std::string& url, 101 void GetCookies(const std::string& url,
101 base::ListValue** cookies, 102 base::ListValue** cookies,
102 Error** error); 103 Error** error);
103 void DeleteCookie(const std::string& url, 104 void DeleteCookie(const std::string& url,
104 const std::string& cookie_name, 105 const std::string& cookie_name,
105 Error** error); 106 Error** error);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 scoped_ptr<ProxyLauncher> launcher_; 169 scoped_ptr<ProxyLauncher> launcher_;
169 170
170 DISALLOW_COPY_AND_ASSIGN(Automation); 171 DISALLOW_COPY_AND_ASSIGN(Automation);
171 }; 172 };
172 173
173 } // namespace webdriver 174 } // namespace webdriver
174 175
175 DISABLE_RUNNABLE_METHOD_REFCOUNT(webdriver::Automation); 176 DISABLE_RUNNABLE_METHOD_REFCOUNT(webdriver::Automation);
176 177
177 #endif // CHROME_TEST_WEBDRIVER_AUTOMATION_H_ 178 #endif // CHROME_TEST_WEBDRIVER_AUTOMATION_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/webdriver/automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698