From 92a4b25e472653b7f854c2fc18983d77fce37cef Mon Sep 17 00:00:00 2001 From: Rus Maxham Date: Mon, 23 Jun 2014 12:48:52 -0700 Subject: [PATCH] - remember position and size of developer tools window --- brightray/browser/mac/bry_inspectable_web_contents_view.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/brightray/browser/mac/bry_inspectable_web_contents_view.mm b/brightray/browser/mac/bry_inspectable_web_contents_view.mm index af78def9899f..da264327e6e6 100644 --- a/brightray/browser/mac/bry_inspectable_web_contents_view.mm +++ b/brightray/browser/mac/bry_inspectable_web_contents_view.mm @@ -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]; }