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" |