| 136 | } |
| 137 | |
| 138 | void DocumentHost::Restore(void) { |
| 139 | if (this->IsFullScreen()) { |
| 140 | this->SetFullScreen(false); |
| 141 | } |
| 142 | HWND window_handle = this->GetTopLevelWindowHandle(); |
| 143 | if (::IsZoomed(window_handle) || ::IsIconic(window_handle)) { |
| 144 | ::ShowWindow(window_handle, SW_RESTORE); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | int DocumentHost::SetFocusedFrameByElement(IHTMLElement* frame_element) { |
| 149 | LOG(TRACE) << "Entering DocumentHost::SetFocusedFrameByElement"; |
no test coverage detected