summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller.h
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 13:58:17 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 13:58:17 +0000
commit8fdac81e046a1ae0cb085a5f549aa6379a5a069f (patch)
tree567e4e559c70db5c2941c0c62f42f40bf13598ac /chrome/browser/cocoa/bookmark_bar_controller.h
parent1e76d8ad90eae14be11f5151c8670a89b3e19aec (diff)
downloadchromium_src-8fdac81e046a1ae0cb085a5f549aa6379a5a069f.zip
chromium_src-8fdac81e046a1ae0cb085a5f549aa6379a5a069f.tar.gz
chromium_src-8fdac81e046a1ae0cb085a5f549aa6379a5a069f.tar.bz2
Add unit test for bookmark bar controller.
Review URL: http://codereview.chromium.org/73051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13740 0039d316-1c4b-4281-b951-d872f2087c98
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_