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

Side by Side Diff: Source/modules/permissions/PermissionStatus.idl

Issue 760223003: Stub implementation of Permissions API module. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: no copies Created 6 years 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 2014 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 enum PermissionState {
6 "granted",
7 "denied",
8 "prompt"
9 };
10
Peter Beverloo 2014/12/01 11:30:35 Please include a link to the specification in this
mlamouri (slow - plz ping) 2014/12/01 12:36:00 Sure.
mlamouri (slow - plz ping) 2014/12/01 12:36:00 Sure.
11 [
12 Exposed=(Window,Worker),
13 RuntimeEnabled=Permissions,
14 ] interface PermissionStatus : EventTarget {
15 readonly attribute PermissionState status;
16 attribute EventHandler onchange;
17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698