Home
last modified time | relevance | path

Searched refs:displaysList (Results 1 – 2 of 2) sorted by relevance

/third_party/cef/libcef_dll/ctocpp/views/
Ddisplay_ctocpp.cc86 cef_display_t** displaysList = NULL; in GetAllDisplays() local
88 displaysList = new cef_display_t*[displaysCount]; in GetAllDisplays()
89 DCHECK(displaysList); in GetAllDisplays()
90 if (displaysList) { in GetAllDisplays()
91 memset(displaysList, 0, sizeof(cef_display_t*) * displaysCount); in GetAllDisplays()
93 if (displaysList && displaysSize > 0) { in GetAllDisplays()
95 displaysList[i] = CefDisplayCToCpp::Unwrap(displays[i]); in GetAllDisplays()
101 cef_display_get_alls(&displaysCount, displaysList); in GetAllDisplays()
105 if (displaysCount > 0 && displaysList) { in GetAllDisplays()
107 displays.push_back(CefDisplayCToCpp::Wrap(displaysList[i])); in GetAllDisplays()
[all …]
/third_party/cef/libcef_dll/cpptoc/views/
Ddisplay_cpptoc.cc103 std::vector<CefRefPtr<CefDisplay>> displaysList; in cef_display_get_alls() local
106 displaysList.push_back(CefDisplayCppToC::Unwrap(displays[i])); in cef_display_get_alls()
111 CefDisplay::GetAllDisplays(displaysList); in cef_display_get_alls()
115 *displaysCount = std::min(displaysList.size(), *displaysCount); in cef_display_get_alls()
118 displays[i] = CefDisplayCppToC::Wrap(displaysList[i]); in cef_display_get_alls()