Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: third_party/WebKit/public/platform/modules/notifications/notification_service.mojom

Issue 1948223004: Introduce the Blink NotificationService, move permission checks there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OWNERS + thread jump when connecting Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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);
Sam McNally 2016/05/06 05:14:09 This seems like it belongs in PermissionService.
Peter Beverloo 2016/05/06 14:51:33 Conceptually it does, but the notification permiss
mlamouri (slow - plz ping) 2016/05/07 12:55:25 I don't think extensions is a problem to use the p
15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698