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

Unified Diff: content/common/platform_notification_messages.h

Issue 749213003: Include whether Notification permission was requested with a user gesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/common/platform_notification_messages.h
diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
index 077e3148bb5190c3acb1dc2e8a983ce6769abd3e..17dfbc2c52342683ea14aab5b58ba6fb8fce97bf 100644
--- a/content/common/platform_notification_messages.h
+++ b/content/common/platform_notification_messages.h
@@ -47,9 +47,10 @@ IPC_MESSAGE_CONTROL1(PlatformNotificationMsg_DidClick,
// Messages sent from the renderer to the browser.
// Requests permission to display platform notifications for |origin|.
-IPC_MESSAGE_ROUTED2(PlatformNotificationHostMsg_RequestPermission,
+IPC_MESSAGE_ROUTED3(PlatformNotificationHostMsg_RequestPermission,
GURL /* origin */,
- int /* request_id */)
+ int /* request_id */,
+ bool /* user_gesture */)
IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_Show,
int /* notification_id */,
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/renderer/notification_permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698