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

Unified Diff: third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 8 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: third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h
deleted file mode 100644
index 62af2488173d3dc0ce32ca20fe0f2178cc153c64..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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 WebNotificationData_h
-#define WebNotificationData_h
-
-#include "public/platform/WebString.h"
-#include "public/platform/WebURL.h"
-#include "public/platform/WebVector.h"
-#include "public/platform/modules/notifications/WebNotificationAction.h"
-
-namespace blink {
-
-// Structure representing the data associated with a Web Notification.
-struct WebNotificationData {
- enum Direction {
- DirectionLeftToRight,
- DirectionRightToLeft,
- DirectionAuto
- };
-
- WebString title;
- Direction direction = DirectionLeftToRight;
- WebString lang;
- WebString body;
- WebString tag;
- WebURL icon;
- WebURL badge;
- WebVector<int> vibrate;
- double timestamp = 0;
- bool renotify = false;
- bool silent = false;
- bool requireInteraction = false;
- WebVector<char> data;
- WebVector<WebNotificationAction> actions;
-};
-
-} // namespace blink
-
-#endif // WebNotificationData_h

Powered by Google App Engine
This is Rietveld 408576698