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

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

Issue 2743013002: Add webdriver endpoint to send custom debugger commands (Closed)
Patch Set: Use std::move instead of DeepCopy Created 3 years, 8 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.h
diff --git a/chrome/test/chromedriver/chrome/web_view.h b/chrome/test/chromedriver/chrome/web_view.h
index 2da07697b57b7b13aac3797c14299c1f82e73fc5..93a67a769da52c1b6456ab6db85a5f1ab8df397a 100644
--- a/chrome/test/chromedriver/chrome/web_view.h
+++ b/chrome/test/chromedriver/chrome/web_view.h
@@ -49,6 +49,12 @@ class WebView {
// Load a given URL in the main frame.
virtual Status Load(const std::string& url, const Timeout* timeout) = 0;
+ virtual Status SendCommand(const std::string& cmd,
johnchen 2017/04/28 21:59:32 Please add comments about what this does.
em 2017/04/29 03:07:03 Done.
+ const base::DictionaryValue& params) = 0;
+ virtual Status SendCommandAndGetResult(
+ const std::string& cmd,
+ const base::DictionaryValue& params,
+ std::unique_ptr<base::Value>* value) = 0;
// Reload the current page.
virtual Status Reload(const Timeout* timeout) = 0;

Powered by Google App Engine
This is Rietveld 408576698