- remember position and size of developer tools window
This commit is contained in:
parent
8dcaccf561
commit
92a4b25e47
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
||||||
_private->window.delegate = self;
|
_private->window.delegate = self;
|
||||||
_private->window.releasedWhenClosed = NO;
|
_private->window.releasedWhenClosed = NO;
|
||||||
_private->window.title = @"Developer Tools";
|
_private->window.title = @"Developer Tools";
|
||||||
|
_private->window.frameAutosaveName = @"Developer Tools";
|
||||||
[_private->window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
|
[_private->window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
|
||||||
[_private->window setContentBorderThickness:24 forEdge:NSMaxYEdge];
|
[_private->window setContentBorderThickness:24 forEdge:NSMaxYEdge];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue