Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index 45af6e741597cd8c6b940ae850a8f41a0986d385..ebde5da8af21027974c7ee9c42cd823c54ae8549 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -89,6 +89,7 @@ |
class WebMediaPlayerSource; |
class WebMediaSession; |
class WebMediaStream; |
+class WebNotificationPermissionCallback; |
class WebServiceWorkerProvider; |
class WebSocketHandle; |
class WebPlugin; |
@@ -370,6 +371,11 @@ |
// Returns the effective connection type when the frame was fetched. |
virtual WebEffectiveConnectionType getEffectiveConnectionType() { return WebEffectiveConnectionType::TypeUnknown; } |
+ // Web Notifications --------------------------------------------------- |
+ |
+ // Requests permission to display platform notifications on the origin of this frame. |
+ virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNotificationPermissionCallback* callback) { } |
+ |
// Push API --------------------------------------------------- |