| 99 | } |
| 100 | |
| 101 | HRESULT Tab::ResizeWebView() |
| 102 | { |
| 103 | RECT bounds; |
| 104 | GetClientRect(m_parentHWnd, &bounds); |
| 105 | |
| 106 | BrowserWindow* browserWindow = reinterpret_cast<BrowserWindow*>(GetWindowLongPtr(m_parentHWnd, GWLP_USERDATA)); |
| 107 | bounds.top += browserWindow->GetDPIAwareBound(BrowserWindow::c_uiBarHeight); |
| 108 | |
| 109 | return m_contentController->put_Bounds(bounds); |
| 110 | } |
no test coverage detected