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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2244913002: Remove content::NotificationPermissionDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permissions_typemaps
Patch Set: Rebased. Created 4 years, 4 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: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index ff72630c99252cc4ecec09b3785a5eafb6257936..03ad867228b0f6fd29f65f9473582e21b50ccff3 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -133,7 +133,6 @@ class MediaStreamRendererFactory;
class MediaPermissionDispatcher;
class MidiDispatcher;
class NavigationState;
-class NotificationPermissionDispatcher;
class PageState;
class PepperPluginInstanceImpl;
class PresentationDispatcher;
@@ -543,9 +542,6 @@ class CONTENT_EXPORT RenderFrameImpl
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,
@@ -1143,9 +1139,6 @@ 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_;
-
// Destroyed via the RenderFrameObserver::OnDestruct() mechanism.
UserMediaClientImpl* web_user_media_client_;

Powered by Google App Engine
This is Rietveld 408576698