Merge pull request #56 from brightray/detached-devtools-quirks

Closing detached window should mark devtools as not visible
This commit is contained in:
Cheng Zhao 2014-06-17 18:31:54 +08:00
commit 8dcaccf561

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;
}