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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h

Issue 5694001: Rework how bookmark bar folder menus and submenus are layed out when scrollin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Constants used for positioning the bookmark bar. These aren't placed in a 5 // Constants used for positioning the bookmark bar. These aren't placed in a
6 // different file because they're conditionally included in cross platform code 6 // different file because they're conditionally included in cross platform code
7 // and thus no Objective-C++ stuff. 7 // and thus no Objective-C++ stuff.
8 8
9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
(...skipping 15 matching lines...) Expand all
26 const int kNTPBookmarkBarHeight = 40; 26 const int kNTPBookmarkBarHeight = 40;
27 27
28 // The amount of space between the inner bookmark bar and the outer toolbar on 28 // The amount of space between the inner bookmark bar and the outer toolbar on
29 // new tab pages. 29 // new tab pages.
30 const int kNTPBookmarkBarPadding = 30 const int kNTPBookmarkBarPadding =
31 (kNTPBookmarkBarHeight - (kBookmarkBarHeight + kVisualHeightOffset)) / 2; 31 (kNTPBookmarkBarHeight - (kBookmarkBarHeight + kVisualHeightOffset)) / 2;
32 32
33 // The height of buttons in the bookmark bar. 33 // The height of buttons in the bookmark bar.
34 const int kBookmarkButtonHeight = kBookmarkBarHeight + kVisualHeightOffset; 34 const int kBookmarkButtonHeight = kBookmarkBarHeight + kVisualHeightOffset;
35 35
36 // The radius of the corner curves on the menu. Also used for sizing the shadow
37 // window behind the menu window at times when the menu can be scrolled.
38 const CGFloat kBookmarkBarMenuCornerRadius = 4.0;
39
36 } // namespace bookmarks 40 } // namespace bookmarks
37 41
38 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 42 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/app/nibs/BookmarkBarFolderWindow.xib ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698