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

Side by Side Diff: ui/gfx/color_utils.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/color_profile.h ('k') | ui/gfx/display.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_GFX_COLOR_UTILS_H_ 5 #ifndef UI_GFX_COLOR_UTILS_H_
6 #define UI_GFX_COLOR_UTILS_H_ 6 #define UI_GFX_COLOR_UTILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/base/ui_export.h" 10 #include "ui/gfx/gfx_export.h"
11 11
12 class SkBitmap; 12 class SkBitmap;
13 13
14 namespace color_utils { 14 namespace color_utils {
15 15
16 // Represents an HSL color. 16 // Represents an HSL color.
17 struct HSL { 17 struct HSL {
18 double h; 18 double h;
19 double s; 19 double s;
20 double l; 20 double l;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Invert a color. 81 // Invert a color.
82 UI_EXPORT SkColor InvertColor(SkColor color); 82 UI_EXPORT SkColor InvertColor(SkColor color);
83 83
84 // Gets a Windows system color as a SkColor 84 // Gets a Windows system color as a SkColor
85 UI_EXPORT SkColor GetSysSkColor(int which); 85 UI_EXPORT SkColor GetSysSkColor(int which);
86 86
87 } // namespace color_utils 87 } // namespace color_utils
88 88
89 #endif // UI_GFX_COLOR_UTILS_H_ 89 #endif // UI_GFX_COLOR_UTILS_H_
OLDNEW
« no previous file with comments | « ui/gfx/color_profile.h ('k') | ui/gfx/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698