Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Issue 10540173: HiDPI: Fix extension bubble size (Closed)

Created:
8 years, 6 months ago by sail
Modified:
8 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142347

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
sail
8 years, 6 months ago (2012-06-15 01:52:30 UTC) #1
Nico
Lgtm Thanks! (Do we call convertrecttobase anywhere else?) On Jun 14, 2012 6:52 PM, <sail@chromium.org> ...
8 years, 6 months ago (2012-06-15 02:21:48 UTC) #2
Avi (use Gerrit)
LGTM When I wrote that PSA I went through the codebase and fixed them all. ...
8 years, 6 months ago (2012-06-15 02:45:22 UTC) #3
sail
On 2012/06/15 02:21:48, Nico wrote: > Lgtm > > Thanks! > > (Do we call ...
8 years, 6 months ago (2012-06-15 05:11:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10540173/1
8 years, 6 months ago (2012-06-15 05:11:33 UTC) #5
Avi (use Gerrit)
http://code.google.com/codesearch#search/&exact_package=chromium&q=convertrecttobase Every. Single. One. Of. These. Is. Wrong.
8 years, 6 months ago (2012-06-15 06:18:28 UTC) #6
Avi (use Gerrit)
On 2012/06/15 06:18:28, Avi wrote: > http://code.google.com/codesearch#search/&exact_package=chromium&q=convertrecttobase > > Every. Single. One. Of. These. Is. ...
8 years, 6 months ago (2012-06-15 06:23:15 UTC) #7
commit-bot: I haz the power
8 years, 6 months ago (2012-06-15 07:36:17 UTC) #8
Change committed as 142347

Powered by Google App Engine
This is Rietveld 408576698