- // Creates a data:xxxx URL which contains the full HTML for a notification
- // using supplied icon, title, and text, run through a template which contains
- // the standard formatting for notifications.
- static base::string16 CreateDataUrl(const GURL& icon_url,
- const base::string16& title,
- const base::string16& body,
- blink::WebTextDirection dir);
-
- // Creates a data:xxxx URL which contains the full HTML for a notification
- // using resource template which contains the standard formatting for
- // notifications.
- static base::string16 CreateDataUrl(int resource,
- const std::vector<std::string>& subst);
-
- // Add a desktop notification.
- static std::string AddIconNotification(const GURL& origin_url,
- const base::string16& title,
- const base::string16& message,
- const gfx::Image& icon,
- const base::string16& replace_id,
- NotificationDelegate* delegate,
- Profile* profile);
-