Searched refs:views_info (Results 1 – 6 of 6) sorted by relevance
26 WebViewsInfo views_info; in TEST() local30 &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() local46 &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 …]
47 : 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() argument132 return internal::ParseWebViewsInfo(data, views_info); in GetWebViewsInfo()156 WebViewsInfo views_info; in CloseWebView() local157 Status status = GetWebViewsInfo(&views_info); in CloseWebView()[all …]
41 WebViewsInfo views_info; in GetWebViewIds() local42 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()
99 WebViewsInfo views_info; in WaitForPageToLoad() local100 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()
58 std::vector<WebViewInfo> views_info;71 Status GetWebViewsInfo(WebViewsInfo* views_info);101 WebViewsInfo* views_info);
173 WebViewsInfo views_info; in WaitForDevToolsAndCheckVersion() local174 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()