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

Unified Diff: public/platform/WebNotificationData.h

Issue 872313003: Move Notification-related Blink API headers into their own directory. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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: public/platform/WebNotificationData.h
diff --git a/public/platform/WebNotificationData.h b/public/platform/WebNotificationData.h
index 2adf6cd4d361d9c6e3783dd841aebfdf9642de03..dd6d693ca1de0fae46604e6cff67a46c16c56ea6 100644
--- a/public/platform/WebNotificationData.h
+++ b/public/platform/WebNotificationData.h
@@ -1,45 +1 @@
-// 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 "WebString.h"
-#include "WebURL.h"
-
-namespace blink {
-
-// Structure representing the data associated with a Web Notification.
-struct WebNotificationData {
- enum Direction {
- DirectionLeftToRight,
- DirectionRightToLeft
- };
-
- WebNotificationData()
- : direction(DirectionLeftToRight)
- {
- }
-
- WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon)
- : title(title)
- , direction(direction)
- , lang(lang)
- , body(body)
- , tag(tag)
- , icon(icon)
- {
- }
-
- WebString title;
- Direction direction;
- WebString lang;
- WebString body;
- WebString tag;
- WebURL icon;
-};
-
-} // namespace blink
-
-#endif // WebNotificationData_h
+#include "public/platform/modules/notifications/WebNotificationData.h"

Powered by Google App Engine
This is Rietveld 408576698