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

Issue 507022: Fix issue 11258: Linux: gracefully handle small browser window... (Closed)

Created:
11 years ago by James Su
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang, Evan Martin
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Paul Godavari, ben+cc_chromium.org
Visibility:
Public.

Description

Fix issue 11258: Linux: gracefully handle small browser window TODO: Make location bar to be freely shrinkable. Will be addressed in another CL. BUG=11258 TEST=See bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34954

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 14

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 10

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -118 lines) Patch
M chrome/browser/gtk/browser_window_gtk.cc View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/gtk/download_shelf_gtk.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
A chrome/browser/gtk/gtk_expanded_container.h View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/gtk/gtk_expanded_container.cc View 1 2 3 4 1 chunk +192 lines, -0 lines 0 comments Download
A chrome/browser/gtk/gtk_expanded_container_unittest.cc View 2 3 4 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/browser/gtk/infobar_gtk.cc View 1 2 3 4 3 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/gtk/slide_animator_gtk.cc View 1 2 3 4 4 chunks +25 lines, -18 lines 0 comments Download
M chrome/browser/gtk/tab_contents_container_gtk.h View 1 2 3 4 2 chunks +5 lines, -14 lines 0 comments Download
M chrome/browser/gtk/tab_contents_container_gtk.cc View 1 2 3 4 7 chunks +9 lines, -37 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_strip_gtk.cc View 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 1 2 3 4 1 chunk +16 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 1 2 3 4 9 chunks +24 lines, -26 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
James Su
This CL works for me now. Please help review. I'll address the location bar issue ...
11 years ago (2009-12-17 12:35:05 UTC) #1
Evan Martin
In general: yay, glad you're looking at this. http://codereview.chromium.org/507022/diff/2007/3005 File chrome/browser/gtk/browser_window_gtk.cc (left): http://codereview.chromium.org/507022/diff/2007/3005#oldcode1598 chrome/browser/gtk/browser_window_gtk.cc:1598: gtk_window_set_geometry_hints(window_, ...
11 years ago (2009-12-17 14:22:08 UTC) #2
James Su
Hi, I reimplemented GtkExpandedContainer to inherit GtkFixed. Regards James Su http://codereview.chromium.org/507022/diff/2007/3005 File chrome/browser/gtk/browser_window_gtk.cc (left): http://codereview.chromium.org/507022/diff/2007/3005#oldcode1598 ...
11 years ago (2009-12-18 04:21:09 UTC) #3
Evan Martin
Awesome, LGTM! I am glad you fixed this. Please double check that nothing goes wrong ...
11 years ago (2009-12-18 09:40:31 UTC) #4
James Su
11 years ago (2009-12-18 16:35:41 UTC) #5
CL submitted. So far, it works well on my machine.

http://codereview.chromium.org/507022/diff/7007/7010
File chrome/browser/gtk/gtk_expanded_container.cc (right):

http://codereview.chromium.org/507022/diff/7007/7010#newcode8
chrome/browser/gtk/gtk_expanded_container.cc:8: #include <gtk/gtkprivate.h>
On 2009/12/18 09:40:31, Evan Martin wrote:
> Why do you need this include?  Shouldn't it be private?

Done.

http://codereview.chromium.org/507022/diff/7007/7012
File chrome/browser/gtk/gtk_expanded_container_unittest.cc (right):

http://codereview.chromium.org/507022/diff/7007/7012#newcode3
chrome/browser/gtk/gtk_expanded_container_unittest.cc:3: // found in the LICENSE
file.
On 2009/12/18 09:40:31, Evan Martin wrote:
> Extra newline here

Done.

http://codereview.chromium.org/507022/diff/7007/7012#newcode4
chrome/browser/gtk/gtk_expanded_container_unittest.cc:4: #include
"chrome/browser/gtk/gtk_expanded_container.h"
On 2009/12/18 09:40:31, Evan Martin wrote:
> extra newlinehere

Done.

http://codereview.chromium.org/507022/diff/7007/7019
File chrome/browser/tab_contents/tab_contents_view_gtk.cc (right):

http://codereview.chromium.org/507022/diff/7007/7019#newcode367
chrome/browser/tab_contents/tab_contents_view_gtk.cc:367: if
(view->tab_contents()->delegate())
On 2009/12/18 09:40:31, Evan Martin wrote:
> The linter might complain if you don't have curly braces around this if
> statemetn.

Done.

Powered by Google App Engine
This is Rietveld 408576698