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

Side by Side Diff: content/common/platform_notification_messages.h

Issue 1942353002: (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « content/common/DEPS ('k') | content/content_browser.gypi » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Messages for platform-native notifications using the Web Notification API. 5 // Messages for platform-native notifications using the Web Notification API.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "components/permissions/permission_status.mojom.h"
13 #include "content/public/common/common_param_traits_macros.h" 14 #include "content/public/common/common_param_traits_macros.h"
14 #include "content/public/common/notification_resources.h" 15 #include "content/public/common/notification_resources.h"
15 #include "content/public/common/platform_notification_data.h" 16 #include "content/public/common/platform_notification_data.h"
16 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
17 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat us.mojom.h"
18 #include "third_party/skia/include/core/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
19 19
20 // Singly-included section for type definitions. 20 // Singly-included section for type definitions.
21 #ifndef CONTENT_COMMON_PLATFORM_NOTIFICATION_MESSAGES_H_ 21 #ifndef CONTENT_COMMON_PLATFORM_NOTIFICATION_MESSAGES_H_
22 #define CONTENT_COMMON_PLATFORM_NOTIFICATION_MESSAGES_H_ 22 #define CONTENT_COMMON_PLATFORM_NOTIFICATION_MESSAGES_H_
23 23
24 // Defines the pair of [persistent notification id] => [notification data] used 24 // Defines the pair of [persistent notification id] => [notification data] used
25 // when getting the notifications for a given Service Worker registration. 25 // when getting the notifications for a given Service Worker registration.
26 using PersistentNotificationInfo = 26 using PersistentNotificationInfo =
27 std::pair<int64_t, content::PlatformNotificationData>; 27 std::pair<int64_t, content::PlatformNotificationData>;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close, 122 IPC_MESSAGE_CONTROL1(PlatformNotificationHostMsg_Close,
123 int /* notification_id */) 123 int /* notification_id */)
124 124
125 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent, 125 IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
126 GURL /* origin */, 126 GURL /* origin */,
127 int64_t /* persistent_notification_id */) 127 int64_t /* persistent_notification_id */)
128 128
129 IPC_SYNC_MESSAGE_CONTROL1_1( 129 IPC_SYNC_MESSAGE_CONTROL1_1(
130 PlatformNotificationHostMsg_CheckPermission, 130 PlatformNotificationHostMsg_CheckPermission,
131 GURL /* origin */, 131 GURL /* origin */,
132 blink::mojom::PermissionStatus /* permission_status */) 132 permissions::mojom::PermissionStatus /* permission_status */)
OLDNEW
« no previous file with comments | « content/common/DEPS ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698