Fix incorrect TabCloseButton bounds in right-to-left layout.

The elements Tab draws directly on the canvas need to be manually
mirrored if the View's layout is right-to-left.

BUG=315941
TEST=verify tab close button works correctly in both LTR and RTL layouts.
R=sky@chromium.org, tdanderson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234048 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234048
Move a few functions out of line.

BUG=315884
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234049 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 234049