summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_button_cell.h
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 05:31:07 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 05:31:07 +0000
commited448a7628414a78a8cff6069ecf87b76faa48f2 (patch)
tree6c3603d66bd0e5fa648ae24ee2372c79ffb67ab3 /chrome/browser/cocoa/bookmark_button_cell.h
parent8674a2cb7df6f22523fd985aadbcca1748e9d5f3 (diff)
downloadchromium_src-ed448a7628414a78a8cff6069ecf87b76faa48f2.zip
chromium_src-ed448a7628414a78a8cff6069ecf87b76faa48f2.tar.gz
chromium_src-ed448a7628414a78a8cff6069ecf87b76faa48f2.tar.bz2
UI review follow-up for m5 bookmark bar deliverables
Remove border of the (empty) bookmark item. Add arrow icons for folders in bookmark bar folder windows (but not on the bar) Scroll wheel events now scroll the bookmark bar folder windows (mostly works; has a little leak-thru) BUG=42026 TEST=see description xib change: NSScrollView changes to a BookmarkBarFolderWindowScrollView Review URL: http://codereview.chromium.org/1731001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button_cell.h')
-rw-r--r--chrome/browser/cocoa/bookmark_button_cell.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_button_cell.h b/chrome/browser/cocoa/bookmark_button_cell.h
index 6684b8e..6213343 100644
--- a/chrome/browser/cocoa/bookmark_button_cell.h
+++ b/chrome/browser/cocoa/bookmark_button_cell.h
@@ -20,10 +20,18 @@ class BookmarkNode;
// Starting index of bookmarkFolder children that we care to use.
int startingChildIndex_;
+
+ // Should we draw the folder arrow as needed? Not used for the bar
+ // itself but used on the folder windows.
+ BOOL drawFolderArrow_;
+
+ // Arrow for folders
+ scoped_nsobject<NSImage> arrowImage_;
}
@property (readwrite, assign) const BookmarkNode* bookmarkNode;
@property (readwrite, assign) int startingChildIndex;
+@property (readwrite, assign) BOOL drawFolderArrow;
// Create a button cell which draws with a theme.
+ (id)buttonCellForNode:(const BookmarkNode*)node