DescriptionMacViews: 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
Messages
Total messages: 6 (0 generated)
|