| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "app/gfx/color_utils.h" | 5 #include "app/gfx/color_utils.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 SkColor GetSysSkColor(int which) { | 257 SkColor GetSysSkColor(int which) { |
| 258 #if defined(OS_WIN) | 258 #if defined(OS_WIN) |
| 259 return skia::COLORREFToSkColor(::GetSysColor(which)); | 259 return skia::COLORREFToSkColor(::GetSysColor(which)); |
| 260 #else | 260 #else |
| 261 NOTIMPLEMENTED(); | 261 NOTIMPLEMENTED(); |
| 262 return SK_ColorLTGRAY; | 262 return SK_ColorLTGRAY; |
| 263 #endif | 263 #endif |
| 264 } | 264 } |
| 265 | 265 |
| 266 } // namespace color_utils | 266 } // namespace color_utils |
| OLD | NEW |