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

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

Issue 271052: Browser side support (sans UI) for desktop notifications.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.h
===================================================================
--- chrome/browser/renderer_host/render_view_host.h (revision 28695)
+++ chrome/browser/renderer_host/render_view_host.h (working copy)
@@ -577,6 +577,14 @@
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);
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698