Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: chrome/browser/ui/layout_constants.cc

Issue 2364163002: Views - draw omnibox popup shadows (Closed)
Patch Set: shorten comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/layout_constants.h ('k') | chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/layout_constants.cc
diff --git a/chrome/browser/ui/layout_constants.cc b/chrome/browser/ui/layout_constants.cc
index b4a18ace313bd6bb4619b619714cdcea28feb28a..85e24db6bfcc5e08c637cd68897d45c02e4174b5 100644
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -18,7 +18,6 @@ int GetLayoutConstant(LayoutConstant constant) {
const int kLocationBarHeight[] = {27, 28, 32};
const int kLocationBarHorizontalPadding[] = {3, 6, 6};
const int kLocationBarVerticalPadding[] = {0, 1, 1};
- const int kOmniboxDropdownBorderInterior[] = {6, 0, 0};
const int kOmniboxFontPixelSize[] = {16, 14, 14};
const int kTabFaviconTitleSpacing[] = {4, 6, 6};
const int kTabHeight[] = {29, 29, 33};
@@ -54,8 +53,6 @@ int GetLayoutConstant(LayoutConstant constant) {
return kLocationBarHorizontalPadding[mode];
case LOCATION_BAR_VERTICAL_PADDING:
return kLocationBarVerticalPadding[mode];
- case OMNIBOX_DROPDOWN_BORDER_INTERIOR:
- return kOmniboxDropdownBorderInterior[mode];
case OMNIBOX_FONT_PIXEL_SIZE:
return kOmniboxFontPixelSize[mode];
case TABSTRIP_NEW_TAB_BUTTON_OVERLAP:
« no previous file with comments | « chrome/browser/ui/layout_constants.h ('k') | chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698