diff options
author | andresantoso <andresantoso@chromium.org> | 2015-02-17 17:44:56 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-18 01:45:34 +0000 |
commit | c4dc3138f62f5180d346229ed6535bcc5eaed5ab (patch) | |
tree | 4d7d0f6b147fe8df6a7bcf5a599f4f25b11c59c4 /extensions/strings | |
parent | 129da84ba67dd6f26850658cb1e2a4fbbc504898 (diff) | |
download | chromium_src-c4dc3138f62f5180d346229ed6535bcc5eaed5ab.zip chromium_src-c4dc3138f62f5180d346229ed6535bcc5eaed5ab.tar.gz chromium_src-c4dc3138f62f5180d346229ed6535bcc5eaed5ab.tar.bz2 |
Mac: Clean up background drawing code
Simplify some code, draw only what we need to.
Optimized: BookmarkBarToolbarView and DownloadShelfView's drawRect was
called with its entire bounds as dirtyRect every time a button inside it draws.
Optimized: BackgroundGradientView was unnecessarily filling gray behind the
default theme's background image which we know is opaque.
Optimized: Make TabStripView a subclass of BackgroundGradientView so that
it can participate in live resize optimization when using default theme.
BUG=453996
Review URL: https://codereview.chromium.org/924143002
Cr-Commit-Position: refs/heads/master@{#316730}
Diffstat (limited to 'extensions/strings')
0 files changed, 0 insertions, 0 deletions