Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.cc |
| =================================================================== |
| --- chrome/browser/ui/views/frame/browser_view.cc (revision 187863) |
| +++ chrome/browser/ui/views/frame/browser_view.cc (working copy) |
| @@ -2229,6 +2229,11 @@ |
| new views::ExternalFocusTracker(devtools_container_, |
| GetFocusManager())); |
| } |
| + |
| + gfx::Size minDevtoolsSize(devtools_window_->GetMinimumWidth(), |
|
pfeldman
2013/03/19 10:42:06
min_devtools_size
dgozman
2013/03/21 09:55:26
Done.
|
| + devtools_window_->GetMinimumHeight()); |
| + devtools_container_->SetPreferredSize(minDevtoolsSize); |
|
sky
2013/03/19 14:40:50
This changes the preferred size, are you sure you
dgozman
2013/03/21 09:55:26
I did not found another way to set minimum size fo
|
| + |
| devtools_container_->SetVisible(true); |
| devtools_dock_side_ = devtools_window_->dock_side(); |
| bool dock_to_right = devtools_dock_side_ == DEVTOOLS_DOCK_SIDE_RIGHT; |