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

Side by Side Diff: skia/ext/skia_utils_mac.h

Issue 115412: Fix Skia includes to use the whole path name. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « skia/ext/skia_utils.cc ('k') | skia/ext/skia_utils_mac.cc » ('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) 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
6 #ifndef SKIA_EXT_SKIA_UTILS_MAC_H_ 5 #ifndef SKIA_EXT_SKIA_UTILS_MAC_H_
7 #define SKIA_EXT_SKIA_UTILS_MAC_H_ 6 #define SKIA_EXT_SKIA_UTILS_MAC_H_
8 7
9 #include "SkColor.h"
10 #include <CoreGraphics/CGColor.h> 8 #include <CoreGraphics/CGColor.h>
11 9
10 #include "third_party/skia/include/core/SkColor.h"
11
12 struct SkMatrix; 12 struct SkMatrix;
13 struct SkIRect; 13 struct SkIRect;
14 struct SkPoint; 14 struct SkPoint;
15 struct SkRect; 15 struct SkRect;
16 16
17 namespace gfx { 17 namespace gfx {
18 18
19 // Converts a Skia point to a CoreGraphics CGPoint. 19 // Converts a Skia point to a CoreGraphics CGPoint.
20 // Both use same in-memory format. 20 // Both use same in-memory format.
21 inline const CGPoint& SkPointToCGPoint(const SkPoint& point) { 21 inline const CGPoint& SkPointToCGPoint(const SkPoint& point) {
(...skipping 20 matching lines...) Expand all
42 // Converts CGColorRef to the ARGB layout Skia expects. 42 // Converts CGColorRef to the ARGB layout Skia expects.
43 SkColor CGColorRefToSkColor(CGColorRef color); 43 SkColor CGColorRefToSkColor(CGColorRef color);
44 44
45 // Converts ARGB to CGColorRef. 45 // Converts ARGB to CGColorRef.
46 CGColorRef SkColorToCGColorRef(SkColor color); 46 CGColorRef SkColorToCGColorRef(SkColor color);
47 47
48 } // namespace gfx 48 } // namespace gfx
49 49
50 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_ 50 #endif // SKIA_EXT_SKIA_UTILS_MAC_H_
51 51
OLDNEW
« no previous file with comments | « skia/ext/skia_utils.cc ('k') | skia/ext/skia_utils_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698