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

Unified Diff: chrome/browser/ui/views/download_item_view.cc

Issue 6334152: Clean up RTL methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/download_item_view.cc
===================================================================
--- chrome/browser/ui/views/download_item_view.cc (revision 74080)
+++ chrome/browser/ui/views/download_item_view.cc (working copy)
@@ -498,7 +498,7 @@
// Draw status before button image to effectively lighten text.
if (!IsDangerousMode()) {
if (show_status_text_) {
- int mirrored_x = MirroredXWithWidthInsideView(
+ int mirrored_x = GetMirroredXWithWidthInView(
download_util::kSmallProgressIconSize, kTextWidth);
// Add font_.height() to compensate for title, which is drawn later.
int y = box_y_ + kVerticalPadding + font_.GetHeight() +
@@ -625,7 +625,7 @@
filename_string);
}
- int mirrored_x = MirroredXWithWidthInsideView(
+ int mirrored_x = GetMirroredXWithWidthInView(
download_util::kSmallProgressIconSize, kTextWidth);
SkColor file_name_color = GetThemeProvider()->GetColor(
BrowserThemeProvider::COLOR_BOOKMARK_TEXT);
@@ -667,7 +667,7 @@
}
// Draw the icon image.
- int mirrored_x = MirroredXWithWidthInsideView(
+ int mirrored_x = GetMirroredXWithWidthInView(
download_util::kSmallProgressIconOffset, icon->width());
if (IsEnabled()) {
canvas->DrawBitmapInt(*icon, mirrored_x,

Powered by Google App Engine
This is Rietveld 408576698