mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: views: Add ability to pop out the overlay Browser (see #3790)
When running with the overlay Browser enabled (`--show-overlay-browser`), pressing Alt+O will move the overlay Browser to a new top-level Window. Pressing Alt+O again or closing the new Window via the close button will return the Browser to the overlay. Closing the Browser via `window.close()` (in the new Window or overlay) will dismiss the overlay completely as required to maintain consistent internal state. Detection of this state is supported by the new CefBrowserHost::IsReadyToBeClosed method. Draggable regions in the main Browser are updated to account for the presence or absence of the overlay Browser. Support for draggable regions in the overlay Browser in not implemented in cefclient. Behavior with multiple overlays, `window.close()` and draggable regions can be tested by adding `--hide-frame --hide-controls`.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define IDC_NAV_STOP 203
|
||||
#define ID_QUIT 32500
|
||||
#define ID_FIND 32501
|
||||
#define ID_POPOUT_OVERLAY 32502
|
||||
#define ID_TESTS_FIRST 32700
|
||||
#define ID_TESTS_GETSOURCE 32700
|
||||
#define ID_TESTS_GETTEXT 32701
|
||||
|
Reference in New Issue
Block a user