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

Issue 329022: GTK: Draw floating bookmark bar correctly during resizes.... (Closed)

Created:
11 years, 1 month ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
tony, Elliot Glaysher
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

GTK: Draw floating bookmark bar correctly during resizes. BUG=23907 TEST=Using ratchet + clank theme, go to NTP while bookmark bar is off so you see a floating bar. Maximize the window. It should look right. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30226

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -18 lines) Patch
M chrome/browser/gtk/bookmark_bar_gtk.h View 1 4 chunks +21 lines, -1 line 1 comment Download
M chrome/browser/gtk/bookmark_bar_gtk.cc View 1 2 6 chunks +60 lines, -17 lines 6 comments Download

Messages

Total messages: 11 (0 generated)
Evan Stade
11 years, 1 month ago (2009-10-26 19:10:24 UTC) #1
tony
http://codereview.chromium.org/329022/diff/1/3 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/329022/diff/1/3#newcode1138 Line 1138: // We get the size-allocate signal before the ...
11 years, 1 month ago (2009-10-26 20:19:21 UTC) #2
Elliot Glaysher
Does this also deal with resizing the web inspector being attached splitscreen to the browser ...
11 years, 1 month ago (2009-10-26 20:23:49 UTC) #3
Evan Stade
> Does this also deal with resizing the web inspector being attached > splitscreen to ...
11 years, 1 month ago (2009-10-26 20:56:24 UTC) #4
Evan Stade
ok, docked devtools case fixed.
11 years, 1 month ago (2009-10-26 23:49:39 UTC) #5
tony
http://codereview.chromium.org/329022/diff/4002/4004 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/329022/diff/4002/4004#newcode627 Line 627: g_signal_connect(widget()->parent, "size-allocate", What happens if you drag a ...
11 years, 1 month ago (2009-10-26 23:55:30 UTC) #6
Evan Stade
http://codereview.chromium.org/329022/diff/4002/4004 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/329022/diff/4002/4004#newcode627 Line 627: g_signal_connect(widget()->parent, "size-allocate", On 2009/10/26 23:55:30, tony wrote: > ...
11 years, 1 month ago (2009-10-27 00:11:12 UTC) #7
tony
LGTM http://codereview.chromium.org/329022/diff/4002/4004 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/329022/diff/4002/4004#newcode627 Line 627: g_signal_connect(widget()->parent, "size-allocate", On 2009/10/27 00:11:12, Evan Stade ...
11 years, 1 month ago (2009-10-27 00:34:19 UTC) #8
Evan Stade
http://codereview.chromium.org/329022/diff/4002/4004 File chrome/browser/gtk/bookmark_bar_gtk.cc (right): http://codereview.chromium.org/329022/diff/4002/4004#newcode627 Line 627: g_signal_connect(widget()->parent, "size-allocate", it's because we don't want to ...
11 years, 1 month ago (2009-10-27 00:37:47 UTC) #9
tony
On 2009/10/27 00:37:47, Evan Stade wrote: > http://codereview.chromium.org/329022/diff/4002/4004 > File chrome/browser/gtk/bookmark_bar_gtk.cc (right): > > http://codereview.chromium.org/329022/diff/4002/4004#newcode627 ...
11 years, 1 month ago (2009-10-27 00:46:21 UTC) #10
Evan Stade
11 years, 1 month ago (2009-10-27 01:06:01 UTC) #11
On Mon, Oct 26, 2009 at 5:46 PM,  <tony@chromium.org> wrote:
> On 2009/10/27 00:37:47, Evan Stade wrote:
>>
>> http://codereview.chromium.org/329022/diff/4002/4004
>> File chrome/browser/gtk/bookmark_bar_gtk.cc (right):
>
>> http://codereview.chromium.org/329022/diff/4002/4004#newcode627
>> Line 627: g_signal_connect(widget()->parent, "size-allocate",
>> it's because we don't want to connect mroe than once. We could also track
>> that
>> with a boolean, I just don't like member var bloat.
>
> Right, but why can't we connect once during init?

because it's not parented until after init. And we don't connect to
parent-set because, as you noted, the parent is different for
floating/docked.

>
> http://codereview.chromium.org/329022
>

Powered by Google App Engine
This is Rietveld 408576698