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

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

Issue 348017: Add the "Other bookmarks" button on the right of the bookmark bar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The BookmarkBarToolbarView is responsible for drawing the background of the 5 // The BookmarkBarToolbarView is responsible for drawing the background of the
6 // BookmarkBar's toolbar in either of its two display modes - permanently 6 // BookmarkBar's toolbar in either of its two display modes - permanently
7 // attached (slimline with a stroke at the bottom edge) or New Tab Page style 7 // attached (slimline with a stroke at the bottom edge) or New Tab Page style
8 // (padded with a round rect border and the New Tab Page theme behind). 8 // (padded with a round rect border and the New Tab Page theme behind).
9 9
10 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_TOOLBAR_VIEW_H_ 10 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_TOOLBAR_VIEW_H_
(...skipping 15 matching lines...) Expand all
26 // size of the currently selected tab to properly calculate where the 26 // size of the currently selected tab to properly calculate where the
27 // background image is joined. 27 // background image is joined.
28 - (int)currentTabContentsHeight; 28 - (int)currentTabContentsHeight;
29 29
30 // Current theme provider, passed to the cross platform NtpBackgroundUtil class. 30 // Current theme provider, passed to the cross platform NtpBackgroundUtil class.
31 - (ThemeProvider*)themeProvider; 31 - (ThemeProvider*)themeProvider;
32 32
33 // Returns true if the bookmark bar should be drawn as if it's a disconnected 33 // Returns true if the bookmark bar should be drawn as if it's a disconnected
34 // bookmark bar on the New Tag Page. 34 // bookmark bar on the New Tag Page.
35 - (BOOL)drawAsFloatingBar; 35 - (BOOL)drawAsFloatingBar;
36
36 @end 37 @end
37 38
38 @interface BookmarkBarToolbarView : BackgroundGradientView { 39 @interface BookmarkBarToolbarView : BackgroundGradientView {
39 @private 40 @private
40 // The controller which tells us how we should be drawing (as normal or as a 41 // The controller which tells us how we should be drawing (as normal or as a
41 // floating bar). 42 // floating bar).
42 IBOutlet id<BookmarkBarToolbarViewController> controller_; 43 IBOutlet id<BookmarkBarToolbarViewController> controller_;
43
44 // The bookmark bar's contents.
45 IBOutlet BookmarkBarView* buttonView_;
46 } 44 }
47
48 // Called by our controller to layout our subviews, so that on new tab pages,
49 // we have a border.
50 - (void)layoutViews;
51
52 @end 45 @end
53 46
54 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_TOOLBAR_VIEW_H_ 47 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_bar_toolbar_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698