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

Unified Diff: chrome/browser/ui/views/location_bar/background_with_1_px_border.h

Issue 2555623002: Last round of cleaning up MD layout constants. (Closed)
Patch Set: pkasting review, remove debug code, rebase Created 4 years 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
Index: chrome/browser/ui/views/location_bar/background_with_1_px_border.h
diff --git a/chrome/browser/ui/views/location_bar/background_with_1_px_border.h b/chrome/browser/ui/views/location_bar/background_with_1_px_border.h
index 69045793eca0a3d5c2102bea13fe1aa9371706c2..15125279974833cc0ffa9ec4e9b0b4105f70c042 100644
--- a/chrome/browser/ui/views/location_bar/background_with_1_px_border.h
+++ b/chrome/browser/ui/views/location_bar/background_with_1_px_border.h
@@ -25,6 +25,9 @@ class BackgroundWith1PxBorder : public views::Background {
// Corner radius of the inside edge of the roundrect border stroke.
static constexpr int kCornerRadius = 2;
+ // The thickness of the location bar's border in DIP.
+ static constexpr int kLocationBarBorderThicknessDip = 1;
+
BackgroundWith1PxBorder(SkColor background, SkColor border);
void Paint(gfx::Canvas* canvas, views::View* view) const override;

Powered by Google App Engine
This is Rietveld 408576698