This CL fixes issue 4224: Window Management controls don't work with maximized RTL Chrome windows. When checking whether a point is within a window management button view's boundary, need to apply mirroring transformation on the view's boundary to work for RTL chrome.
This CL fixes issue 4224: Window Management controls don't work with maximized RTL Chrome windows.
When checking whether a point is within a window management button view's boundary,
need to apply mirroring transformation on the view's boundary to work for RTL chrome.

http://crbug.com/4224

TEST:
1. Launch Chrome with any RTL (Eg: he, ar)
2. Maximize the browser window.
3. Hover over window management controls (min,restore,close), they all work correctly in the sense that the buttons got highlighted and react to user events. (without this fix, when hover over window management controls, the buttons won't get highlighted at all and they won't react to user events)


Review URL: http://codereview.chromium.org/14129

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@7205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser