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

Unified Diff: public/web/WebFrameClient.h

Issue 804553003: Implement Permissions.query() and static PermissionStatus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 5 years, 9 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
« no previous file with comments | « public/platform/modules/permissions/WebPermissionType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 5fd8b89a88c45d06e3b0d121bb5095721c9b8dfc..b79f71cd3436998ba4f6c4e438aa94e4d392eb57 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -73,6 +73,7 @@ class WebMediaPlayer;
class WebMediaPlayerClient;
class WebMIDIClient;
class WebNotificationPermissionCallback;
+class WebPermissionClient;
class WebServiceWorkerProvider;
class WebSocketHandle;
class WebPlugin;
@@ -636,6 +637,12 @@ public:
};
virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisablerType) { }
+
+ // Permissions ---------------------------------------------------------
+
+ // Access the embedder API for permission client.
+ virtual WebPermissionClient* permissionClient() { return 0; }
+
protected:
virtual ~WebFrameClient() { }
};
« no previous file with comments | « public/platform/modules/permissions/WebPermissionType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698