Allow remote accessibility API for WK2 to build on SnowLeopard.
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Apr 2011 00:27:00 +0000 (00:27 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Apr 2011 00:27:00 +0000 (00:27 +0000)
<rdar://problem/9324507>

Reviewed by Maciej Stachowiak.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85270 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h
WebKitLibraries/libWebKitSystemInterfaceLeopard.a
WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a

index 28b1031..82159d5 100644 (file)
@@ -1,3 +1,14 @@
+2011-04-28  Chris Fleizach  <cfleizach@apple.com>
+
+        Reviewed by Maciej Stachowiak.
+
+        Allow remote accessibility API for WK2 to build on SnowLeopard.
+        <rdar://problem/9324507>
+
+        * WebKitSystemInterface.h:
+        * libWebKitSystemInterfaceLeopard.a:
+        * libWebKitSystemInterfaceSnowLeopard.a:
+
 2011-04-27  Mark Rowe  <mrowe@apple.com>
 
         Rubber-stamped by Geoff Garen.
index e854836..64c387a 100644 (file)
@@ -87,7 +87,7 @@ AXUIElementRef WKCreateAXUIElementRef(id element);
 void WKUnregisterUniqueIdForElement(id element);
 
 
-#if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
+#if !defined(BUILDING_ON_LEOPARD)
 // Remote Accessibility API.
 void WKAXRegisterRemoteApp(void);
 void WKAXInitializeElementWithPresenterPid(id, pid_t);
@@ -414,8 +414,20 @@ void WKSetScrollbarPainterKnobAlpha(WKScrollbarPainterRef, CGFloat);
 CGFloat WKScrollbarPainterTrackAlpha(WKScrollbarPainterRef);
 void WKSetScrollbarPainterTrackAlpha(WKScrollbarPainterRef, CGFloat);
 bool WKScrollbarPainterIsHorizontal(WKScrollbarPainterRef);
+CGRect WKScrollbarPainterKnobRect(WKScrollbarPainterRef);
 void WKScrollbarPainterSetOverlayState(WKScrollbarPainterRef, int overlayScrollerState);
 
+// The wk* to WK* renaming does not apply to enums. The way to
+// circumvent this is to define the enum anonymously twice using
+// the two prefixes. (See WebCoreSystemInterface.h)
+enum {
+    WKScrollerKnobStyleDefault = 0,
+    WKScrollerKnobStyleDark = 1,
+    WKScrollerKnobStyleLight = 2
+};
+typedef uint32 WKScrollerKnobStyle;
+void WKSetScrollbarPainterKnobStyle(WKScrollbarPainterRef, WKScrollerKnobStyle);
+
 WKScrollbarPainterControllerRef WKMakeScrollbarPainterController(id painterControllerDelegate);
 void WKSetPainterForPainterController(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
 WKScrollbarPainterRef WKVerticalScrollbarPainterForController(WKScrollbarPainterControllerRef);
index 8ceab77..df6c6b8 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a differ
index 9ff6e8e..af9e931 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a differ