Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 0182154103b31c3c200a94a5a40bf1d0fbd96076..a2b0c2ef5ffd2e0b4847c8f682f8e954dd671a0f 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -133,6 +133,7 @@ |
class MediaPermissionDispatcher; |
class MidiDispatcher; |
class NavigationState; |
+class NotificationPermissionDispatcher; |
class PageState; |
class PepperPluginInstanceImpl; |
class PresentationDispatcher; |
@@ -544,6 +545,9 @@ |
void didChangeThemeColor() override; |
void dispatchLoad() override; |
blink::WebEffectiveConnectionType getEffectiveConnectionType() override; |
+ void requestNotificationPermission( |
+ const blink::WebSecurityOrigin& origin, |
+ blink::WebNotificationPermissionCallback* callback) override; |
void didChangeSelection(bool is_empty_selection) override; |
blink::WebColorChooser* createColorChooser( |
blink::WebColorChooserClient* client, |
@@ -1141,6 +1145,9 @@ |
// along with the RenderFrame automatically. This is why we just store weak |
// references. |
+ // Dispatches permission requests for Web Notifications. |
+ NotificationPermissionDispatcher* notification_permission_dispatcher_; |
+ |
// Destroyed via the RenderFrameObserver::OnDestruct() mechanism. |
UserMediaClientImpl* web_user_media_client_; |