Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Side by Side Diff: content/public/common/show_desktop_notification_params.h

Issue 8570024: Enable content component (again!). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak audio exports Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content.gyp ('k') | content/renderer/media/audio_input_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h"
9 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 // Parameters used when showing an HTML5 notification. 15 // Parameters used when showing an HTML5 notification.
15 struct ShowDesktopNotificationHostMsgParams { 16 struct CONTENT_EXPORT ShowDesktopNotificationHostMsgParams {
16 ShowDesktopNotificationHostMsgParams(); 17 ShowDesktopNotificationHostMsgParams();
17 ~ShowDesktopNotificationHostMsgParams(); 18 ~ShowDesktopNotificationHostMsgParams();
18 19
19 // URL which is the origin that created this notification. 20 // URL which is the origin that created this notification.
20 GURL origin; 21 GURL origin;
21 22
22 // True if this is HTML 23 // True if this is HTML
23 bool is_html; 24 bool is_html;
24 25
25 // URL which contains the HTML contents (if is_html is true), otherwise empty. 26 // URL which contains the HTML contents (if is_html is true), otherwise empty.
(...skipping 11 matching lines...) Expand all
37 // empty if no replacement is called for. 38 // empty if no replacement is called for.
38 string16 replace_id; 39 string16 replace_id;
39 40
40 // Notification ID for sending events back for this notification. 41 // Notification ID for sending events back for this notification.
41 int notification_id; 42 int notification_id;
42 }; 43 };
43 44
44 } // namespace content 45 } // namespace content
45 46
46 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_ 47 #endif // CONTENT_PUBLIC_COMMON_SHOW_DESKTOP_NOTIFICATION_PARAMS_H_
OLDNEW
« no previous file with comments | « content/content.gyp ('k') | content/renderer/media/audio_input_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698