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

Issue 113590: Quick reimplementation of StatusBubbleGtk to not suck as much. (Closed)

Created:
11 years, 7 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Quick reimplementation of StatusBubbleGtk to not suck as much. The TabContentsContainerGtk now uses a GtkFixed to store its children, and the status bubble is now a child of that GtkFixed so that it can be absolutely positioned on top of the rendered data. Since it is no longer a GTK_WINDOW_POPUP, all the weird stuff related to different window managers goes away. http://crbug.com/11635 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16433

Patch Set 1 #

Patch Set 2 : Make it pretty (+ style changes) #

Patch Set 3 : lint errors #

Patch Set 4 : More style fixes #

Total comments: 9

Patch Set 5 : Fixes for evanm #

Total comments: 6

Patch Set 6 : Update DetachTabContents #

Patch Set 7 : (git cl uploads dirty tree state!?) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -69 lines) Patch
M chrome/browser/gtk/browser_window_gtk.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/gtk/status_bubble_gtk.h View 1 2 3 4 5 2 chunks +40 lines, -14 lines 0 comments Download
M chrome/browser/gtk/status_bubble_gtk.cc View 1 2 3 4 2 chunks +88 lines, -38 lines 1 comment Download
M chrome/browser/gtk/tab_contents_container_gtk.h View 1 2 3 4 2 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/gtk/tab_contents_container_gtk.cc View 1 2 3 4 5 5 chunks +45 lines, -10 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Elliot Glaysher
11 years, 7 months ago (2009-05-19 19:17:56 UTC) #1
Evan Martin
I am concerned this will regress the tab contents. It seems it should not be ...
11 years, 7 months ago (2009-05-19 19:27:09 UTC) #2
Elliot Glaysher
Updated. http://codereview.chromium.org/113590/diff/1008/20 File chrome/browser/gtk/tab_contents_container_gtk.cc (right): http://codereview.chromium.org/113590/diff/1008/20#newcode155 Line 155: // Set all tab contents to the ...
11 years, 7 months ago (2009-05-19 19:59:39 UTC) #3
Evan Martin
I apologize for my dumb questions. http://codereview.chromium.org/113590/diff/2001/3002 File chrome/browser/gtk/status_bubble_gtk.cc (right): http://codereview.chromium.org/113590/diff/2001/3002#newcode55 Line 55: parent_ = ...
11 years, 7 months ago (2009-05-19 20:26:20 UTC) #4
Elliot Glaysher
http://codereview.chromium.org/113590/diff/2001/3002 File chrome/browser/gtk/status_bubble_gtk.cc (right): http://codereview.chromium.org/113590/diff/2001/3002#newcode55 Line 55: parent_ = parent; On 2009/05/19 20:26:21, Evan Martin ...
11 years, 7 months ago (2009-05-19 20:52:27 UTC) #5
Evan Martin
On 2009/05/19 20:52:27, Elliot Glaysher wrote: > This size won't automatically change when the label ...
11 years, 7 months ago (2009-05-19 21:07:37 UTC) #6
Elliot Glaysher
On 2009/05/19 21:07:37, Evan Martin wrote: > On 2009/05/19 20:52:27, Elliot Glaysher wrote: > > ...
11 years, 7 months ago (2009-05-19 22:25:25 UTC) #7
Evan Martin
OK, LGTM for now. Please run with valgrind and try opening and closing a lot ...
11 years, 7 months ago (2009-05-19 22:27:23 UTC) #8
Evan Stade
11 years, 7 months ago (2009-05-19 23:41:25 UTC) #9
http://codereview.chromium.org/113590/diff/1013/1015
File chrome/browser/gtk/status_bubble_gtk.cc (right):

http://codereview.chromium.org/113590/diff/1013/1015#newcode128
Line 128: gtk_widget_set_app_paintable(container_.get(), TRUE);
why app paintable?

http://codereview.chromium.org/113590/diff/1013/1017
File chrome/browser/gtk/tab_contents_container_gtk.cc (right):

http://codereview.chromium.org/113590/diff/1013/1017#newcode87
Line 87: // It is possible to detach an unrealized, unparrented TabContents if
you
typo: unparented

Powered by Google App Engine
This is Rietveld 408576698