Fix frameless windows with vibrancy (#11886)
This commit is contained in:
parent
d1d50a4c92
commit
ae65938752
2 changed files with 33 additions and 0 deletions
|
@ -176,6 +176,8 @@ class NativeWindowMac : public NativeWindow,
|
|||
void RegisterInputEventObserver(content::RenderViewHost* host);
|
||||
void UnregisterInputEventObserver(content::RenderViewHost* host);
|
||||
|
||||
void SetRenderWidgetHostOpaque(bool opaque);
|
||||
|
||||
base::scoped_nsobject<AtomNSWindow> window_;
|
||||
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;
|
||||
|
||||
|
@ -213,6 +215,9 @@ class NativeWindowMac : public NativeWindow,
|
|||
NSRect original_frame_;
|
||||
NSUInteger simple_fullscreen_mask_;
|
||||
|
||||
base::scoped_nsobject<NSColor> background_color_before_vibrancy_;
|
||||
bool transparency_before_vibrancy_;
|
||||
|
||||
// The presentation options before entering simple fullscreen mode.
|
||||
NSApplicationPresentationOptions simple_fullscreen_options_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue