diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 16:51:25 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 16:51:25 +0000 |
commit | 04a0754f1de4d1a7ed0132542c489c630d918cf3 (patch) | |
tree | 05159d73946ade6c4e443917d7c50252f7d68043 /skia | |
parent | 6852fb0c12ca6789695927262912f287e7dd350e (diff) | |
download | chromium_src-04a0754f1de4d1a7ed0132542c489c630d918cf3.zip chromium_src-04a0754f1de4d1a7ed0132542c489c630d918cf3.tar.gz chromium_src-04a0754f1de4d1a7ed0132542c489c630d918cf3.tar.bz2 |
Initial RenderTextMac implementation using CoreText.
Has support for drawing and sizing the text, but not selection and cursor movement.
BUG=125664
TEST=Existing RenderText unit tests and manual testing by enabling RenderText on Mac in print_web_view_helper.cc code.
Review URL: https://chromiumcodereview.appspot.com/10543057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/skia_utils_mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skia/ext/skia_utils_mac.h b/skia/ext/skia_utils_mac.h index 4af2ba9..79b9599 100644 --- a/skia/ext/skia_utils_mac.h +++ b/skia/ext/skia_utils_mac.h @@ -59,10 +59,10 @@ CGRect SkIRectToCGRect(const SkIRect& rect); CGRect SkRectToCGRect(const SkRect& rect); // Converts CGColorRef to the ARGB layout Skia expects. -SkColor CGColorRefToSkColor(CGColorRef color); +SK_API SkColor CGColorRefToSkColor(CGColorRef color); // Converts ARGB to CGColorRef. -CGColorRef SkColorToCGColorRef(SkColor color); +SK_API CGColorRef SkColorToCGColorRef(SkColor color); // Converts NSColor to ARGB. Returns raw rgb values and does no colorspace // conversion. Only valid for colors in calibrated and device color spaces. |