| 280 | } |
| 281 | |
| 282 | void DocumentHost::PostQuitMessage() { |
| 283 | LOG(TRACE) << "Entering DocumentHost::PostQuitMessage"; |
| 284 | |
| 285 | LPSTR message_payload = new CHAR[this->browser_id_.size() + 1]; |
| 286 | strcpy_s(message_payload, this->browser_id_.size() + 1, this->browser_id_.c_str()); |
| 287 | ::PostMessage(this->executor_handle(), |
| 288 | WD_BROWSER_QUIT, |
| 289 | NULL, |
| 290 | reinterpret_cast<LPARAM>(message_payload)); |
| 291 | } |
| 292 | |
| 293 | HWND DocumentHost::FindContentWindowHandle(HWND top_level_window_handle) { |
| 294 | LOG(TRACE) << "Entering DocumentHost::FindContentWindowHandle"; |
no test coverage detected