Title: [105086] trunk/Source
Revision
105086
Author
[email protected]
Date
2012-01-16 13:11:44 -0800 (Mon, 16 Jan 2012)

Log Message

Remove HTML notifications support on Mac
https://bugs.webkit.org/show_bug.cgi?id=76401
<rdar://problem/10589881>

Reviewed by Sam Weinig.

Source/_javascript_Core:

* wtf/Platform.h: Define ENABLE_HTML_NOTIFICATIONS macro.

Source/WebCore:

* notifications/NotificationCenter.idl:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (105085 => 105086)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-16 20:50:46 UTC (rev 105085)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-16 21:11:44 UTC (rev 105086)
@@ -1,3 +1,13 @@
+2012-01-16  Jon Lee  <[email protected]>
+
+        Remove HTML notifications support on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=76401
+        <rdar://problem/10589881>
+
+        Reviewed by Sam Weinig.
+
+        * wtf/Platform.h: Define ENABLE_HTML_NOTIFICATIONS macro.
+
 2012-01-16  Zeno Albisser  <[email protected]>
 
         [Qt] Fix QT_VERSION related warnings when building on Mac OS X

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (105085 => 105086)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-16 20:50:46 UTC (rev 105085)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-16 21:11:44 UTC (rev 105086)
@@ -1161,5 +1161,8 @@
 /* Using V8 implies not using JSC and vice versa */
 #define WTF_USE_JSC !WTF_USE_V8
 
+#if ENABLE(NOTIFICATIONS) && !PLATFORM(MAC)
+#define ENABLE_HTML_NOTIFICATIONS 1
+#endif
 
 #endif /* WTF_Platform_h */

Modified: trunk/Source/WebCore/ChangeLog (105085 => 105086)


--- trunk/Source/WebCore/ChangeLog	2012-01-16 20:50:46 UTC (rev 105085)
+++ trunk/Source/WebCore/ChangeLog	2012-01-16 21:11:44 UTC (rev 105086)
@@ -1,3 +1,13 @@
+2012-01-16  Jon Lee  <[email protected]>
+
+        Remove HTML notifications support on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=76401
+        <rdar://problem/10589881>
+
+        Reviewed by Sam Weinig.
+
+        * notifications/NotificationCenter.idl:
+
 2012-01-16  xueqing huang  <[email protected]>
 
         Add offline web applications API applicationCache.abort.

Modified: trunk/Source/WebCore/notifications/NotificationCenter.idl (105085 => 105086)


--- trunk/Source/WebCore/notifications/NotificationCenter.idl	2012-01-16 20:50:46 UTC (rev 105085)
+++ trunk/Source/WebCore/notifications/NotificationCenter.idl	2012-01-16 21:11:44 UTC (rev 105086)
@@ -36,7 +36,9 @@
         ActiveDOMObject,
         OmitConstructor
     ] NotificationCenter {
+#if ENABLE(HTML_NOTIFICATIONS)
        [V8Custom] Notification createHTMLNotification(in DOMString url) raises(Exception);
+#endif
        [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(Exception);
 
        int checkPermission();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to