Index: content/browser/renderer_host/render_view_host.h |
=================================================================== |
--- content/browser/renderer_host/render_view_host.h (revision 88079) |
+++ content/browser/renderer_host/render_view_host.h (working copy) |
@@ -24,6 +24,7 @@ |
#include "webkit/glue/window_open_disposition.h" |
class ChildProcessSecurityPolicy; |
+struct DesktopNotificationHostMsg_Show_Params; |
class FilePath; |
class GURL; |
class ListValue; |
@@ -231,6 +232,14 @@ |
void DragTargetDrop(const gfx::Point& client_pt, |
const gfx::Point& screen_pt); |
+ // Notifies the renderer about the result of a desktop notification. |
+ void DesktopNotificationPermissionRequestDone(int callback_context); |
+ void DesktopNotificationPostDisplay(int callback_context); |
+ void DesktopNotificationPostError(int notification_id, |
+ const string16& message); |
+ void DesktopNotificationPostClose(int notification_id, bool by_user); |
+ void DesktopNotificationPostClick(int notification_id); |
+ |
// Runs some javascript within the context of a frame in the page. |
void ExecuteJavascriptInWebFrame(const string16& frame_xpath, |
const string16& jscript); |
@@ -438,11 +447,15 @@ |
const std::string& value); |
void OnMsgShouldCloseACK(bool proceed); |
void OnMsgClosePageACK(); |
- |
void OnAccessibilityNotifications( |
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
void OnScriptEvalResponse(int id, const ListValue& result); |
void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); |
+ void OnRequestDesktopNotificationPermission(const GURL& origin, |
+ int callback_id); |
+ void OnShowDesktopNotification( |
+ const DesktopNotificationHostMsg_Show_Params& params); |
+ void OnCancelDesktopNotification(int notification_id); |
#if defined(OS_MACOSX) |
void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |