- remember position and size of developer tools window

This commit is contained in:
Rus Maxham 2014-06-23 12:48:52 -07:00
parent 8dcaccf561
commit 92a4b25e47

View file

@ -156,6 +156,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
_private->window.delegate = self;
_private->window.releasedWhenClosed = NO;
_private->window.title = @"Developer Tools";
_private->window.frameAutosaveName = @"Developer Tools";
[_private->window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
[_private->window setContentBorderThickness:24 forEdge:NSMaxYEdge];
}