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

Issue 1969006: Fix 18949 on GTK ("Options" window does not fit a small display). (Closed)

Created:
10 years, 7 months ago by ningxin.hu
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Base URL:
git://git.chromium.org/chromium.git
Visibility:
Public.

Description

gtk: fix 18949 on GTK ("Options" window does not fit a small display). Change the layout of content and general page. Use the horizontal title and content layout for each option group. BUG=18949 TEST=Open the option window, check the content and general pages. Patch by Ningxin Hu <ningxin.hu@intel.com>;. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49291

Patch Set 1 #

Patch Set 2 : update based on evan and erg's comments. #

Patch Set 3 : disallow copy and assign of option layout builder classes. #

Total comments: 2

Patch Set 4 : remove the redundant OptionsLayoutBuilderFactoryGtk class #

Total comments: 12

Patch Set 5 : Update based on evan's comments of patch set 4 and sync with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -48 lines) Patch
M chrome/browser/gtk/options/advanced_contents_gtk.cc View 2 3 4 1 chunk +9 lines, -8 lines 0 comments Download
M chrome/browser/gtk/options/content_filter_page_gtk.cc View 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/gtk/options/content_page_gtk.cc View 1 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/gtk/options/cookie_filter_page_gtk.cc View 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/gtk/options/fonts_page_gtk.cc View 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/gtk/options/general_page_gtk.cc View 1 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/gtk/options/options_layout_gtk.h View 1 2 3 4 1 chunk +15 lines, -10 lines 0 comments Download
M chrome/browser/gtk/options/options_layout_gtk.cc View 1 2 3 4 2 chunks +101 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ningxin.hu
As you suggestion, I composed this patch. Could you please review? Your suggestions are very ...
10 years, 7 months ago (2010-05-06 01:41:39 UTC) #1
Evan Martin
We intentionally use the layout we do to match other GNOME apps.
10 years, 7 months ago (2010-05-06 01:45:34 UTC) #2
ningxin.hu
On 2010/05/06 01:45:34, Evan Martin wrote: > We intentionally use the layout we do to ...
10 years, 7 months ago (2010-05-11 02:32:22 UTC) #3
yuzhiqiang
On 2010/05/06 01:45:34, Evan Martin wrote: > We intentionally use the layout we do to ...
10 years, 7 months ago (2010-05-18 17:03:21 UTC) #4
Evan Martin
On 2010/05/18 17:03:21, yuzhiqiang wrote: > On 2010/05/06 01:45:34, Evan Martin wrote: > > We ...
10 years, 7 months ago (2010-05-18 17:23:02 UTC) #5
Evan Martin
+erg (I am going on vacation in a few days and I don't want to ...
10 years, 7 months ago (2010-05-18 17:25:34 UTC) #6
Elliot Glaysher
On 2010/05/18 17:25:34, Evan Martin wrote: > +erg (I am going on vacation in a ...
10 years, 7 months ago (2010-05-19 00:34:59 UTC) #7
Evan Martin
I think I'm also ok with doing it conditionally if the screen is too short.
10 years, 7 months ago (2010-05-19 10:30:16 UTC) #8
Evan Martin
On 2010/05/19 10:30:16, Evan Martin wrote: > I think I'm also ok with doing it ...
10 years, 7 months ago (2010-05-19 10:32:12 UTC) #9
ningxin.hu
Thanks for your suggestions. And sorry for late response. As patch set 3, updated by ...
10 years, 6 months ago (2010-05-31 06:50:32 UTC) #10
Elliot Glaysher
http://codereview.chromium.org/1969006/diff/14001/15008 File chrome/browser/gtk/options/options_layout_gtk.cc (right): http://codereview.chromium.org/1969006/diff/14001/15008#newcode101 chrome/browser/gtk/options/options_layout_gtk.cc:101: gint screen_height = gdk_screen_get_height(gdk_screen_get_default()); So this works only in ...
10 years, 6 months ago (2010-06-01 17:09:39 UTC) #11
ningxin.hu
Hi Elliot, Thanks for your comments. The main purpose of this patch is to let ...
10 years, 6 months ago (2010-06-02 05:14:08 UTC) #12
Evan Martin
This looks pretty good to me; I only have minor style comments. I think you ...
10 years, 6 months ago (2010-06-07 23:32:23 UTC) #13
ningxin.hu
evan, Thanks a lot for you comments. I updated the patches according to your suggestions. ...
10 years, 6 months ago (2010-06-08 19:06:50 UTC) #14
Evan Martin
Looks good. Screenshot for the curious: http://i.imgur.com/TlmwZ.png I'll land this once the tree is open ...
10 years, 6 months ago (2010-06-08 20:54:56 UTC) #15
ningxin.hu
On 2010/06/08 20:54:56, Evan Martin wrote: > Looks good. Screenshot for the curious: > > ...
10 years, 6 months ago (2010-06-09 02:46:40 UTC) #16
Evan Martin
10 years, 6 months ago (2010-06-09 20:07:30 UTC) #17
r49291.  Thanks for the patch, and sorry it took so long!

Powered by Google App Engine
This is Rietveld 408576698