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

Unified Diff: chrome/browser/views/download_started_animation_win.cc

Issue 115609: fix issue 6103 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/download_started_animation_win.cc
===================================================================
--- chrome/browser/views/download_started_animation_win.cc (revision 16549)
+++ chrome/browser/views/download_started_animation_win.cc (working copy)
@@ -121,8 +121,10 @@
// Align the image with the bottom left of the web contents (so that it
// points to the newly created download).
gfx::Size size = GetPreferredSize();
+ int x = UILayoutIsRightToLeft() ?
+ tab_contents_bounds_.right() - size.width() : tab_contents_bounds_.x();
popup_->MoveWindow(
- tab_contents_bounds_.x(),
+ x,
static_cast<int>(tab_contents_bounds_.bottom() -
size.height() - size.height() * (1 - GetCurrentValue())),
size.width(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698