summaryrefslogtreecommitdiffstats
path: root/ui/ui.gyp
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 04:52:11 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 04:52:11 +0000
commit123f0d0432c0aead5d9a2bd1c1df3fc87fe19289 (patch)
treeabad086fa3afe42542a6fe47de7c77c10c81eb83 /ui/ui.gyp
parent5831265ef0c06bbbbe2ee7b807b554c765e407aa (diff)
downloadchromium_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.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 85c34dc..f54abc2 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -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',