Chromium Code Reviews| 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..c17d264bc9212feeccdd9c986d49cae8f1a4427b 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(std::string* cmd, |
|
johnchen
2017/04/26 05:17:47
I think it's better for the first parameter to be
em
2017/04/27 05:02:09
Done.
|
| + const base::DictionaryValue& params) = 0; |
| + virtual Status SendCommandAndGetResult( |
| + 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; |