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

Issue 160512: gtk: Move the enter/leave-notify-event handling to TabRendererGtk and hook up... (Closed)

Created:
11 years, 4 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

gtk: Move the enter/leave-notify-event handling to TabRendererGtk and hook up the close button signals to this handler. BUG=18196 TEST=Open two tabs. Hover the mouse over the close button of the inactive tab. The inactive tab should stay highlighted. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22297

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -35 lines) Patch
M chrome/browser/gtk/tabs/tab_gtk.h View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_gtk.cc View 2 chunks +2 lines, -16 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_renderer_gtk.h View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_renderer_gtk.cc View 2 chunks +18 lines, -6 lines 5 comments Download

Messages

Total messages: 7 (0 generated)
James Hawkins
11 years, 4 months ago (2009-08-03 01:11:40 UTC) #1
Elliot Glaysher
LGTM + Nit http://codereview.chromium.org/160512/diff/1/4 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/160512/diff/1/4#newcode867 Line 867: GdkEventCrossing* event, Spacing?
11 years, 4 months ago (2009-08-03 03:30:29 UTC) #2
James Hawkins
http://codereview.chromium.org/160512/diff/1/4 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/160512/diff/1/4#newcode867 Line 867: GdkEventCrossing* event, On 2009/08/03 03:30:29, Elliot Glaysher wrote: ...
11 years, 4 months ago (2009-08-03 03:40:16 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/160512/diff/1/4 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/160512/diff/1/4#newcode867 Line 867: GdkEventCrossing* event, On 2009/08/03 03:40:16, James Hawkins wrote: ...
11 years, 4 months ago (2009-08-03 03:41:46 UTC) #4
James Hawkins
http://codereview.chromium.org/160512/diff/1/4 File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): http://codereview.chromium.org/160512/diff/1/4#newcode867 Line 867: GdkEventCrossing* event, On 2009/08/03 03:41:46, Elliot Glaysher wrote: ...
11 years, 4 months ago (2009-08-03 03:45:02 UTC) #5
James Hawkins
On 2009/08/03 03:45:02, James Hawkins wrote: > http://codereview.chromium.org/160512/diff/1/4 > File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right): > > http://codereview.chromium.org/160512/diff/1/4#newcode867 ...
11 years, 4 months ago (2009-08-03 18:27:29 UTC) #6
Elliot Glaysher
11 years, 4 months ago (2009-08-03 18:39:40 UTC) #7
(wrote this last night but didn't hit publish.)

http://codereview.chromium.org/160512/diff/1/4
File chrome/browser/gtk/tabs/tab_renderer_gtk.cc (right):

http://codereview.chromium.org/160512/diff/1/4#newcode867
Line 867: GdkEventCrossing* event,
On 2009/08/03 03:45:02, James Hawkins wrote:
> On 2009/08/03 03:41:46, Elliot Glaysher wrote:
> > On 2009/08/03 03:40:16, James Hawkins wrote:
> > > On 2009/08/03 03:30:29, Elliot Glaysher wrote:
> > > > Spacing?
> > > 
> > > I'm not sure what you're pointing out.  Little help?
> > 
> > "GdkEventCrossing* event," and "TabRenderGtk* tab) {" should have one
> additional
> > space; they aren't lined up with the '(' character. Same with
> > OnLeaveNotifyEvent.
> 
> In my editor and this CL, The G's in GtkWidget and GdkEventCrossing line up
> (same for the T of TabRendererGtk).  We're seeing something different?

Build of Chromium Linux from Friday: Off by one space

Windows Chromium; Linux Firefox: Spacing looks OK.

Really weird. LGTM.

Powered by Google App Engine
This is Rietveld 408576698