Chromium Code Reviews| Index: public/platform/modules/notifications/WebNotificationAction.h |
| diff --git a/public/platform/modules/notifications/WebNotificationAction.h b/public/platform/modules/notifications/WebNotificationAction.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7c0e6fe48a0f6c382b650aa37e726077ac5d1f89 |
| --- /dev/null |
| +++ b/public/platform/modules/notifications/WebNotificationAction.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2015 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 WebNotificationAction_h |
| +#define WebNotificationAction_h |
| + |
| +#include "public/platform/WebString.h" |
| + |
| +namespace blink { |
| + |
| +// Structure representing the data associated with a Web Notification action. |
|
Peter Beverloo
2015/07/30 16:24:08
Could you annotate that the empty and copy-constru
johnme
2015/07/31 15:10:10
Done.
|
| +struct WebNotificationAction { |
| + WebNotificationAction() = default; |
| + |
| + WebNotificationAction(const WebNotificationAction&) = default; |
| + |
| + WebNotificationAction(const WebString& title) |
| + : title(title) |
| + { |
| + } |
| + |
| + WebString title; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebNotificationAction_h |