Test example: https://www.webmfiles.org/demo-files/
| 528 | |
| 529 | // Test example: https://www.webmfiles.org/demo-files/ |
| 530 | void CFrmWebView::slotFullScreenRequested(QWebEngineFullScreenRequest request) |
| 531 | { |
| 532 | qDebug(log) << "slotFullScreenRequested"; |
| 533 | if (request.toggleOn()) { |
| 534 | request.accept(); |
| 535 | this->showFullScreen(); |
| 536 | } else { |
| 537 | request.accept(); |
| 538 | this->showNormal(); |
| 539 | } |
| 540 | m_pBrowser->slotFullScreen(request.toggleOn()); |
| 541 | } |
| 542 | |
| 543 | //! [registerProtocolHandlerRequested] |
| 544 | void CFrmWebView::handleRegisterProtocolHandlerRequested( |
nothing calls this directly
no test coverage detected