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

Side by Side Diff: ui/gfx/image/image_skia_util_ios.h

Issue 10928093: Adds an iOS implementation of gfx::Image. (Closed) Base URL: http://git.chromium.org/chromium/src.git@skia
Patch Set: Moar GYP and TODOs. Created 8 years, 3 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
« no previous file with comments | « ui/gfx/image/image_ios.mm ('k') | ui/gfx/image/image_skia_util_ios.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_GFX_IMAGE_IMAGE_SKIA_UTIL_IOS_H_
6 #define UI_GFX_IMAGE_IMAGE_SKIA_UTIL_IOS_H_
7
8 #include "ui/base/ui_export.h"
9
10 #ifdef __OBJC__
11 @class UIImage;
12 #else
13 class UIImage;
14 #endif
15
16 namespace gfx {
17 class ImageSkia;
18
19 // Converts to ImageSkia from UIImage.
20 UI_EXPORT gfx::ImageSkia ImageSkiaFromUIImage(UIImage* image);
21
22 // Converts to UIImage from ImageSkia. Returns an autoreleased UIImage.
23 UI_EXPORT UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia);
24
25 } // namespace gfx
26
27 #endif // UI_GFX_IMAGE_IMAGE_SKIA_UTIL_IOS_H_
OLDNEW
« no previous file with comments | « ui/gfx/image/image_ios.mm ('k') | ui/gfx/image/image_skia_util_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698