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

Unified Diff: content/common/desktop_notification_messages.h

Issue 740543003: Remove the old Web Notification code-path (Chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unittest references Created 6 years, 1 month 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 | « content/common/content_message_generator.h ('k') | content/common/platform_notification_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/desktop_notification_messages.h
diff --git a/content/common/desktop_notification_messages.h b/content/common/desktop_notification_messages.h
deleted file mode 100644
index 3b2215d0bda152c42dc9af6465bfbaa1e376b9b6..0000000000000000000000000000000000000000
--- a/content/common/desktop_notification_messages.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// IPC messages for desktop notification.
-// Multiply-included message file, hence no include guard.
-
-#include "content/public/common/show_desktop_notification_params.h"
-#include "ipc/ipc_message_macros.h"
-
-#define IPC_MESSAGE_START DesktopNotificationMsgStart
-
-IPC_STRUCT_TRAITS_BEGIN(content::ShowDesktopNotificationHostMsgParams)
- IPC_STRUCT_TRAITS_MEMBER(origin)
- IPC_STRUCT_TRAITS_MEMBER(icon)
- IPC_STRUCT_TRAITS_MEMBER(title)
- IPC_STRUCT_TRAITS_MEMBER(body)
- IPC_STRUCT_TRAITS_MEMBER(direction)
- IPC_STRUCT_TRAITS_MEMBER(replace_id)
-IPC_STRUCT_TRAITS_END()
-
-// Messages sent from the browser to the renderer.
-
-// Used to inform the renderer that the browser has displayed its
-// requested notification.
-IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostDisplay,
- int /* notification_id */)
-
-// Informs the renderer that the one if its notifications has closed.
-IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose,
- int /* notification_id */,
- bool /* by_user */)
-
-// Informs the renderer that one of its notifications was clicked on.
-IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostClick,
- int /* notification_id */)
-
-// Messages sent from the renderer to the browser.
-
-IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_Show,
- int /* notification_id */,
- content::ShowDesktopNotificationHostMsgParams /* params */)
-
-IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel,
- int /* notification_id */)
-
-IPC_SYNC_MESSAGE_ROUTED1_1(DesktopNotificationHostMsg_CheckPermission,
- GURL /* origin */,
- int /* permission_result */)
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/platform_notification_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698