| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module blink.mojom; | |
| 6 | |
| 7 import "third_party/WebKit/public/platform/modules/permissions/permission_status
.mojom"; | |
| 8 | |
| 9 // Service through which Blink can request notifications to be shown, closed or | |
| 10 // retrieved from the embedder. | |
| 11 interface NotificationService { | |
| 12 // Synchronously retrieves the permission status for |origin|. Required to | |
| 13 // be synchronous due to the Notification.permission JavaScript getter. | |
| 14 [Sync] GetPermissionStatus(string origin) => (PermissionStatus status); | |
| 15 }; | |
| OLD | NEW |