OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |