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

Issue 100203: Implement a mostly working InfoBubble with a shim BookmarkBubble. (Closed)

Created:
11 years, 7 months ago by Dean McNamee
Modified:
9 years, 7 months ago
Reviewers:
ecattell, Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Implement a mostly working InfoBubble with a shim BookmarkBubble. This ended up being implemented as a toplevel instead of a popup, to handle things like virtual desktop switching. I imagine there are some other problems we might hit, like the window getting decorated, etc. Although I think the shape mask might prevent decorations from being visible. This is not pixel perfect with Windows, since we're not anti-aliasing the frame border.

Patch Set 1 #

Patch Set 2 : Comments #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -3 lines) Patch
A chrome/browser/gtk/bookmark_bubble_gtk.h View 1 chunk +26 lines, -0 lines 3 comments Download
A chrome/browser/gtk/bookmark_bubble_gtk.cc View 1 1 chunk +26 lines, -0 lines 2 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/gtk/info_bubble_gtk.h View 1 1 chunk +72 lines, -0 lines 8 comments Download
A chrome/browser/gtk/info_bubble_gtk.cc View 1 1 chunk +208 lines, -0 lines 0 comments Download
M chrome/browser/gtk/toolbar_star_toggle_gtk.cc View 2 chunks +18 lines, -0 lines 2 comments Download
M chrome/chrome.gyp View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Dean McNamee
Oh man, so involved. I actually implemented the anti-aliasing so we were pixel perfect with ...
11 years, 7 months ago (2009-04-30 13:10:56 UTC) #1
Evan Martin
I have some concerns about whether this works with all window managers (in particular that ...
11 years, 7 months ago (2009-04-30 15:22:54 UTC) #2
ecattell
http://codereview.chromium.org/100203/diff/17/18 File chrome/browser/gtk/bookmark_bubble_gtk.cc (right): http://codereview.chromium.org/100203/diff/17/18#newcode25 Line 25: DCHECK(bubble); Please provide some logging output for this ...
11 years, 7 months ago (2009-04-30 19:55:37 UTC) #3
Dean McNamee
Thanks for the great review, changes addressed in: http://codereview.chromium.org/99276 http://codereview.chromium.org/100203/diff/17/18 File chrome/browser/gtk/bookmark_bubble_gtk.cc (right): http://codereview.chromium.org/100203/diff/17/18#newcode25 Line ...
11 years, 7 months ago (2009-05-01 15:01:46 UTC) #4
Evan Martin
11 years, 7 months ago (2009-05-01 15:33:50 UTC) #5
On 2009/05/01 15:01:46, Dean McNamee wrote:
> http://codereview.chromium.org/100203/diff/17/23
> File chrome/browser/gtk/toolbar_star_toggle_gtk.cc (right):
> 
> http://codereview.chromium.org/100203/diff/17/23#newcode35
> Line 35: gint x, y;
> On 2009/04/30 19:55:37, ecattell wrote:
> > Please initialize basic types (like ints)
> 
> It is initialized on the next line, do you still think it needs to be set it
to
> 0?

Some compilers (and maybe valgrind?) will complain about this, since they don't
know x/y are out params.  In fact, I would suspect GTK might have the
annotations in place to tell GCC that they're out params just for that reason...

Powered by Google App Engine
This is Rietveld 408576698