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

Unified Diff: public/web/WebFrameClient.h

Issue 707833002: Plumb Push API permission request through Blink using Frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use nullptr instead of 0. Created 6 years, 1 month 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/WebCallback.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 897ff1cd1808079652ac74e4e64a01ff370d2e60..ac548160e4dc6ac9a803065f82a765b7568c894c 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -57,6 +57,7 @@ namespace blink {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
class WebCachedURLRequest;
+class WebCallback;
class WebColorChooser;
class WebColorChooserClient;
class WebContentDecryptionModule;
@@ -325,6 +326,12 @@ public:
virtual WebNotificationPresenter* notificationPresenter() { return 0; }
+ // Push API ---------------------------------------------------
+
+ // Requests permission to use the Push API in the origin of this frame.
+ virtual void requestPushPermission(WebCallback* callback) { }
+
+
// Editing -------------------------------------------------------------
// These methods allow the client to intercept and overrule editing
« no previous file with comments | « public/platform/WebCallback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698