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

Unified Diff: skia/ext/skia_utils_ios.h

Issue 2011713003: Roll skia to 8cc209111876b7c78b5ec577c9221d8ed5e21024 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/skia_utils_base.cc ('k') | skia/ext/skia_utils_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_ios.h
diff --git a/skia/ext/skia_utils_ios.h b/skia/ext/skia_utils_ios.h
deleted file mode 100644
index 6a854ce6aff408543831fd2755cf163c2606d943..0000000000000000000000000000000000000000
--- a/skia/ext/skia_utils_ios.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKIA_EXT_SKIA_UTILS_IOS_H_
-#define SKIA_EXT_SKIA_UTILS_IOS_H_
-
-#include <CoreGraphics/CoreGraphics.h>
-#include <vector>
-
-#include "third_party/skia/include/core/SkBitmap.h"
-
-#ifdef __OBJC__
-@class UIImage;
-@class NSData;
-#else
-class UIImage;
-class NSData;
-#endif
-
-namespace gfx {
-
-// Draws a CGImage into an SkBitmap of the given size.
-SK_API SkBitmap CGImageToSkBitmap(CGImageRef image,
- CGSize size,
- bool is_opaque);
-
-// Given an SkBitmap and a color space, return an autoreleased UIImage.
-SK_API UIImage* SkBitmapToUIImageWithColorSpace(const SkBitmap& skia_bitmap,
- CGFloat scale,
- CGColorSpaceRef color_space);
-
-// Decodes all image representations inside the data into a vector of SkBitmaps.
-// Returns a vector of all the successfully decoded representations or an empty
-// vector if none can be decoded.
-SK_API std::vector<SkBitmap> ImageDataToSkBitmaps(NSData* image_data);
-
-} // namespace gfx
-
-#endif // SKIA_EXT_SKIA_UTILS_IOS_H_
« no previous file with comments | « skia/ext/skia_utils_base.cc ('k') | skia/ext/skia_utils_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698