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

Unified Diff: chrome/browser/cocoa/tab_view.h

Issue 113857: Adds mouseover images to the close tab button on Mac.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_view.mm » ('j') | chrome/browser/cocoa/tab_view.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/tab_view.h
===================================================================
--- chrome/browser/cocoa/tab_view.h (revision 16861)
+++ chrome/browser/cocoa/tab_view.h (working copy)
@@ -7,6 +7,8 @@
#import <Cocoa/Cocoa.h>
+#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<NSTrackingArea> 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?
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_view.mm » ('j') | chrome/browser/cocoa/tab_view.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698