OLD | NEW |
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 // 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_COCOA_BOOKMARK_BAR_CONSTANTS_H_ | 9 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONSTANTS_H_ |
10 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONSTANTS_H_ | 10 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONSTANTS_H_ |
11 | 11 |
12 namespace bookmarks { | 12 namespace bookmarks { |
13 | 13 |
14 // Our height, when opened in "always visible" mode. | 14 // Our height, when opened in "always visible" mode. |
15 const int kBookmarkBarHeight = 28; | 15 const int kBookmarkBarHeight = 28; |
16 | 16 |
17 // Our height, when visible in "new tab page" mode. | 17 // Our height, when visible in "new tab page" mode. |
18 const int kNTPBookmarkBarHeight = 40; | 18 const int kNTPBookmarkBarHeight = 40; |
19 | 19 |
20 // The amount of space between the inner bookmark bar and the outer toolbar on | 20 // The amount of space between the inner bookmark bar and the outer toolbar on |
21 // new tab pages. | 21 // new tab pages. |
22 const int kNTPBookmarkBarPadding = | 22 const int kNTPBookmarkBarPadding = |
23 (kNTPBookmarkBarHeight - kBookmarkBarHeight) / 2; | 23 (kNTPBookmarkBarHeight - kBookmarkBarHeight) / 2; |
24 | 24 |
| 25 // The height of buttons in the bookmark bar. |
| 26 const int kBookmarkButtonHeight = kBookmarkBarHeight; |
| 27 |
25 } // namespace bookmarks | 28 } // namespace bookmarks |
26 | 29 |
27 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONSTANTS_H_ | 30 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONSTANTS_H_ |
OLD | NEW |