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

Unified Diff: content/public/common/show_desktop_notification_params.h

Issue 794633002: Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 6 years 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/public/common/show_desktop_notification_params.h
diff --git a/content/public/common/show_desktop_notification_params.h b/content/public/common/show_desktop_notification_params.h
deleted file mode 100644
index 10114d99ab8f13b8f10f26968e0522039e5b76df..0000000000000000000000000000000000000000
--- a/content/public/common/show_desktop_notification_params.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_
-#define CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_
-
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/web/WebTextDirection.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "url/gurl.h"
-
-namespace content {
-
-// Parameters used when showing an HTML5 notification.
-// TODO(peter): Rename this to PlatformNotificationData.
-struct CONTENT_EXPORT ShowDesktopNotificationHostMsgParams {
- ShowDesktopNotificationHostMsgParams();
- ~ShowDesktopNotificationHostMsgParams();
-
- // URL which is the origin that created this notification.
- GURL origin;
-
- // Image to be displayed as part of the notification.
- SkBitmap icon;
-
- base::string16 title;
- base::string16 body;
-
- // Directionality of the notification.
- blink::WebTextDirection direction;
-
- // ReplaceID if this notification should replace an existing one; may be
- // empty if no replacement is called for.
- base::string16 replace_id;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698