Implement rect conversion utility functions in View
commit5350df75f7a44b8f78231d38412331f2f96f132f
authortdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 21 Oct 2013 00:02:43 +0000 (21 00:02 +0000)
committertdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 21 Oct 2013 00:02:43 +0000 (21 00:02 +0000)
tree78125ed52a63e35a70e646f3979cb375abbbf9bc
parent940d498aa7b90c629324a89c355df41e505d8bf6
Implement rect conversion utility functions in View

Add the following utility functions (similar to their
point-based counterparts):

View::ConvertRectToTarget()
View::ConvertRectToAncestor()
View::ConvertRectFromAncestor()

BUG=306182

Review URL: https://codereview.chromium.org/26884003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229711 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/view.cc
ui/views/view.h
ui/views/view_unittest.cc