Add fullscreen API support (issue #562)

This commit is contained in:
Marshall Greenblatt
2015-06-04 18:33:24 -04:00
parent 85f83680d7
commit d820080479
17 changed files with 255 additions and 49 deletions

View File

@@ -71,6 +71,17 @@ class CefDisplayHandler : public virtual CefBase {
virtual void OnFaviconURLChange(CefRefPtr<CefBrowser> browser,
const std::vector<CefString>& icon_urls) {}
///
// Called when web content in the page has toggled fullscreen mode. If
// |fullscreen| is true the content will automatically be sized to fill the
// browser content area. If |fullscreen| is false the content will
// automatically return to its original size and position. The client is
// responsible for resizing the browser if desired.
///
/*--cef()--*/
virtual void OnFullscreenModeChange(CefRefPtr<CefBrowser> browser,
bool fullscreen) {}
///
// Called when the browser is about to display a tooltip. |text| contains the
// text that will be displayed in the tooltip. To handle the display of the