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

Side by Side Diff: sky/engine/platform/graphics/skia/SkiaUtils.h

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. 2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 // All of the functions in this file should move to new homes and this file shou ld be deleted. 31 // All of the functions in this file should move to new homes and this file shou ld be deleted.
32 32
33 #ifndef SkiaUtils_h 33 #ifndef SkiaUtils_h
34 #define SkiaUtils_h 34 #define SkiaUtils_h
35 35
36 #include "SkMatrix.h" 36 #include "sky/engine/platform/PlatformExport.h"
37 #include "SkPaint.h" 37 #include "sky/engine/platform/geometry/FloatRect.h"
38 #include "SkPath.h" 38 #include "sky/engine/platform/graphics/Color.h"
39 #include "SkXfermode.h" 39 #include "sky/engine/platform/graphics/GraphicsTypes.h"
40 #include "platform/PlatformExport.h" 40 #include "sky/engine/platform/transforms/AffineTransform.h"
41 #include "platform/geometry/FloatRect.h" 41 #include "sky/engine/wtf/MathExtras.h"
42 #include "platform/graphics/Color.h" 42 #include "third_party/skia/include/core/SkMatrix.h"
43 #include "platform/graphics/GraphicsTypes.h" 43 #include "third_party/skia/include/core/SkPaint.h"
44 #include "platform/transforms/AffineTransform.h" 44 #include "third_party/skia/include/core/SkPath.h"
45 #include "wtf/MathExtras.h" 45 #include "third_party/skia/include/core/SkXfermode.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class GraphicsContext; 49 class GraphicsContext;
50 50
51 SkXfermode::Mode PLATFORM_EXPORT WebCoreCompositeToSkiaComposite(CompositeOperat or, WebBlendMode = WebBlendModeNormal); 51 SkXfermode::Mode PLATFORM_EXPORT WebCoreCompositeToSkiaComposite(CompositeOperat or, WebBlendMode = WebBlendModeNormal);
52 52
53 // move this guy into SkColor.h 53 // move this guy into SkColor.h
54 SkColor SkPMColorToColor(SkPMColor); 54 SkColor SkPMColorToColor(SkPMColor);
55 55
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 float srcHeight, 102 float srcHeight,
103 float destWidth, 103 float destWidth,
104 float destHeight, 104 float destHeight,
105 bool isDataComplete = true); 105 bool isDataComplete = true);
106 106
107 bool shouldDrawAntiAliased(const GraphicsContext*, const SkRect& destRect); 107 bool shouldDrawAntiAliased(const GraphicsContext*, const SkRect& destRect);
108 108
109 } // namespace blink 109 } // namespace blink
110 110
111 #endif // SkiaUtils_h 111 #endif // SkiaUtils_h
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/skia/SkSizeHash.h ('k') | sky/engine/platform/graphics/skia/SkiaUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698