Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebNotificationAction_h | |
| 6 #define WebNotificationAction_h | |
| 7 | |
| 8 #include "public/platform/WebString.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 // 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.
| |
| 13 struct WebNotificationAction { | |
| 14 WebNotificationAction() = default; | |
| 15 | |
| 16 WebNotificationAction(const WebNotificationAction&) = default; | |
| 17 | |
| 18 WebNotificationAction(const WebString& title) | |
| 19 : title(title) | |
| 20 { | |
| 21 } | |
| 22 | |
| 23 WebString title; | |
| 24 }; | |
| 25 | |
| 26 } // namespace blink | |
| 27 | |
| 28 #endif // WebNotificationAction_h | |
| OLD | NEW |