mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Support configuration of initial window show state
Known issues: - Exiting full-screen mode currently crashes with the Chrome runtime (see issue #3182).
This commit is contained in:
@ -91,6 +91,14 @@ class CefWindowDelegate : public CefPanelDelegate {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
///
|
||||
// Return the initial show state for |window|.
|
||||
///
|
||||
/*--cef(default_retval=CEF_SHOW_STATE_NORMAL)--*/
|
||||
virtual cef_show_state_t GetInitialShowState(CefRefPtr<CefWindow> window) {
|
||||
return CEF_SHOW_STATE_NORMAL;
|
||||
}
|
||||
|
||||
///
|
||||
// Return true if |window| should be created without a frame or title bar. The
|
||||
// window will be resizable if CanResize() returns true. Use
|
||||
|
Reference in New Issue
Block a user