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

Issue 14496004: Gtk content shell: make the window shrinkable. (Closed)

Created:
7 years, 7 months ago by mstensho (USE GERRIT)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Gtk content shell: make the window shrinkable. Don't treat a window resize request by setting the content widget's minimum size; instead just resize the top level window. R= BUG=236301 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201315

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review issue raised by jochen: Need to take UI elements into account. #

Patch Set 3 : Rebase master #

Total comments: 1

Patch Set 4 : Address issue raised by jochen: nit. please spell out "elms" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M content/shell/shell.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/shell_gtk.cc View 1 2 3 3 chunks +30 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
mstensho (USE GERRIT)
7 years, 7 months ago (2013-05-14 06:11:04 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc#newcode215 content/shell/shell_gtk.cc:215: gtk_window_resize(window_, width, height); this will break headless mode where ...
7 years, 7 months ago (2013-05-14 07:25:32 UTC) #2
mstensho (USE GERRIT)
https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc#newcode215 content/shell/shell_gtk.cc:215: gtk_window_resize(window_, width, height); On 2013/05/14 07:25:33, jochen wrote: > ...
7 years, 7 months ago (2013-05-14 09:28:23 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc#newcode215 content/shell/shell_gtk.cc:215: gtk_window_resize(window_, width, height); On 2013/05/14 09:28:24, mstensho wrote: > ...
7 years, 7 months ago (2013-05-14 09:31:39 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc#newcode215 content/shell/shell_gtk.cc:215: gtk_window_resize(window_, width, height); On 2013/05/14 09:31:39, jochen wrote: > ...
7 years, 7 months ago (2013-05-14 09:40:16 UTC) #5
jochen (gone - plz use gerrit)
On 2013/05/14 09:40:16, mstensho wrote: > https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc > File content/shell/shell_gtk.cc (right): > > https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc#newcode215 > ...
7 years, 7 months ago (2013-05-14 09:46:19 UTC) #6
mstensho (USE GERRIT)
On 2013/05/14 09:46:19, jochen wrote: > On 2013/05/14 09:40:16, mstensho wrote: > > https://codereview.chromium.org/14496004/diff/1/content/shell/shell_gtk.cc > ...
7 years, 7 months ago (2013-05-14 11:11:30 UTC) #7
mstensho (USE GERRIT)
7 years, 7 months ago (2013-05-14 11:11:40 UTC) #8
jochen (gone - plz use gerrit)
hum, for me (and on the bots) it passes. Can you make sure you recompiled ...
7 years, 7 months ago (2013-05-14 11:19:40 UTC) #9
mstensho (USE GERRIT)
I tried both release and debug and rebuilt with target all_webkit and content_shell. Here's what ...
7 years, 7 months ago (2013-05-14 11:32:19 UTC) #10
jochen (gone - plz use gerrit)
hum, what revision are you building on? If you're before r198696 the test does indeed ...
7 years, 7 months ago (2013-05-14 11:41:01 UTC) #11
mstensho (USE GERRIT)
ooh... yes, this patch was created a couple of weeks ago, so I was a ...
7 years, 7 months ago (2013-05-14 12:07:53 UTC) #12
mstensho (USE GERRIT)
Address review issue + rebase master (separate commits)
7 years, 7 months ago (2013-05-15 11:02:43 UTC) #13
jochen (gone - plz use gerrit)
lgtm, thanks! https://codereview.chromium.org/14496004/diff/17002/content/shell/shell.h File content/shell/shell.h (right): https://codereview.chromium.org/14496004/diff/17002/content/shell/shell.h#newcode246 content/shell/shell.h:246: int ui_elms_height_; // height of menubar, toolbar, ...
7 years, 7 months ago (2013-05-21 08:08:07 UTC) #14
mstensho (USE GERRIT)
Fixed
7 years, 7 months ago (2013-05-21 08:15:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/14496004/22001
7 years, 7 months ago (2013-05-21 10:36:18 UTC) #16
commit-bot: I haz the power
7 years, 7 months ago (2013-05-21 16:41:11 UTC) #17
Message was sent while issue was closed.
Change committed as 201315

Powered by Google App Engine
This is Rietveld 408576698