diff options
author | peter@chromium.org <peter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-01 14:08:15 +0000 |
---|---|---|
committer | peter@chromium.org <peter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-01 14:08:15 +0000 |
commit | 9ba307b26ca1005516bbef91a2c5c10ee60ea3ff (patch) | |
tree | a0779c600829659a9e113c1acbcf6e06db3b1a96 /skia | |
parent | cbce3e40689fb9c48aad5d6a7b622756ac18dc2b (diff) | |
download | chromium_src-9ba307b26ca1005516bbef91a2c5c10ee60ea3ff.zip chromium_src-9ba307b26ca1005516bbef91a2c5c10ee60ea3ff.tar.gz chromium_src-9ba307b26ca1005516bbef91a2c5c10ee60ea3ff.tar.bz2 |
NativeThemeAndroid should inherit from NativeThemeBase
NativeThemeAndroid currently re-implements every method defined in the
NativeTheme class by duplicating the code, while it didn't actually modify
behavior. By changing its base class to NativeThemeBase, which has most
of the code we need, we only have to override GetSystemColor.
Visually, this lines up Android's button appearance with Linux, as Android's
code hadn't been updated for changing coming in to the general implementation.
It also enables the new checkbox appearance all of Chrome will be switching
too. Removing the old code is being tracked in Issue 133991.
BUG=152912
TEST=
Review URL: https://codereview.chromium.org/10985076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions