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

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

Issue 250793004: Remove builtin_padding from LocationBarLayout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | chrome/browser/ui/views/location_bar/location_bar_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_layout.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_layout.h b/chrome/browser/ui/views/location_bar/location_bar_layout.h
index 43c406a4ea687d9942970bd99d495d44c0a7d30b..35f084404b93d64709ec6f5a53ce477c3fed4efb 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_layout.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_layout.h
@@ -38,7 +38,6 @@ class LocationBarLayout {
// - |edge_item_padding|, the padding between the omnibox edge and the item,
// if the item is the first one drawn;
// - |item_padding|, the padding between the previous item and this one;
- // - |builtin_padding|, any padding directly built into the item;
// - The |view| corresponding to this decoration, a weak pointer.
// Note that |auto_collapse| can be true if and only if |max_fraction| is 0.
void AddDecoration(int y,
@@ -47,11 +46,10 @@ class LocationBarLayout {
double max_fraction,
int edge_item_padding,
int item_padding,
- int builtin_padding,
views::View* view);
// Add a non-resizable decoration with standard padding.
- void AddDecoration(int y, int height, int builtin_padding, views::View* view);
+ void AddDecoration(int y, int height, views::View* view);
// First pass of decoration layout process. Pass the full width of the
// location bar in |entry_width|. This pass will adjust it to account for
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698