diff options
author | mlamouri <mlamouri@chromium.org> | 2015-03-17 09:06:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-17 16:06:54 +0000 |
commit | 670a86def14a54e127fdad702be51572a81532a8 (patch) | |
tree | db2b71707156a8c009483e0bb2df75cd22ec9a9e /content/common/permission_service.mojom | |
parent | 00700c38f70e29ab78ad5ec4770745e524891a79 (diff) | |
download | chromium_src-670a86def14a54e127fdad702be51572a81532a8.zip chromium_src-670a86def14a54e127fdad702be51572a81532a8.tar.gz chromium_src-670a86def14a54e127fdad702be51572a81532a8.tar.bz2 |
Implement WebPermissionClient for Document and Worker contexts
It does enable Permissions.query() in Document and Worker context.
It is using the mojo pipe associated to the RenderFrameImpl or BlinkPlatformImpl
so the PermissionManager doesn't need to know in which context it lives.
However, it needs to do some thread jumping to be back in the main thread.
This is based on top of https://codereview.chromium.org/804553003
BUG=437770
Review URL: https://codereview.chromium.org/801613004
Cr-Commit-Position: refs/heads/master@{#320927}
Diffstat (limited to 'content/common/permission_service.mojom')
-rw-r--r-- | content/common/permission_service.mojom | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/permission_service.mojom b/content/common/permission_service.mojom index 9dd952d..2ed9d3e 100644 --- a/content/common/permission_service.mojom +++ b/content/common/permission_service.mojom @@ -8,8 +8,9 @@ import "content/public/common/permission_status.mojom"; enum PermissionName { GEOLOCATION, - MIDI_SYSEX, NOTIFICATIONS, + PUSH_NOTIFICATIONS, + MIDI_SYSEX, PROTECTED_MEDIA_IDENTIFIER, }; |