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

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

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed presubmit errors. 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/web_view_impl.h
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.h b/chrome/test/chromedriver/chrome/web_view_impl.h
index b326c4617d6ae1055f29e2b593da27f64d00baa2..70c02d49e6db24a88c958b52ecc9163ef2df6529 100644
--- a/chrome/test/chromedriver/chrome/web_view_impl.h
+++ b/chrome/test/chromedriver/chrome/web_view_impl.h
@@ -39,9 +39,7 @@ class Status;
class WebViewImpl : public WebView {
public:
WebViewImpl(const std::string& id,
- const BrowserInfo* browser_info,
- std::unique_ptr<DevToolsClient> client);
- WebViewImpl(const std::string& id,
+ const bool w3c_compliant,
const BrowserInfo* browser_info,
std::unique_ptr<DevToolsClient> client,
const DeviceMetrics* device_metrics,
@@ -128,6 +126,7 @@ class WebViewImpl : public WebView {
Status StopProfileInternal();
std::string id_;
+ bool w3c_compliant_;
const BrowserInfo* browser_info_;
std::unique_ptr<DomTracker> dom_tracker_;
std::unique_ptr<FrameTracker> frame_tracker_;
@@ -170,7 +169,8 @@ Status GetNodeIdFromFunction(DevToolsClient* client,
const std::string& function,
const base::ListValue& args,
bool* found_node,
- int* node_id);
+ int* node_id,
+ bool w3c_compliant);
} // namespace internal
« no previous file with comments | « chrome/test/chromedriver/chrome/devtools_http_client.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698