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

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

Issue 12674019: Alternate NTP Mac: Show overlay at fixed position (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // The height of buttons in the bookmark bar. 42 // The height of buttons in the bookmark bar.
43 const int kBookmarkButtonHeight = kBookmarkBarHeight + kVisualHeightOffset; 43 const int kBookmarkButtonHeight = kBookmarkBarHeight + kVisualHeightOffset;
44 44
45 // The height of buttons in a bookmark bar folder menu. 45 // The height of buttons in a bookmark bar folder menu.
46 const CGFloat kBookmarkFolderButtonHeight = 24.0; 46 const CGFloat kBookmarkFolderButtonHeight = 24.0;
47 47
48 // The radius of the corner curves on the menu. Also used for sizing the shadow 48 // The radius of the corner curves on the menu. Also used for sizing the shadow
49 // window behind the menu window at times when the menu can be scrolled. 49 // window behind the menu window at times when the menu can be scrolled.
50 const CGFloat kBookmarkBarMenuCornerRadius = 4.0; 50 const CGFloat kBookmarkBarMenuCornerRadius = 4.0;
51 51
52 // Overlap (in pixels) between the toolbar and the bookmark bar (when showing in
53 // normal mode).
54 const CGFloat kBookmarkBarOverlap = 3.0;
55
52 } // namespace bookmarks 56 } // namespace bookmarks
53 57
54 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 58 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698