Index: modules/geofencing/ServiceWorkerGlobalScopeGeofencing.idl |
diff --git a/modules/push_messaging/ServiceWorkerGlobalScopePush.idl b/modules/geofencing/ServiceWorkerGlobalScopeGeofencing.idl |
similarity index 64% |
copy from modules/push_messaging/ServiceWorkerGlobalScopePush.idl |
copy to modules/geofencing/ServiceWorkerGlobalScopeGeofencing.idl |
index 3395b3d43107a7d298201f7ec943b12cd58529e5..418f02efd103788f7d304dd0fd7cb0c6f629f957 100644 |
--- a/modules/push_messaging/ServiceWorkerGlobalScopePush.idl |
+++ b/modules/geofencing/ServiceWorkerGlobalScopeGeofencing.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=PushMessaging, |
+ RuntimeEnabled=Geofencing, |
] partial interface ServiceWorkerGlobalScope { |
- attribute EventHandler onpush; |
+ attribute EventHandler ongeofenceenter; |
+ attribute EventHandler ongeofenceleave; |
}; |