Add WKSetNSURLRequestShouldContentSniff.
[WebKit-https.git] / WebKitLibraries / WebKitSystemInterface.h
index a2a535500529aed5b0a2889f87c6ce6afd200e40..de01eeb45402196bee1348300e579301ddbf0031 100644 (file)
@@ -45,11 +45,13 @@ void WKSetNSURLConnectionDefersCallbacks(NSURLConnection *connection, BOOL defer
 float WKSecondsSinceLastInputEvent(void);
 
 void WKShowKeyAndMain(void);
+#ifndef __LP64__
 OSStatus WKSyncWindowWithCGAfterMove(WindowRef);
 unsigned WKCarbonWindowMask(void);
 void *WKGetNativeWindowFromWindowRef(WindowRef);
 OSType WKCarbonWindowPropertyCreator(void);
 OSType WKCarbonWindowPropertyTag(void);
+#endif
 
 typedef id WKNSURLConnectionDelegateProxyPtr;
 
@@ -58,6 +60,7 @@ WKNSURLConnectionDelegateProxyPtr WKCreateNSURLConnectionDelegateProxy(void);
 void WKDisableCGDeferredUpdates(void);
 
 Class WKNSURLProtocolClassForReqest(NSURLRequest *request);
+void WKSetNSURLRequestShouldContentSniff(NSMutableURLRequest *request, BOOL shouldContentSniff);
 
 unsigned WKGetNSAutoreleasePoolCount(void);
 
@@ -106,10 +109,12 @@ void WKDrawBezeledTextArea(NSRect, BOOL enabled);
 void WKPopupMenu(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*);
 
 void WKSendUserChangeNotifications(void);
+#ifndef __LP64__    
 BOOL WKConvertNSEventToCarbonEvent(EventRecord *carbonEvent, NSEvent *cocoaEvent);
 void WKSendKeyEventToTSM(NSEvent *theEvent);
 void WKCallDrawingNotification(CGrafPtr port, Rect *bounds);
-
+#endif
+    
 BOOL WKGetGlyphTransformedAdvances(NSFont *font, CGAffineTransform *m, ATSGlyphRef *glyph, CGSize *advance);
 CGFontRef WKGetCGFontFromNSFont(NSFont *font);
 void WKGetFontMetrics(NSFont *font, int *ascent, int *descent, int *lineGap, unsigned *unitsPerEm);
@@ -135,9 +140,11 @@ ATSLayoutRecord *WKGetGlyphVectorFirstRecord(WKGlyphVectorRef glyphVector);
 size_t WKGetGlyphVectorRecordSize(WKGlyphVectorRef glyphVector);
 ATSGlyphRef WKGetDefaultGlyphForChar(NSFont *font, UniChar c);
 
+#ifndef __LP64__
 NSEvent *WKCreateNSEventWithCarbonEvent(EventRef eventRef);
 NSEvent *WKCreateNSEventWithCarbonMouseMoveEvent(EventRef inEvent, NSWindow *window);
 NSEvent *WKCreateNSEventWithCarbonClickEvent(EventRef inEvent, WindowRef windowRef);
+#endif
 
 CGContextRef WKNSWindowOverrideCGContext(NSWindow *, CGContextRef);
 void WKNSWindowRestoreCGContext(NSWindow *, CGContextRef);