Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / bookmarks / bookmark_bar_constants.h
bloba6c4e7bae77b9e820bbd8345200c859ae8de9c34
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
8 #include "build/build_config.h"
10 namespace chrome {
12 // The height of Bookmarks Bar, when visible in "New Tab Page" mode.
13 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
14 const int kNTPBookmarkBarHeight = 40;
15 #endif
17 // The height of Bookmarks Bar, when attached to the toolbar.
18 #if defined(OS_MACOSX)
19 // This is actually a little smaller than it should be (by |kVisualHeightOffset|
20 // points) because of the visual overlap with the main toolbar. When using this
21 // to compute values other than the actual height of the toolbar, be sure to add
22 // |kVisualHeightOffset|.
23 const int kBookmarkBarHeight = 26;
24 #elif defined(TOOLKIT_VIEWS)
25 const int kBookmarkBarHeight = 28;
26 #endif
28 } // namespace chrome
30 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_