Implement BrowserWindow::ShowInactive

This commit is contained in:
Cheng Zhao 2014-10-17 22:51:20 +08:00
parent cb9bdbf247
commit 141894aacd
7 changed files with 17 additions and 0 deletions

View file

@ -153,6 +153,10 @@ void Window::Show() {
window_->Show();
}
void Window::ShowInactive() {
window_->ShowInactive();
}
void Window::Hide() {
window_->Hide();
}
@ -388,6 +392,7 @@ void Window::BuildPrototype(v8::Isolate* isolate,
.SetMethod("focus", &Window::Focus)
.SetMethod("isFocused", &Window::IsFocused)
.SetMethod("show", &Window::Show)
.SetMethod("showInactive", &Window::ShowInactive)
.SetMethod("hide", &Window::Hide)
.SetMethod("isVisible", &Window::IsVisible)
.SetMethod("maximize", &Window::Maximize)