mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: mac: Fix frameless window behavior (fixes issue #3189)
Frameless windows now display as expected. Default traffic light buttons can optionally be shown at configurable vertical position. Layout respects text direction.
This commit is contained in:
committed by
Marshall Greenblatt
parent
6926287894
commit
f6de0344cb
@@ -25,7 +25,7 @@ class ViewsOverlayControls : public CefButtonDelegate {
|
||||
kClose,
|
||||
};
|
||||
|
||||
ViewsOverlayControls();
|
||||
explicit ViewsOverlayControls(bool with_window_buttons);
|
||||
|
||||
void Initialize(CefRefPtr<CefWindow> window,
|
||||
CefRefPtr<CefMenuButton> menu_button,
|
||||
@@ -53,6 +53,7 @@ class ViewsOverlayControls : public CefButtonDelegate {
|
||||
// Window control buttons.
|
||||
CefRefPtr<CefPanel> panel_;
|
||||
CefRefPtr<CefOverlayController> panel_controller_;
|
||||
const bool with_window_buttons_;
|
||||
|
||||
// Location bar.
|
||||
CefRefPtr<CefView> location_bar_;
|
||||
|
||||
Reference in New Issue
Block a user