Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1803)

Unified Diff: ui/gfx/color_utils.cc

Issue 1219533009: Make SysColorChangeListener Windows-only instead of having an empty shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@net_private_fields
Patch Set: forgot one Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/color_utils.cc
diff --git a/ui/gfx/color_utils.cc b/ui/gfx/color_utils.cc
index 6741dca68d5a98c938e70fbb11a10f6b4225e7dc..ed3868a0fb5d6b2bd2f3aba1002781f998039466 100644
--- a/ui/gfx/color_utils.cc
+++ b/ui/gfx/color_utils.cc
@@ -319,4 +319,10 @@ SkColor GetSysSkColor(int which) {
#endif
}
+#if !defined(OS_WIN) // OS_WIN implementation lives in sys_color_change_listener
sadrul 2015/07/07 04:36:54 Comment could be in a separate line.
mlamouri (slow - plz ping) 2015/07/07 13:45:14 Done.
+bool IsInvertedColorScheme() {
+ return false;
+}
+#endif // !defined(OS_WIN)
sadrul 2015/07/07 04:36:54 Two spaces before // for EOL comments
mlamouri (slow - plz ping) 2015/07/07 13:45:14 Done.
+
} // namespace color_utils

Powered by Google App Engine
This is Rietveld 408576698