summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller.h
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:07:50 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:07:50 +0000
commit2e329df021404dd6c217960e94ec5d29ab2aebaf (patch)
treeaaa504135a23097e24cd677ed69b91d534ad42a3 /chrome/browser/cocoa/bookmark_bar_controller.h
parentc0c9717eb3399cb5034a9c3d45c1ac6a03d6e292 (diff)
downloadchromium_src-2e329df021404dd6c217960e94ec5d29ab2aebaf.zip
chromium_src-2e329df021404dd6c217960e94ec5d29ab2aebaf.tar.gz
chromium_src-2e329df021404dd6c217960e94ec5d29ab2aebaf.tar.bz2
Properly show/hide "off the side" button/menu (chevron) on bookmark bar as needed.
BUG=http://crbug.com/17852 TEST=delete all bookmarks. No chevron. Add one bookmark to bookmark bar. No chevron. Make window real wide. Add some more bookmarks (but not enough that it spills over). No chevron. Make window thinner. Chevron appears! Widen window until chevron hides. Add more bookmarks until it appears again. Review URL: http://codereview.chromium.org/201005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.h')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.h b/chrome/browser/cocoa/bookmark_bar_controller.h
index 8948510..a2ae151 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.h
+++ b/chrome/browser/cocoa/bookmark_bar_controller.h
@@ -144,7 +144,7 @@ class PrefService;
- (NSRect)frameForBookmarkButtonFromCell:(NSCell*)cell xOffset:(int*)xOffset;
- (void)checkForBookmarkButtonGrowth:(NSButton*)button;
- (void)frameDidChange;
-- (BOOL)offTheSideButtonIsEnabled;
+- (BOOL)offTheSideButtonIsHidden;
- (NSMenu *)menuForFolderNode:(const BookmarkNode*)node;
- (int64)nodeIdFromMenuTag:(int32)tag;
- (int32)menuTagFromNodeId:(int64)menuid;