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

Unified Diff: third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl

Issue 2791623004: [sensors][permission] Add new permission types in permission module. (Closed)
Patch Set: Rebase + add blank line in ONWERS file. Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl
diff --git a/third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl b/third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl
index 37cfa8659aa02c1fd07075e5e18b85cdd459cac7..80735f07e6d0a10fd8dfa585b1dce4af5536982e 100644
--- a/third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl
+++ b/third_party/WebKit/Source/modules/permissions/PermissionDescriptor.idl
@@ -7,7 +7,11 @@ enum PermissionName {
"midi",
"notifications",
"push",
- "background-sync"
+ "background-sync",
+ "ambient-light-sensor",
+ "accelerometer",
+ "gyroscope",
+ "magnetometer",
};
// The PermissionDescriptor dictionary is a base to describe permissions. Some

Powered by Google App Engine
This is Rietveld 408576698