Merge pull request #78 from frankhale/maximize-devtools-window

Make devtools window maximizable
This commit is contained in:
Cheng Zhao 2014-11-04 10:00:28 +08:00
commit 21e0907bfc

View file

@ -37,7 +37,7 @@ class DevToolsWindowDelegate : public views::ClientView,
virtual void DeleteDelegate() override { delete this; } virtual void DeleteDelegate() override { delete this; }
virtual views::View* GetInitiallyFocusedView() override { return view_; } virtual views::View* GetInitiallyFocusedView() override { return view_; }
virtual bool CanResize() const override { return true; } 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 base::string16 GetWindowTitle() const override { return title_; }
virtual gfx::ImageSkia GetWindowAppIcon() override { return GetWindowIcon(); } virtual gfx::ImageSkia GetWindowAppIcon() override { return GetWindowIcon(); }
virtual gfx::ImageSkia GetWindowIcon() override { return icon_; } virtual gfx::ImageSkia GetWindowIcon() override { return icon_; }