Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: chrome/browser/cocoa/bookmark_bar_state_controller.h

Issue 46078: Mac bookmark work. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_prefs.cc ('k') | chrome/browser/cocoa/bookmark_bar_state_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_STATE_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_STATE_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 class Browser;
11
12 // A class to manage bookmark bar state (visible or not). State is
13 // shared among all tabs and saved in a preference.
14 @interface BookmarkBarStateController : NSObject {
15 @private
16 Browser* browser_;
17 BOOL visible_;
18 }
19
20 - (id)initWithBrowser:(Browser *)browser;
21
22 // Return YES or NO reflecting visibility state of the bookmark bar.
23 - (BOOL)visible;
24
25 // Toggle (on or off) the bookmark bar visibility.
26 - (void)toggleBookmarkBar;
27
28 @end // BookmarkBarStateController
29
30
31 @interface BookmarkBarStateController (Private)
32 // Internal method exposed for unit test convenience.
33 - (void)togglePreference;
34 @end
35
36 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_STATE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_prefs.cc ('k') | chrome/browser/cocoa/bookmark_bar_state_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698