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

Unified Diff: chrome/browser/renderer_host/render_view_host.h

Issue 194108: adds DesktopNotificationService to Profile (Closed)
Patch Set: more feedback Created 11 years, 2 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/renderer_host/render_view_host.h
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index 76b7460eb7b034b0ec429582bc0e7d028dfac1d3..7f24d97c2e63c9e406b2d734a512b4063ac7eb77 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -577,6 +577,14 @@ class RenderViewHost : public RenderWidgetHost,
void OnRemoveAutofillEntry(const std::wstring& field_name,
const std::wstring& value);
+ void OnShowDesktopNotification(const GURL& source_origin,
+ const GURL& url, int notification_id);
+ void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon,
+ const string16& title,
+ const string16& text,
+ int notification_id);
+ void OnRequestNotificationPermission(const GURL& origin, int callback_id);
+
void OnExtensionRequest(const std::string& name, const ListValue& args,
int request_id, bool has_callback);
void OnExtensionPostMessage(int port_id, const std::string& message);

Powered by Google App Engine
This is Rietveld 408576698