MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Restore

Method Restore

cpp/iedriver/DocumentHost.cpp:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void 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
148int DocumentHost::SetFocusedFrameByElement(IHTMLElement* frame_element) {
149 LOG(TRACE) << "Entering DocumentHost::SetFocusedFrameByElement";

Callers 3

ExecuteInternalMethod · 0.80
ExecuteInternalMethod · 0.80
ExecuteInternalMethod · 0.80

Calls 3

IsFullScreenMethod · 0.45
SetFullScreenMethod · 0.45

Tested by

no test coverage detected