mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: mac: Show standard window buttons with frame by default (see issue #3189)
This restores the previous default behavior for framed windows.
This commit is contained in:
committed by
Marshall Greenblatt
parent
d509d5833d
commit
06af9c85da
@@ -134,7 +134,7 @@ class CefWindowDelegate : public CefPanelDelegate {
|
|||||||
///
|
///
|
||||||
/*--cef()--*/
|
/*--cef()--*/
|
||||||
virtual bool WithStandardWindowButtons(CefRefPtr<CefWindow> window) {
|
virtual bool WithStandardWindowButtons(CefRefPtr<CefWindow> window) {
|
||||||
return false;
|
return !IsFrameless(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user