OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ |
6 #define CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "third_party/WebKit/public/web/WebTextDirection.h" | 9 #include "third_party/WebKit/public/web/WebTextDirection.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 // URL which contains the HTML contents (if is_html is true), otherwise empty. | 25 // URL which contains the HTML contents (if is_html is true), otherwise empty. |
26 GURL contents_url; | 26 GURL contents_url; |
27 | 27 |
28 // Contents of the notification if is_html is false. | 28 // Contents of the notification if is_html is false. |
29 GURL icon_url; | 29 GURL icon_url; |
30 string16 title; | 30 string16 title; |
31 string16 body; | 31 string16 body; |
32 | 32 |
33 // Directionality of the notification. | 33 // Directionality of the notification. |
34 WebKit::WebTextDirection direction; | 34 blink::WebTextDirection direction; |
35 | 35 |
36 // ReplaceID if this notification should replace an existing one; may be | 36 // ReplaceID if this notification should replace an existing one; may be |
37 // empty if no replacement is called for. | 37 // empty if no replacement is called for. |
38 string16 replace_id; | 38 string16 replace_id; |
39 | 39 |
40 // Notification ID for sending events back for this notification. | 40 // Notification ID for sending events back for this notification. |
41 int notification_id; | 41 int notification_id; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace content | 44 } // namespace content |
45 | 45 |
46 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ | 46 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ |
OLD | NEW |