Chromium Code Reviews| Index: chrome/browser/ui/views/layout_constants.cc |
| diff --git a/chrome/browser/ui/views/layout_constants.cc b/chrome/browser/ui/views/layout_constants.cc |
| index 9182f797ce6ecb266f5456d86e39fcd02f9dea44..fef99efe7c1abb873e4b331e4c94232a79828404 100644 |
| --- a/chrome/browser/ui/views/layout_constants.cc |
| +++ b/chrome/browser/ui/views/layout_constants.cc |
| @@ -13,8 +13,9 @@ int GetLayoutConstant(LayoutConstant constant) { |
| const int kLocationBarBubbleVerticalPadding[] = {1, 3, 3}; |
| const int kLocationBarHeight[] = {0, 28, 32}; |
| const int kLocationBarHorizontalPadding[] = {3, 6, 6}; |
| - const int kLocationBarVerticalPadding[] = {2, 6, 6}; |
| + const int kLocationBarVerticalPadding[] = {2, 2, 2}; |
|
Peter Kasting
2015/09/16 23:22:11
You didn't make this change in old versions of thi
tdanderson
2015/09/18 14:23:47
Yes, this is an intentional change. Changed the CL
|
| const int kOmniboxDropdownBorderInterior[] = {6, 0, 0}; |
| + const int kOmniboxFontPixelSize[] = {16, 14, 14}; |
| const int kToolbarViewContentShadowHeight[] = {0, 0, 0}; |
| const int kToolbarViewContentShadowHeightAsh[] = {2, 0, 0}; |
| const int kToolbarViewElementPadding[] = {0, 0, 8}; |
| @@ -37,6 +38,8 @@ int GetLayoutConstant(LayoutConstant constant) { |
| return kLocationBarVerticalPadding[mode]; |
| case OMNIBOX_DROPDOWN_BORDER_INTERIOR: |
| return kOmniboxDropdownBorderInterior[mode]; |
| + case OMNIBOX_FONT_PIXEL_SIZE: |
| + return kOmniboxFontPixelSize[mode]; |
| case TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT: |
| return kToolbarViewContentShadowHeight[mode]; |
| case TOOLBAR_VIEW_CONTENT_SHADOW_HEIGHT_ASH: |