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

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

Issue 1419673017: [MD] Twiddle padding of omnibox chips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move constant to inline Created 5 years, 1 month 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 | « no previous file | chrome/browser/ui/views/location_bar/icon_label_bubble_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 de59375c435eb208a224304b4f9e33a0ec334717..c291e7a8ffe905ad62bc1d636993d6a92dcad0d6 100644
--- a/chrome/browser/ui/views/layout_constants.cc
+++ b/chrome/browser/ui/views/layout_constants.cc
@@ -9,7 +9,8 @@
int GetLayoutConstant(LayoutConstant constant) {
const int kFindBarVerticalOffset[] = {1, 6, 6};
- const int kIconLabelViewInternalPadding[] = {3, 2, 2};
+ // The -1 means the label and the icon will overlap by a pixel.
+ const int kIconLabelViewInternalPadding[] = {3, -1, -1};
const int kIconLabelViewTrailingPadding[] = {2, 8, 8};
const int kLocationBarBorderThickness[] = {2, 1, 1};
const int kLocationBarBubbleHorizontalPadding[] = {1, 4, 4};
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/icon_label_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698