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

Unified Diff: Source/core/platform/mac/WebCoreSystemInterface.h

Issue 14574002: Replace some trivial WebKitSystemInterface wrappers with direct calls to SPI. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Radar links Created 7 years, 8 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: Source/core/platform/mac/WebCoreSystemInterface.h
diff --git a/Source/core/platform/mac/WebCoreSystemInterface.h b/Source/core/platform/mac/WebCoreSystemInterface.h
index e107afd5cfac8ac7b6fd453e3952c6ac453dd41b..61b276b4a7f534721ce99d9e0b3a9b4127491f95 100644
--- a/Source/core/platform/mac/WebCoreSystemInterface.h
+++ b/Source/core/platform/mac/WebCoreSystemInterface.h
@@ -42,27 +42,15 @@ typedef struct _NSRange NSRange;
typedef UInt16 ATSGlyphRef;
-#ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
-typedef struct CGPoint NSPoint;
-typedef struct CGRect NSRect;
-#else
-typedef struct _NSPoint NSPoint;
-typedef struct _NSRect NSRect;
-#endif
-
OBJC_CLASS NSFont;
OBJC_CLASS NSString;
extern "C" {
-extern void WKDrawBezeledTextFieldCell(NSRect, BOOL enabled);
extern void WKDrawCapsLockIndicator(CGContextRef, CGRect);
-extern void WKDrawBezeledTextArea(NSRect, BOOL enabled);
extern NSFont* WKGetFontInLanguageForRange(NSFont*, NSString*, NSRange);
extern NSFont* WKGetFontInLanguageForCharacter(NSFont*, UniChar);
extern BOOL WKGetGlyphTransformedAdvances(CGFontRef, NSFont*, CGAffineTransform*, ATSGlyphRef*, CGSize* advance);
-extern void WKSetUpFontCache();
-extern void WKGetGlyphsForCharacters(CGFontRef, const UniChar[], CGGlyph[], size_t);
extern bool WKGetVerticalGlyphsForCharacters(CTFontRef, const UniChar[], CGGlyph[], size_t);
extern CTLineRef WKCreateCTLineWithUniCharProvider(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);
« no previous file with comments | « Source/core/platform/graphics/mac/GlyphPageTreeNodeMac.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698