| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index 5fca735a83f6f8e994616e0873b4f9b498506675..b070b502f21685652dcf9f6756a98e63367b54ba 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -60,6 +60,7 @@ class ChildFrameCompositingHelper;
|
| class GeolocationDispatcher;
|
| class MediaStreamRendererFactory;
|
| class MidiDispatcher;
|
| +class NotificationPermissionDispatcher;
|
| class NotificationProvider;
|
| class PepperPluginInstanceImpl;
|
| class PushMessagingDispatcher;
|
| @@ -312,6 +313,9 @@ class CONTENT_EXPORT RenderFrameImpl
|
| blink::WebHistoryCommitType commit_type);
|
| virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
|
| virtual void didChangeBrandColor();
|
| + virtual void requestNotificationPermission(
|
| + const blink::WebSecurityOrigin& origin,
|
| + blink::WebNotificationPermissionCallback* callback);
|
| virtual blink::WebNotificationPresenter* notificationPresenter();
|
| virtual void didChangeSelection(bool is_empty_selection);
|
| virtual blink::WebColorChooser* createColorChooser(
|
| @@ -616,7 +620,11 @@ class CONTENT_EXPORT RenderFrameImpl
|
| // along with the RenderFrame automatically. This is why we just store weak
|
| // references.
|
|
|
| + // Dispatches permission requests for Web Notifications.
|
| + NotificationPermissionDispatcher* notification_permission_dispatcher_;
|
| +
|
| // Holds a reference to the service which provides desktop notifications.
|
| + // TODO(peter) Remove this once Web Notifications are routed through Platform.
|
| NotificationProvider* notification_provider_;
|
|
|
| blink::WebUserMediaClient* web_user_media_client_;
|
|
|