mac: Add win.disable/enable/isEnabled() API
This commit is contained in:
parent
214dd97165
commit
1a4b4a65c9
7 changed files with 76 additions and 0 deletions
|
@ -373,6 +373,16 @@ bool NativeWindowViews::IsVisible() {
|
|||
return window_->IsVisible();
|
||||
}
|
||||
|
||||
void NativeWindowViews::Disable() {
|
||||
}
|
||||
|
||||
void NativeWindowViews::Enable() {
|
||||
}
|
||||
|
||||
bool NativeWindowViews::IsEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void NativeWindowViews::Maximize() {
|
||||
if (IsVisible())
|
||||
window_->Maximize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue