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

Unified Diff: chrome/browser/desktop_notification_handler.h

Issue 6688054: Move geolocation, desktop notification, and device orientation into their own message files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: chrome/browser/desktop_notification_handler.h
===================================================================
--- chrome/browser/desktop_notification_handler.h (revision 78781)
+++ chrome/browser/desktop_notification_handler.h (working copy)
@@ -8,7 +8,7 @@
#include "content/browser/tab_contents/tab_contents_observer.h"
-struct ViewHostMsg_ShowNotification_Params;
+struct DesktopNotificationHostMsg_Show_Params;
class RenderProcessHost;
// Per-tab Desktop notification handler. Handles desktop notification IPCs
@@ -27,14 +27,12 @@
private:
// IPC handlers.
- void OnShowDesktopNotification(
- const IPC::Message& message,
- const ViewHostMsg_ShowNotification_Params& params);
- void OnCancelDesktopNotification(const IPC::Message& message,
- int notification_id);
- void OnRequestNotificationPermission(const IPC::Message& message,
- const GURL& origin,
- int callback_id);
+ void OnShow(const IPC::Message& message,
+ const DesktopNotificationHostMsg_Show_Params& params);
+ void OnCancel(const IPC::Message& message, int notification_id);
+ void OnRequestPermission(const IPC::Message& message,
+ const GURL& origin,
+ int callback_id);
private:
TabContents* tab_;

Powered by Google App Engine
This is Rietveld 408576698