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

Side by Side Diff: include/utils/mac/SkCGUtils.h

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change for reed@ Created 5 years 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
« no previous file with comments | « include/utils/SkDebugUtils.h ('k') | include/utils/win/SkAutoCoInitialize.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 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkCGUtils_DEFINED 8 #ifndef SkCGUtils_DEFINED
9 #define SkCGUtils_DEFINED 9 #define SkCGUtils_DEFINED
10 10
11 #include "SkSize.h" 11 #include "SkSize.h"
12 #include "SkImageInfo.h" 12 #include "SkImageInfo.h"
13 13
14 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
15
14 #ifdef SK_BUILD_FOR_MAC 16 #ifdef SK_BUILD_FOR_MAC
15 #include <ApplicationServices/ApplicationServices.h> 17 #include <ApplicationServices/ApplicationServices.h>
16 #endif 18 #endif
17 19
18 #ifdef SK_BUILD_FOR_IOS 20 #ifdef SK_BUILD_FOR_IOS
19 #include <CoreGraphics/CoreGraphics.h> 21 #include <CoreGraphics/CoreGraphics.h>
20 #endif 22 #endif
21 23
22 class SkBitmap; 24 class SkBitmap;
23 class SkData; 25 class SkData;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 /** 73 /**
72 * Return a provider that wraps the specified stream. It will become the only 74 * Return a provider that wraps the specified stream. It will become the only
73 * owner of the stream, so the caller must stop referring to the stream. 75 * owner of the stream, so the caller must stop referring to the stream.
74 * 76 *
75 * When the provider is finally deleted, it will delete the stream. 77 * When the provider is finally deleted, it will delete the stream.
76 */ 78 */
77 CGDataProviderRef SkCreateDataProviderFromStream(SkStream*); 79 CGDataProviderRef SkCreateDataProviderFromStream(SkStream*);
78 80
79 CGDataProviderRef SkCreateDataProviderFromData(SkData*); 81 CGDataProviderRef SkCreateDataProviderFromData(SkData*);
80 82
81 #endif 83 #endif // defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
84 #endif // SkCGUtils_DEFINED
OLDNEW
« no previous file with comments | « include/utils/SkDebugUtils.h ('k') | include/utils/win/SkAutoCoInitialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698