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

Issue 1623002: Change how the calculation is performed for determining the location of the a... (Closed)

Created:
10 years, 8 months ago by mrossetti
Modified:
8 years, 7 months ago
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Change how the calculation is performed for determining the location of the arrow tip in a bubble window. BUG=40406 TEST=1) Not in full-screen and with language set to English, press Cmd-D and verify bubble is properly positioned with arrow tip pointing to star. Change language to Espanol and repeat test. 2) Now in full-screen, repeat the tests. 3) Alter the user interface resolution (such as by using Quartz Debug) and verify bubble is placed correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43694

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -16 lines) Patch
M chrome/browser/cocoa/bookmark_bubble_controller.mm View 1 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/info_bubble_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/info_bubble_view.mm View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mrossetti
10 years, 8 months ago (2010-04-05 22:53:56 UTC) #1
Avi (use Gerrit)
On 2010/04/05 22:53:56, mrossetti wrote: > Don't forget to check with resolution independence; keep bug ...
10 years, 8 months ago (2010-04-05 22:56:37 UTC) #2
Scott Hess - ex-Googler
LGTM. http://codereview.chromium.org/1623002/diff/1/7 File chrome/browser/cocoa/info_bubble_view.mm (right): http://codereview.chromium.org/1623002/diff/1/7#newcode97 chrome/browser/cocoa/info_bubble_view.mm:97: NSPoint arrowTip = NSMakePoint(NSMaxX(bounds), NSMaxY(bounds)); If kTopLeft, arrowTip.x ...
10 years, 8 months ago (2010-04-05 23:07:16 UTC) #3
mrossetti
8 years, 7 months ago (2012-05-14 21:35:09 UTC) #4
I'm flushing really old comments. Please feel free to ignore.

http://codereview.chromium.org/1623002/diff/1/chrome/browser/cocoa/info_bubbl...
File chrome/browser/cocoa/info_bubble_view.mm (right):

http://codereview.chromium.org/1623002/diff/1/chrome/browser/cocoa/info_bubbl...
chrome/browser/cocoa/info_bubble_view.mm:97: NSPoint arrowTip =
NSMakePoint(NSMaxX(bounds), NSMaxY(bounds));
On 2010/04/05 23:07:16, shess wrote:
> If kTopLeft, arrowTip.x should be NSMinX(bounds) + tipXOffset, I think.

Done.

Powered by Google App Engine
This is Rietveld 408576698