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

Issue 316053008: MacViews: Allow ui::EventLocationFromNative to handle native titlebars (Closed)

Created:
6 years, 6 months ago by tapted
Modified:
6 years, 6 months ago
Reviewers:
Robert Sesek, sadrul
CC:
chromium-reviews, tdresser+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, mac-views-reviews_chromium.org
Visibility:
Public.

Description

MacViews: Allow ui::EventLocationFromNative to handle native titlebars Currently EventLocationFromNative on mac only properly handles events in windows with no native window border because it flips coordinate systems using the entire NSWindow frame. This change flips coordinates in the window's contentRect instead. BUG=366021 TEST=Added: events_unittests EventsMacTest.NativeTitlebarEventLocation Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275380

Patch Set 1 #

Patch Set 2 : selfnit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -5 lines) Patch
M ui/events/cocoa/events_mac.mm View 1 1 chunk +4 lines, -3 lines 2 comments Download
M ui/events/cocoa/events_mac_unittest.mm View 2 chunks +50 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tapted
sadrul: for review/OWNERS rsesek: for Mac expertise Thanks! https://codereview.chromium.org/316053008/diff/20001/ui/events/cocoa/events_mac.mm File ui/events/cocoa/events_mac.mm (right): https://codereview.chromium.org/316053008/diff/20001/ui/events/cocoa/events_mac.mm#newcode98 ui/events/cocoa/events_mac.mm:98: } ...
6 years, 6 months ago (2014-06-05 07:33:35 UTC) #1
Robert Sesek
LGTM https://codereview.chromium.org/316053008/diff/20001/ui/events/cocoa/events_mac.mm File ui/events/cocoa/events_mac.mm (right): https://codereview.chromium.org/316053008/diff/20001/ui/events/cocoa/events_mac.mm#newcode98 ui/events/cocoa/events_mac.mm:98: } On 2014/06/05 07:33:35, tapted wrote: > Note ...
6 years, 6 months ago (2014-06-05 14:08:26 UTC) #2
sadrul
rslgtm
6 years, 6 months ago (2014-06-05 15:56:43 UTC) #3
tapted
The CQ bit was checked by tapted@chromium.org
6 years, 6 months ago (2014-06-05 23:12:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/316053008/20001
6 years, 6 months ago (2014-06-05 23:15:37 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 10:35:57 UTC) #6
Message was sent while issue was closed.
Change committed as 275380

Powered by Google App Engine
This is Rietveld 408576698