Chromium Code Reviews| 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 mininum height of content view to layout detached bookmark bar at bottom | 11 enum { |
| 12 // for |NTP| search mode, calculated from chrome/browser/resources/ntp_search/ | 12 // The minimum height of the content view for which the detached bookmark bar |
| 13 // tile_page.js HEIGHT_FOR_BOTTOM_PANEL constant. | 13 // should be visible. This value is calculated from the |
| 14 extern const int kMinContentHeightForBottomBookmarkBar; | 14 // chrome/browser/resources/ntp_search/ tile_page.js |
| 15 // HEIGHT_FOR_BOTTOM_PANEL constant. | |
| 16 kMinContentHeightForBottomBookmarkBar = 558, | |
|
dhollowa
2012/12/04 01:24:49
I'm not a fan of using enums as integer constants.
sail
2012/12/04 01:41:12
Done.
| |
| 17 | |
| 18 // The maximum width of the detached bookmark bar. | |
| 19 kMaxWidthForBottomBookmarkBar = 720, | |
| 20 | |
| 21 // The left and right padding of the detached bookmark bar. | |
| 22 kHorizontalPaddingForBottomBookmarkBar = 130, | |
| 23 }; | |
| 15 | 24 |
| 16 } // namespace search | 25 } // namespace search |
| 17 } // namespace chrome | 26 } // namespace chrome |
| 18 | 27 |
| 19 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ | 28 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
| OLD | NEW |