| Index: third_party/WebKit/public/platform/modules/notifications/notification_service.mojom
|
| diff --git a/third_party/WebKit/public/platform/modules/notifications/notification_service.mojom b/third_party/WebKit/public/platform/modules/notifications/notification_service.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b9c5d3e57024706959ed9d65546f96f4694974ad
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/notifications/notification_service.mojom
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +module blink.mojom;
|
| +
|
| +import "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom";
|
| +
|
| +// Service through which Blink can request notifications to be shown, closed or
|
| +// retrieved from the embedder.
|
| +interface NotificationService {
|
| + // Synchronously retrieves the permission status for |origin|. Required to
|
| + // be synchronous due to the Notification.permission JavaScript getter.
|
| + [Sync] GetPermissionStatus(string origin) => (PermissionStatus status);
|
| +};
|
|
|