Make sure webrtc::VideoSourceInterface is released on the main render thread.
[chromium-blink-merge.git] / content / public / common / show_desktop_notification_params.h
blob327f91cb8b63b5ac5027e639ad108b83737d4083
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 "third_party/WebKit/public/web/WebTextDirection.h"
10 #include "url/gurl.h"
12 namespace content {
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.
20 GURL origin;
22 // Contents of the notification if is_html is false.
23 GURL icon_url;
24 base::string16 title;
25 base::string16 body;
27 // Directionality of the notification.
28 blink::WebTextDirection direction;
30 // ReplaceID if this notification should replace an existing one; may be
31 // empty if no replacement is called for.
32 base::string16 replace_id;
35 } // namespace content
37 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_