Index: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (revision 74080) |
+++ chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (working copy) |
@@ -156,7 +156,7 @@ |
// of Fitts' Law. |
if (frame_->GetWindow()->IsMaximized()) |
sysmenu_rect.SetRect(0, 0, sysmenu_rect.right(), sysmenu_rect.bottom()); |
- sysmenu_rect.set_x(MirroredLeftPointForRect(sysmenu_rect)); |
+ sysmenu_rect.set_x(GetMirroredXForRect(sysmenu_rect)); |
if (sysmenu_rect.Contains(point)) |
return (frame_component == HTCLIENT) ? HTCLIENT : HTSYSMENU; |
@@ -165,7 +165,7 @@ |
// Then see if the point is within any of the window controls. |
if (close_button_->IsVisible() && |
- close_button_->GetBounds(APPLY_MIRRORING_TRANSFORMATION).Contains(point)) |
+ close_button_->GetMirroredBounds().Contains(point)) |
return HTCLOSE; |
int window_component = GetHTComponentForFrame(point, |
@@ -404,7 +404,7 @@ |
// The window icon is painted by the TabIconView. |
views::WindowDelegate* d = frame_->GetWindow()->GetDelegate(); |
canvas->DrawStringInt(d->GetWindowTitle(), BrowserFrame::GetTitleFont(), |
- SK_ColorBLACK, MirroredLeftPointForRect(title_bounds_), title_bounds_.y(), |
+ SK_ColorBLACK, GetMirroredXForRect(title_bounds_), title_bounds_.y(), |
title_bounds_.width(), title_bounds_.height()); |
} |