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

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

Issue 2743013002: Add webdriver endpoint to send custom debugger commands (Closed)
Patch Set: Adding stub, quick code reorg Created 3 years, 7 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
« no previous file with comments | « chrome/test/chromedriver/chrome/stub_web_view.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6bd3b7bbf340c6d80f0549b677d7705d630d3ea2 100644
--- a/chrome/test/chromedriver/chrome/web_view.h
+++ b/chrome/test/chromedriver/chrome/web_view.h
@@ -53,6 +53,16 @@ class WebView {
// Reload the current page.
virtual Status Reload(const Timeout* timeout) = 0;
+ // Send a command to the DevTools debugger
+ virtual Status SendCommand(const std::string& cmd,
+ const base::DictionaryValue& params) = 0;
+
+ // Send a command to the DevTools debugger and wait for the result
+ virtual Status SendCommandAndGetResult(
+ const std::string& cmd,
+ const base::DictionaryValue& params,
+ std::unique_ptr<base::Value>* value) = 0;
+
// Navigate |delta| steps forward in the browser history. A negative value
// will navigate back in the history. If the delta exceeds the number of items
// in the browser history, stay on the current page.
« no previous file with comments | « chrome/test/chromedriver/chrome/stub_web_view.cc ('k') | chrome/test/chromedriver/chrome/web_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698