Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Issue 7121012: DevTools window doesn't restore its minimal size if it's shrinked to zero. (Closed)

Created:
9 years, 6 months ago by loislo
Modified:
9 years, 6 months ago
Reviewers:
not_yurys, yurys, pfeldman
CC:
chromium-reviews
Visibility:
Public.

Description

DevTools window doesn't restore its minimal size if it's shrinked to zero. BUG=85185 TEST=none R=yurys, pfeldman Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88512

Patch Set 1 #

Total comments: 1

Patch Set 2 : initial idea was reverted. The new version fix gtk problem, make identical logic for all platforms. #

Total comments: 5

Patch Set 3 : comments addressed #

Total comments: 4

Patch Set 4 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -38 lines) Patch
M chrome/browser/ui/cocoa/dev_tools_controller.mm View 1 2 3 3 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 3 chunks +22 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 2 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
loislo
9 years, 6 months ago (2011-06-07 14:01:38 UTC) #1
loislo
Old min size check doesn't works because split_offset is the offset from the top of ...
9 years, 6 months ago (2011-06-07 14:08:02 UTC) #2
yurys
On 2011/06/07 14:01:38, loislo wrote: Why other platforms didn't change? Also it looks odd that ...
9 years, 6 months ago (2011-06-07 14:08:40 UTC) #3
loislo
I'll check the other platforms
9 years, 6 months ago (2011-06-07 14:09:11 UTC) #4
pfeldman
http://codereview.chromium.org/7121012/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc File chrome/browser/ui/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/7121012/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc#newcode1698 chrome/browser/ui/gtk/browser_window_gtk.cc:1698: GetInteger(prefs::kDevToolsSplitLocation); I'd suggest nuking the property and fixing all ...
9 years, 6 months ago (2011-06-07 14:54:06 UTC) #5
loislo
there were 3 different implementations for win/mac/linux. linux version had a bug. 0) original patch ...
9 years, 6 months ago (2011-06-07 17:24:12 UTC) #6
pfeldman
I think we should default split location to -1 and set the splitter in order ...
9 years, 6 months ago (2011-06-07 19:59:12 UTC) #7
pfeldman
http://codereview.chromium.org/7121012/diff/8/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): http://codereview.chromium.org/7121012/diff/8/chrome/browser/ui/views/frame/browser_view.cc#newcode2158 chrome/browser/ui/views/frame/browser_view.cc:2158: std::max(kMinDevToolsHeight, split_offset)); While I agree that 50 is a ...
9 years, 6 months ago (2011-06-07 20:14:51 UTC) #8
loislo
9 years, 6 months ago (2011-06-08 06:47:12 UTC) #9
yurys
http://codereview.chromium.org/7121012/diff/11001/chrome/browser/ui/cocoa/dev_tools_controller.mm File chrome/browser/ui/cocoa/dev_tools_controller.mm (right): http://codereview.chromium.org/7121012/diff/11001/chrome/browser/ui/cocoa/dev_tools_controller.mm#newcode111 chrome/browser/ui/cocoa/dev_tools_controller.mm:111: splitOffset = std::max(static_cast<CGFloat>(kMinDevToolsHeight), Use of the kMinDevToolsHeight here is ...
9 years, 6 months ago (2011-06-08 08:14:27 UTC) #10
loislo
comments addressed
9 years, 6 months ago (2011-06-08 10:45:24 UTC) #11
yurys
9 years, 6 months ago (2011-06-08 14:00:01 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698