HiDPI: Fix extension bubble size

The size of extension bubbles was wrong in HiDPI mode.

The problem was that we were using convertRectToBase. As per Avi's PSA, we should be using convertRect:ToView:. See:
https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/6b989dcbb79e9ba/029eeb633c5287cc

I did a search and it looks like we made the same mistake in the tab dragging code. Before my fix it was impossible to drag a tab from one window to the right of a tab in another window. This fixes that as well.

BUG=132762
TEST=Ran in HiDPI mode on 10.7. Without my fix the extension bubble was 4x the normal size. With my fix the extension bubble was correctly 2x the normal size.


Review URL: https://chromiumcodereview.appspot.com/10540173

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142347 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed