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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_
8 #include "content/common/content_export.h"
9 #include "googleurl/src/gurl.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
14 // Parameters used when showing an HTML5 notification.
15 struct CONTENT_EXPORT ShowDesktopNotificationHostMsgParams
{
16 ShowDesktopNotificationHostMsgParams();
17 ~ShowDesktopNotificationHostMsgParams();
19 // URL which is the origin that created this notification.
22 // True if this is HTML
25 // URL which contains the HTML contents (if is_html is true), otherwise empty.
28 // Contents of the notification if is_html is false.
33 // Directionality of the notification.
34 WebKit::WebTextDirection direction
;
36 // ReplaceID if this notification should replace an existing one; may be
37 // empty if no replacement is called for.
40 // Notification ID for sending events back for this notification.
44 } // namespace content
46 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_