commit | c7a8fd34f1fcabf3f730fc38a46907068927ea22 | [log] [tgz] |
---|---|---|
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon May 20 04:06:48 2013 |
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon May 20 04:06:48 2013 |
tree | 2d07135e4e4cbbdb516db503cb4fc6aaa5f3637f | |
parent | 4e87c48606a91aa3fc21ffc89a9033b5cf61f8c0 [diff] |
Drop shadows for packaged apps on the OSX App Launcher. Adds a custom NSButtonCell for AppsGridViewItem that overrides drawImage to set up a graphics context to draw a shadow, before calling the superclass implementation. BUG=138633 TEST=Open OSX app lancher, icons without the shortcut overlay should have a drop shadow. Review URL: https://chromiumcodereview.appspot.com/15294008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201012 0039d316-1c4b-4281-b951-d872f2087c98