| 1129 | } |
| 1130 | |
| 1131 | BOOL CALLBACK BrowserFactory::FindEdgeWindowIgnoringProcessMatch(HWND hwnd, LPARAM arg) { |
| 1132 | // Could this be an EdgeChrome window? |
| 1133 | // 19 == "Chrome_WidgetWin_1" |
| 1134 | char name[20]; |
| 1135 | if (::GetClassNameA(hwnd, name, 20) == 0) { |
| 1136 | // No match found. Skip |
| 1137 | return TRUE; |
| 1138 | } |
| 1139 | |
| 1140 | // continue if it is not "Chrome_WidgetWin_1" |
| 1141 | if (strcmp(ANDIE_FRAME_WINDOW_CLASS, name) != 0) return TRUE; |
| 1142 | |
| 1143 | return EnumChildWindows(hwnd, FindEdgeChildWindowForProcess, arg); |
| 1144 | } |
| 1145 | |
| 1146 | BOOL CALLBACK BrowserFactory::FindIEBrowserHandles(HWND hwnd, LPARAM arg) { |
| 1147 | std::vector<HWND>* handles = reinterpret_cast<std::vector<HWND>*>(arg); |
nothing calls this directly
no outgoing calls
no test coverage detected