From 513d84cd3ef3f0f5e9af5170df2fdf709dc82c04 Mon Sep 17 00:00:00 2001 From: Frank Hale Date: Mon, 3 Nov 2014 11:10:14 -0500 Subject: [PATCH] Make devtools window maximizable --- brightray/browser/views/inspectable_web_contents_view_views.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brightray/browser/views/inspectable_web_contents_view_views.cc b/brightray/browser/views/inspectable_web_contents_view_views.cc index 57296344ab35..9aa4d0f748a2 100644 --- a/brightray/browser/views/inspectable_web_contents_view_views.cc +++ b/brightray/browser/views/inspectable_web_contents_view_views.cc @@ -37,7 +37,7 @@ class DevToolsWindowDelegate : public views::ClientView, virtual void DeleteDelegate() override { delete this; } virtual views::View* GetInitiallyFocusedView() override { return view_; } virtual bool CanResize() const override { return true; } - virtual bool CanMaximize() const override { return false; } + virtual bool CanMaximize() const override { return true; } virtual base::string16 GetWindowTitle() const override { return title_; } virtual gfx::ImageSkia GetWindowAppIcon() override { return GetWindowIcon(); } virtual gfx::ImageSkia GetWindowIcon() override { return icon_; }