| Index: chrome/test/chromedriver/chrome/chrome.h
|
| diff --git a/chrome/test/chromedriver/chrome/chrome.h b/chrome/test/chromedriver/chrome/chrome.h
|
| index 85ac7fa0c6d8d8029ede9e1490afb10e9fb35fb7..1e64cdf29dd932ff58b9e4cfd46770625f8d4c24 100644
|
| --- a/chrome/test/chromedriver/chrome/chrome.h
|
| +++ b/chrome/test/chromedriver/chrome/chrome.h
|
| @@ -17,8 +17,11 @@ class Chrome {
|
|
|
| virtual std::string GetVersion() = 0;
|
|
|
| - // Return a list of opened WebViews.
|
| - virtual Status GetWebViews(std::list<WebView*>* web_views) = 0;
|
| + // Return ids of opened WebViews in the same order as they are opened.
|
| + virtual Status GetWebViewIds(std::list<std::string>* web_view_ids) = 0;
|
| +
|
| + // Return the WebView for the given id.
|
| + virtual Status GetWebViewById(const std::string& id, WebView** web_view) = 0;
|
|
|
| // Returns whether a JavaScript dialog is open.
|
| virtual Status IsJavaScriptDialogOpen(bool* is_open) = 0;
|
|
|