Index: chrome/test/chromedriver/chrome/chrome_impl.h |
diff --git a/chrome/test/chromedriver/chrome/chrome_impl.h b/chrome/test/chromedriver/chrome/chrome_impl.h |
index eb4bcdfbe07a77a228c8e7d0b2486161bb535518..0e4ba29bdbfc1c7f22b64550a70108c029e92e60 100644 |
--- a/chrome/test/chromedriver/chrome/chrome_impl.h |
+++ b/chrome/test/chromedriver/chrome/chrome_impl.h |
@@ -31,7 +31,9 @@ class ChromeImpl : public Chrome, public WebViewDelegate { |
// Overridden from Chrome: |
virtual std::string GetVersion() OVERRIDE; |
- virtual Status GetWebViews(std::list<WebView*>* web_views) OVERRIDE; |
+ virtual Status GetWebViewIds(std::list<std::string>* web_view_ids) OVERRIDE; |
+ virtual Status GetWebViewById(const std::string& id, |
+ WebView** web_view) OVERRIDE; |
virtual Status IsJavaScriptDialogOpen(bool* is_open) OVERRIDE; |
virtual Status GetJavaScriptDialogMessage(std::string* message) OVERRIDE; |
virtual Status HandleJavaScriptDialog( |
@@ -57,6 +59,8 @@ class ChromeImpl : public Chrome, public WebViewDelegate { |
std::string version_; |
int build_no_; |
WebViewMap web_view_map_; |
+ // Ids in this list are in the same order as the window opened. |
chrisgao (Use stgao instead)
2013/03/22 23:29:46
window->web view
|
+ std::list<std::string> web_view_ids_; |
}; |
namespace internal { |