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

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

Issue 14325012: Remove the dynamic initialization of WebKitSystemInterface. Just call into the library directly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: '' 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
« no previous file with comments | « Source/core/platform/mac/ThemeMac.mm ('k') | Source/core/platform/mac/WebCoreSystemInterface.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/mac/WebCoreSystemInterface.h
diff --git a/Source/core/platform/mac/WebCoreSystemInterface.h b/Source/core/platform/mac/WebCoreSystemInterface.h
index c172367c29e20a063b2ba26a482e68b84596bcd5..f3a3ac7e739e3b4f398fae0d507749b99834aebb 100644
--- a/Source/core/platform/mac/WebCoreSystemInterface.h
+++ b/Source/core/platform/mac/WebCoreSystemInterface.h
@@ -56,19 +56,17 @@ OBJC_CLASS NSString;
extern "C" {
-// In alphabetical order.
-
-extern void (*wkAdvanceDefaultButtonPulseAnimation)(NSButtonCell *);
-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*);
+extern void WKAdvanceDefaultButtonPulseAnimation(NSButtonCell*);
+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*);
} // extern "C"
« no previous file with comments | « Source/core/platform/mac/ThemeMac.mm ('k') | Source/core/platform/mac/WebCoreSystemInterface.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698