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

Unified Diff: skia/ext/skia_utils_ios.h

Issue 1413903008: Add LargeIconCache and LargeIconServiceFactory for iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits for unit test Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: skia/ext/skia_utils_ios.h
diff --git a/skia/ext/skia_utils_ios.h b/skia/ext/skia_utils_ios.h
index 6a854ce6aff408543831fd2755cf163c2606d943..8e1ba9ad7ff24e60b7b5f2e888a348e5dff8c4d5 100644
--- a/skia/ext/skia_utils_ios.h
+++ b/skia/ext/skia_utils_ios.h
@@ -9,11 +9,14 @@
#include <vector>
#include "third_party/skia/include/core/SkBitmap.h"
+#include "third_party/skia/include/core/SkColor.h"
#ifdef __OBJC__
+@class UIColor;
@class UIImage;
@class NSData;
#else
+class UIColor;
class UIImage;
class NSData;
#endif
@@ -35,6 +38,9 @@ SK_API UIImage* SkBitmapToUIImageWithColorSpace(const SkBitmap& skia_bitmap,
// vector if none can be decoded.
SK_API std::vector<SkBitmap> ImageDataToSkBitmaps(NSData* image_data);
+// Returns a UIColor for an SKColor. Used by iOS downstream.
+SK_API UIColor* UIColorFromSkColor(SkColor color);
+
} // namespace gfx
#endif // SKIA_EXT_SKIA_UTILS_IOS_H_

Powered by Google App Engine
This is Rietveld 408576698