Title: [204379] trunk/Source/WTF
Revision
204379
Author
[email protected]
Date
2016-08-11 11:39:26 -0700 (Thu, 11 Aug 2016)

Log Message

Add NSButtonType to AppKitCompatibilityDeclarations.h.
https://bugs.webkit.org/show_bug.cgi?id=160767.

Patch by Maureen Daum <[email protected]> on 2016-08-11
Reviewed by Dan Bernstein.

Add NSButtonType to AppKitCompatibilityDeclarations.h so that we can use the new
names but still build successfully on older OS versions.

* wtf/mac/AppKitCompatibilityDeclarations.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (204378 => 204379)


--- trunk/Source/WTF/ChangeLog	2016-08-11 18:14:05 UTC (rev 204378)
+++ trunk/Source/WTF/ChangeLog	2016-08-11 18:39:26 UTC (rev 204379)
@@ -1,3 +1,15 @@
+2016-08-11  Maureen Daum  <[email protected]>
+
+        Add NSButtonType to AppKitCompatibilityDeclarations.h.
+        https://bugs.webkit.org/show_bug.cgi?id=160767.
+
+        Reviewed by Dan Bernstein.
+
+        Add NSButtonType to AppKitCompatibilityDeclarations.h so that we can use the new
+        names but still build successfully on older OS versions.
+
+        * wtf/mac/AppKitCompatibilityDeclarations.h:
+
 2016-08-10  Benjamin Poulain  <[email protected]>
 
         [JSC] TinyPtrSet::deleteListIfNecessary() no longer needs to test for reservedValue

Modified: trunk/Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h (204378 => 204379)


--- trunk/Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h	2016-08-11 18:14:05 UTC (rev 204378)
+++ trunk/Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h	2016-08-11 18:39:26 UTC (rev 204379)
@@ -36,6 +36,17 @@
 static const NSAlertStyle NSAlertStyleInformational = NSInformationalAlertStyle;
 static const NSAlertStyle NSAlertStyleWarning = NSWarningAlertStyle;
 
+static const NSButtonType NSButtonTypeMomentaryLight = NSMomentaryLightButton;
+static const NSButtonType NSButtonTypePushOnPushOff = NSPushOnPushOffButton;
+static const NSButtonType NSButtonTypeToggle = NSToggleButton;
+static const NSButtonType NSButtonTypeSwitch = NSSwitchButton;
+static const NSButtonType NSButtonTypeRadio = NSRadioButton;
+static const NSButtonType NSButtonTypeMomentaryChange = NSMomentaryChangeButton;
+static const NSButtonType NSButtonTypeOnOff = NSOnOffButton;
+static const NSButtonType NSButtonTypeMomentaryPushIn = NSMomentaryPushInButton;
+static const NSButtonType NSButtonTypeAccelerator = NSAcceleratorButton;
+static const NSButtonType NSButtonTypeMultiLevelAccelerator = NSMultiLevelAcceleratorButton;
+
 static const NSCompositingOperation NSCompositingOperationCopy = NSCompositeCopy;
 static const NSCompositingOperation NSCompositingOperationDestinationIn = NSCompositeDestinationIn;
 static const NSCompositingOperation NSCompositingOperationDestinationOut =  NSCompositeDestinationOut;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to