Closing devtools window means it is not visible.

This commit is contained in:
Cheng Zhao 2014-06-17 16:50:25 +08:00
parent 8180075944
commit e71927c5da

View file

@ -232,6 +232,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
#pragma mark - NSWindowDelegate
- (BOOL)windowShouldClose:(id)sender {
_private->visible = NO;
[_private->window orderOut:nil];
return NO;
}