Home
last modified time | relevance | path

Searched refs:views_info (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/test/chromedriver/chrome/
Ddevtools_http_client_unittest.cc26 WebViewsInfo views_info; in TEST() local
30 &views_info); in TEST()
32 ASSERT_EQ(1u, views_info.GetSize()); in TEST()
36 *views_info.GetForId("1")); in TEST()
40 WebViewsInfo views_info; in TEST() local
46 &views_info); in TEST()
48 ASSERT_EQ(2u, views_info.GetSize()); in TEST()
52 views_info.Get(0)); in TEST()
56 views_info.Get(1)); in TEST()
60 WebViewsInfo views_info; in TEST() local
[all …]
Ddevtools_http_client.cc47 : views_info(info) {} in WebViewsInfo()
52 return views_info[index]; in Get()
56 return views_info.size(); in GetSize()
60 for (size_t i = 0; i < views_info.size(); ++i) { in GetForId()
61 if (views_info[i].id == id) in GetForId()
62 return &views_info[i]; in GetForId()
127 Status DevToolsHttpClient::GetWebViewsInfo(WebViewsInfo* views_info) { in GetWebViewsInfo() argument
132 return internal::ParseWebViewsInfo(data, views_info); in GetWebViewsInfo()
156 WebViewsInfo views_info; in CloseWebView() local
157 Status status = GetWebViewsInfo(&views_info); in CloseWebView()
[all …]
Dchrome_impl.cc41 WebViewsInfo views_info; in GetWebViewIds() local
42 Status status = devtools_http_client_->GetWebViewsInfo(&views_info); in GetWebViewIds()
49 if (!views_info.GetForId((*it)->GetId())) { in GetWebViewIds()
57 for (size_t i = 0; i < views_info.GetSize(); ++i) { in GetWebViewIds()
58 const WebViewInfo& view = views_info.Get(i); in GetWebViewIds()
Dchrome_desktop_impl.cc99 WebViewsInfo views_info; in WaitForPageToLoad() local
100 Status status = devtools_http_client_->GetWebViewsInfo(&views_info); in WaitForPageToLoad()
104 for (size_t i = 0; i < views_info.GetSize(); ++i) { in WaitForPageToLoad()
105 if (views_info.Get(i).url.find(url) == 0) { in WaitForPageToLoad()
106 id = views_info.Get(i).id; in WaitForPageToLoad()
Ddevtools_http_client.h58 std::vector<WebViewInfo> views_info;
71 Status GetWebViewsInfo(WebViewsInfo* views_info);
101 WebViewsInfo* views_info);
/external/chromium_org/chrome/test/chromedriver/
Dchrome_launcher.cc173 WebViewsInfo views_info; in WaitForDevToolsAndCheckVersion() local
174 client->GetWebViewsInfo(&views_info); in WaitForDevToolsAndCheckVersion()
175 for (size_t i = 0; i < views_info.GetSize(); ++i) { in WaitForDevToolsAndCheckVersion()
176 if (views_info.Get(i).type == WebViewInfo::kPage) { in WaitForDevToolsAndCheckVersion()