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

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: stupid compilers 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
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 399316ba25ac5bcc08fee13e50fbf4da892bc430..fbe0babea9cd11b26f4e9c8db5438e0520c6c024 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -72,6 +72,7 @@ class WebMediaPlayer;
class WebMediaPlayerClient;
class WebMIDIClient;
class WebNotificationPermissionCallback;
+class WebPermissionClient;
class WebServiceWorkerProvider;
class WebSocketHandle;
class WebPlugin;
@@ -629,6 +630,12 @@ public:
};
virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisablerType) { }
+
+ // Permissions ---------------------------------------------------------
+
+ // Access the embedder API for permission client.
+ virtual WebPermissionClient* permissionClient() { return 0; }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698