Index: ui/gfx/color_utils.h |
diff --git a/ui/gfx/color_utils.h b/ui/gfx/color_utils.h |
index 9153688ad9b908563915ff2ec6785d2d98af0c39..21e15eb7892579fc4212b18e72c4ec2db611d5ff 100644 |
--- a/ui/gfx/color_utils.h |
+++ b/ui/gfx/color_utils.h |
@@ -103,6 +103,12 @@ GFX_EXPORT SkColor InvertColor(SkColor color); |
// Gets a Windows system color as a SkColor |
GFX_EXPORT SkColor GetSysSkColor(int which); |
+// Returns true only if Chrome should use an inverted color scheme - which is |
+// only true if the system has high-contrast mode enabled and and is using a |
+// light-on-dark color scheme. To be notified when this status changes, use |
+// ScopedSysColorChangeListener, below. |
sadrul
2015/07/07 04:36:54
Update the comment.
mlamouri (slow - plz ping)
2015/07/07 13:45:15
Done.
|
+GFX_EXPORT bool IsInvertedColorScheme(); |
+ |
} // namespace color_utils |
#endif // UI_GFX_COLOR_UTILS_H_ |