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

Unified Diff: chrome/test/chromedriver/chrome/chrome_impl.h

Issue 2125123002: [chromedriver] Add page loading strategy to capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed unittests, renamed py tests Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/chrome/chrome_impl.h
diff --git a/chrome/test/chromedriver/chrome/chrome_impl.h b/chrome/test/chromedriver/chrome/chrome_impl.h
index fd4a20dae363ef15769006236ae1c361e1196e91..961eb89268fdd4b841e32dc41dc3927e25871a6d 100644
--- a/chrome/test/chromedriver/chrome/chrome_impl.h
+++ b/chrome/test/chromedriver/chrome/chrome_impl.h
@@ -40,6 +40,8 @@ class ChromeImpl : public Chrome {
Status ActivateWebView(const std::string& id) override;
bool IsMobileEmulationEnabled() const override;
bool HasTouchScreen() const override;
+ std::string page_load_strategy() const override;
+ void set_page_load_strategy(std::string strategy) override;
Status Quit() override;
protected:
@@ -55,6 +57,7 @@ class ChromeImpl : public Chrome {
std::unique_ptr<DevToolsClient> devtools_websocket_client_;
private:
+ std::string page_load_strategy_;
typedef std::list<linked_ptr<WebViewImpl> > WebViewList;
// Web views in this list are in the same order as they are opened.
« no previous file with comments | « chrome/test/chromedriver/chrome/chrome_desktop_impl.cc ('k') | chrome/test/chromedriver/chrome/chrome_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698