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

Unified Diff: chrome/browser/ui/views/status_bubble_views.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/status_bubble_views.cc
===================================================================
--- chrome/browser/ui/views/status_bubble_views.cc (revision 74080)
+++ chrome/browser/ui/views/status_bubble_views.cc (working copy)
@@ -437,7 +437,7 @@
kShadowThickness,
std::max(0, text_width),
std::max(0, text_height));
- body_bounds.set_x(MirroredLeftPointForRect(body_bounds));
+ body_bounds.set_x(GetMirroredXForRect(body_bounds));
SkColor text_color =
theme_provider_->GetColor(BrowserThemeProvider::COLOR_TAB_TEXT);
@@ -593,7 +593,7 @@
void StatusBubbleViews::SetBounds(int x, int y, int w, int h) {
original_position_.SetPoint(x, y);
- position_.SetPoint(base_view_->MirroredXWithWidthInsideView(x, w), y);
+ position_.SetPoint(base_view_->GetMirroredXWithWidthInView(x, w), y);
size_.SetSize(w, h);
Reposition();
}
« no previous file with comments | « chrome/browser/ui/views/options/advanced_contents_view.cc ('k') | chrome/browser/ui/views/tabs/dragged_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698