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

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

Issue 11418229: alternate ntp: implement right-aligned search token (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-impl based on philippe's new layout design Created 7 years, 12 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
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 35c4d43bab06faaa4c821f01283dc24acfb3c3d4..79861624112569ca7a75e86c661e8dbe31ef4bb8 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_layout.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_layout.h
@@ -73,6 +73,11 @@ class LocationBarLayout {
// bar towards the middle.
void LayoutPass3(gfx::Rect* bounds, int* available_width);
+ // Sets the padding between edit and the decoration beside it.
beaudoin 2013/01/07 17:27:53 Add to comment: This value must not be modified a
kuan 2013/01/09 19:52:58 Done.
+ void set_item_edit_padding(int item_edit_padding) {
+ item_edit_padding_ = item_edit_padding;
+ }
+
private:
// LEFT_EDGE means decorations are added from left to right and stacked on
// the left of the omnibox, RIGHT_EDGE means the opposite.

Powered by Google App Engine
This is Rietveld 408576698