diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-17 04:52:11 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-17 04:52:11 +0000 |
commit | 123f0d0432c0aead5d9a2bd1c1df3fc87fe19289 (patch) | |
tree | abad086fa3afe42542a6fe47de7c77c10c81eb83 /ui/ui.gyp | |
parent | 5831265ef0c06bbbbe2ee7b807b554c765e407aa (diff) | |
download | chromium_src-123f0d0432c0aead5d9a2bd1c1df3fc87fe19289.zip chromium_src-123f0d0432c0aead5d9a2bd1c1df3fc87fe19289.tar.gz chromium_src-123f0d0432c0aead5d9a2bd1c1df3fc87fe19289.tar.bz2 |
Invert web content when Windows color scheme is white-on-black.
Adds a new interface to listen for changes to system color changes,
which can be used in future changelists to fix other widgets that need
to recompute their color schemes when the user toggles high-contrast mode
on and off.
NTP is currently the only place in Chrome code that uses Windows theme
colors inside the web content area; update this to invert these colors
if we're also inverting the whole web content area.
BUG=112944
TEST=Press Alt+Shift+PrtScr on Windows to toggle high-contrast mode on/off.
Review URL: https://chromiumcodereview.appspot.com/9452033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r-- | ui/ui.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -358,6 +358,8 @@ 'gfx/skia_util.h', 'gfx/skia_utils_gtk.cc', 'gfx/skia_utils_gtk.h', + 'gfx/sys_color_change_listener.cc', + 'gfx/sys_color_change_listener.h', 'gfx/transform.cc', 'gfx/transform.h', 'gfx/transform_util.cc', |