Update WebKitSystemInterface.h on Mac. The header that was in the tree didn't
[WebKit-https.git] / WebKitLibraries / WebKitSystemInterface.h
index 5f2dddb3f1fccb6731d6b175d526a6f4c3720e39..ae85034c09c97c84fc8a81f6c7b7685d3ea5c11a 100644 (file)
@@ -1,6 +1,6 @@
 /*      
     WebKitSystemInterface.h
-    Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
+    Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
 
     Public header file.
 */
@@ -86,9 +86,11 @@ void WKUnregisterUniqueIdForElement(id element);
 // Remote Accessibility API.
 void WKAXRegisterRemoteApp(void);
 void WKAXInitializeElementWithPresenterPid(id, pid_t);
-CFDataRef WKAXRemoteTokenForElement(id);
-id WKAXRemoteElementForToken(CFDataRef);
-void WKAXInitializeRemoteElementWithWindow(id remoteElement, id window);
+NSData *WKAXRemoteTokenForElement(id);
+id WKAXRemoteElementForToken(NSData *);
+void WKAXSetWindowForRemoteElement(id remoteWindow, id remoteElement);
+void WKAXRegisterRemoteProcess(bool registerProcess, pid_t);
+pid_t WKAXRemoteProcessIdentifier(id remoteElement);
 #endif
 
 void WKSetUpFontCache(void);
@@ -386,10 +388,37 @@ WKSandboxExtensionRef WKSandboxExtensionCreateFromSerializedFormat(const char* s
 
 typedef struct __WKScrollbarPainter *WKScrollbarPainterRef;
 WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal);
+WKScrollbarPainterRef WKMakeScrollbarReplacementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal);
+void WKScrollbarPainterSetDelegate(WKScrollbarPainterRef, id scrollbarPainterDelegate);
 void WKScrollbarPainterPaint(WKScrollbarPainterRef, bool enabled, double value, CGFloat proportion, CGRect frameRect);
 int WKScrollbarThickness(int controlSize);
 int WKScrollbarMinimumThumbLength(WKScrollbarPainterRef);
 int WKScrollbarMinimumTotalLengthNeededForThumb(WKScrollbarPainterRef);
+CGFloat WKScrollbarPainterKnobAlpha(WKScrollbarPainterRef);
+void WKSetScrollbarPainterKnobAlpha(WKScrollbarPainterRef, CGFloat);
+CGFloat WKScrollbarPainterTrackAlpha(WKScrollbarPainterRef);
+void WKSetScrollbarPainterTrackAlpha(WKScrollbarPainterRef, CGFloat);
+bool WKScrollbarPainterIsHorizontal(WKScrollbarPainterRef);
+void WKScrollbarPainterSetOverlayState(WKScrollbarPainterRef, int overlayScrollerState);
+
+typedef struct __WKScrollbarPainterController *WKScrollbarPainterControllerRef;
+WKScrollbarPainterControllerRef WKMakeScrollbarPainterController(id painterControllerDelegate);
+void WKSetPainterForPainterController(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
+WKScrollbarPainterRef WKVerticalScrollbarPainterForController(WKScrollbarPainterControllerRef);
+WKScrollbarPainterRef WKHorizontalScrollbarPainterForController(WKScrollbarPainterControllerRef);
+void WKSetScrollbarPainterControllerStyle(WKScrollbarPainterControllerRef, int newStyle);
+void WKContentAreaScrolled(WKScrollbarPainterControllerRef);
+void WKContentAreaWillPaint(WKScrollbarPainterControllerRef);
+void WKMouseEnteredContentArea(WKScrollbarPainterControllerRef);
+void WKMouseExitedContentArea(WKScrollbarPainterControllerRef);
+void WKMouseMovedInContentArea(WKScrollbarPainterControllerRef);
+void WKWillStartLiveResize(WKScrollbarPainterControllerRef);
+void WKContentAreaResized(WKScrollbarPainterControllerRef);
+void WKWillEndLiveResize(WKScrollbarPainterControllerRef);
+void WKContentAreaDidShow(WKScrollbarPainterControllerRef);
+void WKContentAreaDidHide(WKScrollbarPainterControllerRef);
+
+bool WKScrollbarPainterUsesOverlayScrollers(void);
 
 #endif