From 125628446db08f0a43be1dbe9681376514fa836d Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Tue, 2 Jun 2009 18:51:59 +0000 Subject: Adds mouseover images to the close tab button on Mac. BUG=none TEST=Mousing over the close button should change its image. Review URL: http://codereview.chromium.org/113857 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17417 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/tab_view.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/browser/cocoa/tab_view.h') diff --git a/chrome/browser/cocoa/tab_view.h b/chrome/browser/cocoa/tab_view.h index 96536d7..2124c20 100644 --- a/chrome/browser/cocoa/tab_view.h +++ b/chrome/browser/cocoa/tab_view.h @@ -7,6 +7,8 @@ #import +#include "base/scoped_nsobject.h" + @class TabController, TabWindowController; // A view that handles the event tracking (clicking and dragging) for a tab @@ -20,6 +22,9 @@ // in and out on mouseovers. IBOutlet NSButton* closeButton_; + // Tracking area for close button mouseover images. + scoped_nsobject trackingArea_; + // All following variables are valid for the duration of a drag. // These are released on mouseUp: BOOL isTheOnlyTab_; // Is this the only tab in the window? -- cgit v1.1