| 652 | } |
| 653 | |
| 654 | BOOL CALLBACK Alert::FindTextBoxes(HWND hwnd, LPARAM arg) { |
| 655 | std::vector<HWND>* dialog_handles = reinterpret_cast<std::vector<HWND>*>(arg); |
| 656 | std::vector<wchar_t> child_window_class(100); |
| 657 | ::GetClassName(hwnd, &child_window_class[0], 100); |
| 658 | |
| 659 | if (wcscmp(&child_window_class[0], L"Edit") == 0) { |
| 660 | dialog_handles->push_back(hwnd); |
| 661 | } |
| 662 | return TRUE; |
| 663 | } |
| 664 | |
| 665 | } // namespace webdriver |
nothing calls this directly
no test coverage detected