summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 04:50:37 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 04:50:37 +0000
commitf5a180a295979b2765e8d9493887fb2de99e2ef1 (patch)
tree8741b01f773bfc9993749268f56895d7636a56d6 /chrome/browser/automation
parent6bd538c45350980a37429da78a389ca4579dff63 (diff)
downloadchromium_src-f5a180a295979b2765e8d9493887fb2de99e2ef1.zip
chromium_src-f5a180a295979b2765e8d9493887fb2de99e2ef1.tar.gz
chromium_src-f5a180a295979b2765e8d9493887fb2de99e2ef1.tar.bz2
mac: Use bitmaps for the tab background fill.
Confusingly, the naming scheme used here is the opposite of the asset naming: In code, _background means an inactive tab, and _inactive means a background window. I'll talk to people to either rename the assets or rename the constants in code. inactive tabs used to use NSGradients for painting. Switching them to bitmaps improves cpu usage with 8 spinners from ~15% cpu to ~12% cpu, a 20% relative improvement. Make tab_view no longer derive from BackgroundGradientView, since that's only used for a single NSFillRect() call. BUG=19268,52468 Review URL: https://codereview.chromium.org/11638011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
0 files changed, 0 insertions, 0 deletions