Merge pull request #57 from padopolis/master

remember position and size of developer tools window
This commit is contained in:
Adam Roben 2014-06-23 16:26:03 -04:00
commit 1467b18f25

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 = @"brightray.developer.tools";
[_private->window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
[_private->window setContentBorderThickness:24 forEdge:NSMaxYEdge];
}