OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
7 | 7 |
8 namespace chrome { | 8 namespace chrome { |
9 namespace search { | 9 namespace search { |
10 | 10 |
11 // The minimum height of the content view for which the detached bookmark bar | 11 // The minimum height of the content view for which the detached bookmark bar |
12 // should be visible. This value is calculated from the | 12 // should be visible. This value is calculated from the |
13 // chrome/browser/resources/ntp_search/ tile_page.js | 13 // chrome/browser/resources/ntp_search/ tile_page.js |
14 // HEIGHT_FOR_BOTTOM_PANEL constant. | 14 // HEIGHT_FOR_BOTTOM_PANEL constant. |
15 static const int kMinContentHeightForBottomBookmarkBar = 558; | 15 static const int kMinContentHeightForBottomBookmarkBar = 531; |
16 | 16 |
17 // The maximum width of the detached bookmark bar. | 17 // The maximum width of the detached bookmark bar. |
18 static const int kMaxWidthForBottomBookmarkBar = 720; | 18 static const int kMaxWidthForBottomBookmarkBar = 720; |
19 | 19 |
20 // The left and right padding of the detached bookmark bar. | 20 // The left and right padding of the detached bookmark bar. |
21 static const int kHorizontalPaddingForBottomBookmarkBar = 130; | 21 static const int kHorizontalPaddingForBottomBookmarkBar = 130; |
22 | 22 |
23 } // namespace search | 23 } // namespace search |
24 } // namespace chrome | 24 } // namespace chrome |
25 | 25 |
26 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ | 26 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
OLD | NEW |