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

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
« no previous file with comments | « chrome/browser/ui/views/location_bar/action_box_button_view.cc ('k') | no next file » | 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_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..7932aa8472f85daf01c6803584fd4956556db2a8 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::kBorderOverlap));
offset -= GetItemPadding();
} else {
offset -= GetEdgeItemPadding();
« no previous file with comments | « chrome/browser/ui/views/location_bar/action_box_button_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698