Title: [176895] trunk/Source/WebCore
Revision
176895
Author
[email protected]
Date
2014-12-05 17:07:12 -0800 (Fri, 05 Dec 2014)

Log Message

Use the system string for telephone number menu
https://bugs.webkit.org/show_bug.cgi?id=139324
<rdar://problem/18726471>

* platform/spi/mac/TUCallSPI.h: Added.
Actually add the SPI header from the last commit.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176894 => 176895)


--- trunk/Source/WebCore/ChangeLog	2014-12-06 01:01:48 UTC (rev 176894)
+++ trunk/Source/WebCore/ChangeLog	2014-12-06 01:07:12 UTC (rev 176895)
@@ -1,3 +1,12 @@
+2014-12-05  Timothy Horton  <[email protected]>
+
+        Use the system string for telephone number menu
+        https://bugs.webkit.org/show_bug.cgi?id=139324
+        <rdar://problem/18726471>
+
+        * platform/spi/mac/TUCallSPI.h: Added.
+        Actually add the SPI header from the last commit.
+
 2014-12-05  Tim Horton  <[email protected]>
 
         Use the system string for telephone number menu

Added: trunk/Source/WebCore/platform/spi/mac/TUCallSPI.h (0 => 176895)


--- trunk/Source/WebCore/platform/spi/mac/TUCallSPI.h	                        (rev 0)
+++ trunk/Source/WebCore/platform/spi/mac/TUCallSPI.h	2014-12-06 01:07:12 UTC (rev 176895)
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+
+#import "SoftLinking.h"
+#import <objc/runtime.h>
+
+#if USE(APPLE_INTERNAL_SDK)
+
+#import <TelephonyUtilities/TelephonyUtilities.h>
+
+#else
+
+@interface TUCall : NSObject
+@end
+
+@interface TUCall (Strings)
++ (NSString *)supplementalDialTelephonyCallString;
+@end
+
+#endif
+
+SOFT_LINK_PRIVATE_FRAMEWORK_OPTIONAL(TelephonyUtilities)
+SOFT_LINK_CLASS(TelephonyUtilities, TUCall)
+
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to