Add BrowserWindow.isMaximized API.
This commit is contained in:
parent
e8d59c4326
commit
ce50b38a75
8 changed files with 21 additions and 0 deletions
|
@ -304,6 +304,10 @@ void NativeWindowMac::Restore() {
|
|||
[window_ deminiaturize:nil];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::IsMinimized() {
|
||||
return [window_ isMiniaturized];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetFullscreen(bool fullscreen) {
|
||||
if (fullscreen == IsFullscreen())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue