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

Unified Diff: content/renderer/render_frame_impl.cc

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
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index cb9e3d3faa5df2dc38de129057f07c3d243797bb..98aa827f1fb1fb235fdb620b32b7963f00d34425 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -112,7 +112,6 @@
#include "content/renderer/mojo/interface_provider_js_wrapper.h"
#include "content/renderer/mojo_bindings_controller.h"
#include "content/renderer/navigation_state_impl.h"
-#include "content/renderer/notification_permission_dispatcher.h"
#include "content/renderer/pepper/pepper_audio_controller.h"
#include "content/renderer/pepper/plugin_instance_throttler_impl.h"
#include "content/renderer/presentation/presentation_dispatcher.h"
@@ -1052,7 +1051,6 @@ RenderFrameImpl::RenderFrameImpl(const CreateParams& params)
selection_text_offset_(0),
selection_range_(gfx::Range::InvalidRange()),
handling_select_range_(false),
- notification_permission_dispatcher_(NULL),
web_user_media_client_(NULL),
#if defined(OS_ANDROID)
media_player_manager_(NULL),
@@ -3759,17 +3757,6 @@ RenderFrameImpl::getEffectiveConnectionType() {
return effective_connection_type_;
}
-void RenderFrameImpl::requestNotificationPermission(
- const blink::WebSecurityOrigin& origin,
- blink::WebNotificationPermissionCallback* callback) {
- if (!notification_permission_dispatcher_) {
- notification_permission_dispatcher_ =
- new NotificationPermissionDispatcher(this);
- }
-
- notification_permission_dispatcher_->RequestPermission(origin, callback);
-}
-
void RenderFrameImpl::didChangeSelection(bool is_empty_selection) {
if (!GetRenderWidget()->input_handler().handling_input_event() &&
!handling_select_range_)
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698