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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 11095008: New action box button images and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 730475d08ab2355de5fba326c49fcfbba30efe56..b24060de3ba4e83363dd617fae3de597442e0614 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -828,7 +828,10 @@ void LocationBarView::Layout() {
int offset = width() - kEdgeThickness;
if (action_box_button_view_) {
offset -= action_box_button_view_->width();
- action_box_button_view_->SetPosition(gfx::Point(offset, location_y));
+ action_box_button_view_->SetPosition(
+ gfx::Point(offset,
+ kVerticalEdgeThickness -
+ ActionBoxButtonView::kTopBorderOverlapThickness));
offset -= GetItemPadding();
} else {
offset -= GetEdgeItemPadding();

Powered by Google App Engine
This is Rietveld 408576698