Molybden API
Loading...
Searching...
No Matches
molybden::FullScreen Class Referenceabstract

The fullscreen controller of the fullscreen mode for HTML elements on the web page. More...

#include <full_screen.hpp>

Inheritance diagram for molybden::FullScreen:
molybden::FullScreenEvents

Public Member Functions

virtual std::shared_ptr< Browserbrowser ()=0
 Returns the browser instance of this fullscreen controller.
 
virtual void exit ()=0
 Tells the browser to exit the fullscreen mode.
 

Additional Inherited Members

- Public Attributes inherited from molybden::FullScreenEvents
Event< FullScreenEnteredonFullScreenEntered
 Invoked when the browser instance entered the fullscreen mode.
 
Event< FullScreenExitedonFullScreenExited
 Invoked when the browser instance exited the fullscreen mode.
 

Detailed Description

The fullscreen controller of the fullscreen mode for HTML elements on the web page.

Member Function Documentation

◆ exit()

virtual void molybden::FullScreen::exit ( )
pure virtual

Tells the browser to exit the fullscreen mode.

This method iterates over the frames in this browser and exits fullscreen mode for each of them. This also includes internal frames of the PDF viewer that are not accessible through the public API. If there is no element being presented in fullscreen mode, this method is no-op.


The documentation for this class was generated from the following file: