summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_cell.h
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 20:46:37 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 20:46:37 +0000
commit1ae99501e0a15b85f0593a71c939063027c802d4 (patch)
treeae2c255da0ff4687c78b2a017dd1b660a8ed343c /chrome/browser/cocoa/tab_cell.h
parentf8fc92385be0fb12cfffd14db9c6f3b461bec447 (diff)
downloadchromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.zip
chromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.tar.gz
chromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.tar.bz2
Implement a status throbber on the mac, currently using the Win artwork. Made the tab cell use a generic NSView for showing the icon instead of relying on the NSButtonCell to draw it, so a NSImageView is in place by default. Remove un-needed outlets, bindings, and views from the nib. BUG=11916. TEST=loading pages, opening and closing tabs.
Review URL: http://codereview.chromium.org/115527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_cell.h')
-rw-r--r--chrome/browser/cocoa/tab_cell.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/tab_cell.h b/chrome/browser/cocoa/tab_cell.h
index a3ad120..0f0ff0f 100644
--- a/chrome/browser/cocoa/tab_cell.h
+++ b/chrome/browser/cocoa/tab_cell.h
@@ -7,8 +7,11 @@
#import <Cocoa/Cocoa.h>
-// A button cell that handles drawing/highlighting of tabs in the
-// tab bar.
+// A button cell that handles drawing/highlighting of tabs in the tab bar. Text
+// drawing leaves room for an icon view on the left of the tab and a close
+// button on the right. Technically, though, it doesn't know anything about what
+// it's leaving space for, so they could be reversed or even replaced by views
+// for other purposes.
@interface TabCell : NSButtonCell {
}