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

Unified Diff: content/browser/content_browser_client.cc

Issue 7125006: Get rid of Chrome notifications dependency, and instead go through ContentBrowserClient to show U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browsertest Created 9 years, 6 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: content/browser/content_browser_client.cc
===================================================================
--- content/browser/content_browser_client.cc (revision 88079)
+++ content/browser/content_browser_client.cc (working copy)
@@ -110,6 +110,33 @@
int render_view_id) {
}
+void ContentBrowserClient::RequestDesktopNotificationPermission(
+ const GURL& source_origin,
+ int callback_context,
+ int render_process_id,
+ int render_view_id) {
+}
+
+WebKit::WebNotificationPresenter::Permission
+ ContentBrowserClient::CheckDesktopNotificationPermission(
+ const GURL& source_url,
+ const content::ResourceContext& context) {
+ return WebKit::WebNotificationPresenter::PermissionAllowed;
+}
+
+void ContentBrowserClient::ShowDesktopNotification(
+ const DesktopNotificationHostMsg_Show_Params& params,
+ int render_process_id,
+ int render_view_id,
+ bool worker) {
+}
+
+void ContentBrowserClient::CancelDesktopNotification(
+ int render_process_id,
+ int render_view_id,
+ int notification_id) {
+}
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
return -1;

Powered by Google App Engine
This is Rietveld 408576698