This commit is contained in:
Cheng Zhao 2015-10-01 17:46:11 +08:00
parent 6082b83a65
commit 8d61531f4e
3 changed files with 1 additions and 13 deletions

View file

@ -343,17 +343,14 @@ bool NativeWindowViews::IsFocused() {
}
void NativeWindowViews::Show() {
web_contents()->WasShown();
window_->native_widget_private()->ShowWithWindowState(GetRestoredState());
}
void NativeWindowViews::ShowInactive() {
web_contents()->WasShown();
window_->ShowInactive();
}
void NativeWindowViews::Hide() {
window_->Hide();
web_contents()->WasHidden();
}