Index: modules/notifications/WindowNotifications.idl |
diff --git a/modules/notifications/DOMWindowNotifications.idl b/modules/notifications/WindowNotifications.idl |
similarity index 84% |
rename from modules/notifications/DOMWindowNotifications.idl |
rename to modules/notifications/WindowNotifications.idl |
index 9fc786583bded1149c1c6a80cd5d0db89280f3d2..7f474e55a63ffcf42a9061023c3196d96b73bc5e 100644 |
--- a/modules/notifications/DOMWindowNotifications.idl |
+++ b/modules/notifications/WindowNotifications.idl |
@@ -25,10 +25,9 @@ |
*/ |
[ |
- Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS |
-] partial interface DOMWindow { |
-#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS |
- [EnabledAtRuntime=notifications, MeasureAs=LegacyNotifications, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonly attribute NotificationCenter webkitNotifications; |
-#endif |
+ Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS, |
+ ImplementedAs=DOMWindowNotifications |
+] partial interface Window { |
+ [EnabledAtRuntime=notifications, MeasureAs=LegacyNotifications, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Conditional=LEGACY_NOTIFICATIONS] readonly attribute NotificationCenter webkitNotifications; |
}; |