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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 758603002: Use Mojo Permission Service when requesting Notifications permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_geolocation_follow_up
Patch Set: fixes to pass tests Created 6 years, 1 month 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 | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 595ce4e8c5c0ebf90ac000554dc695ab28b32e2f..d26151579bb878c4d9e0bbd88cb17c70f5c1ed33 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -67,7 +67,6 @@ struct ContextMenuParams;
struct GlobalRequestID;
struct Referrer;
struct ResourceResponse;
-struct ShowDesktopNotificationHostMsgParams;
struct TransitionLayerData;
// Flag arguments for RenderFrameHost creation.
@@ -437,12 +436,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
const base::string16& message,
bool is_reload,
IPC::Message* reply_msg);
- void OnRequestPlatformNotificationPermission(const GURL& origin,
- int request_id);
- void OnShowDesktopNotification(
- int notification_id,
- const ShowDesktopNotificationHostMsgParams& params);
- void OnCancelDesktopNotification(int notification_id);
void OnTextSurroundingSelectionResponse(const base::string16& content,
size_t start_offset,
size_t end_offset);
@@ -479,8 +472,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
// it will be used to kill processes that commit unauthorized URLs.
bool CanCommitURL(const GURL& url);
- void PlatformNotificationPermissionRequestDone(int request_id, bool granted);
-
// Update the the singleton FrameAccessibility instance with a map
// from accessibility node id to the frame routing id of a cross-process
// iframe.
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698