fix: WCO respects maximizable/closable/minimizable (#34677)
This commit is contained in:
parent
106aa0e922
commit
3b881e4a13
4 changed files with 44 additions and 6 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "shell/browser/native_window_views.h"
|
||||
#include "shell/browser/ui/views/frameless_view.h"
|
||||
#include "shell/browser/ui/views/win_caption_button.h"
|
||||
#include "shell/browser/ui/views/win_caption_button_container.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
@ -43,6 +44,9 @@ class WinFrameView : public FramelessView {
|
|||
|
||||
NativeWindowViews* window() const { return window_; }
|
||||
views::Widget* frame() const { return frame_; }
|
||||
WinCaptionButtonContainer* caption_button_container() {
|
||||
return caption_button_container_;
|
||||
}
|
||||
|
||||
bool IsMaximized() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue