summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.h')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.h b/chrome/browser/cocoa/bookmark_bar_controller.h
index 6c8e4c0..eec8a60 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.h
+++ b/chrome/browser/cocoa/bookmark_bar_controller.h
@@ -35,15 +35,18 @@ class Profile;
- (id)initWithProfile:(Profile*)profile
contentArea:(NSView*)content;
-// Change the visibility state of the bookmark bar to |enable|.
-- (void)showBookmarkBar:(BOOL)enable;
+// Returns whether or not the bookmark bar is visible.
+- (BOOL)isBookmarkBarVisible;
// Toggle the state of the bookmark bar.
- (void)toggleBookmarkBar;
-// Returns whether or not the bookmark bar is visible.
-- (BOOL)isBookmarkBarVisible;
+@end
+// These APIs should only be used by unit tests, in place of "friend" classes.
+@interface BookmarkBarController(TestingAPI)
+// Access to the bookmark bar's view represented by this controller.
+- (NSView*)view;
@end
#endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_