{"push_id":980371708,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"675dee76d8e2d0d1d844665147c45f7c4468c7be","before":"365cf04600cd4126bc3fa6e62820d4d712f959ad","commits":[{"sha":"675dee76d8e2d0d1d844665147c45f7c4468c7be","author":{"email":"c50144ab0b427b870c22b73d0a116f9d136d8903@chromium.org","name":"karandeepb"},"message":"MacViews: Add native drop shadow to dialogs on OSX 10.9.\n\nOn OSX 10.10 and later, the Window manager is able to gather shadow\ninformation from the alpha channel of the composited layer, but this isn't\nsupported on OSX 10.9. This CL adds native shadows to OSX 10.9 by using a\nstrategy similar to ChromeMac's -[ConstrainedWindowCustomWindow drawRect:].\nThis involves giving the window an opaque background and drawing over the\nedges with `clear` color to make the corners round.\n\nTo do this, implement path_mac.mm which converts Skia Paths to NSBezierPath.\nThis is similar to the methods in path_win.cc and path_x11.cc.\n\nOn Mac, hit testing masks are inferred from the alpha channel. Using the\nwindow manager to draw the shadow ensures we get the shadow corresponding to\nthe alpha channel, and removes the need to use views::BubbleWindowTargeter.\n\nSince, native shadows are now supported, this CL also removes raster shadows\non all Mac Versions by setting all BubbleBorders on Mac to NO_ASSETS.\n\nBUG=543671, 507965\n\nReview URL: https://codereview.chromium.org/1633403002\n\nCr-Commit-Position: refs/heads/master@{#375729}","distinct":true,"url":"https://api.github.com/repos/dstockwell/chromium/commits/675dee76d8e2d0d1d844665147c45f7c4468c7be"}]}