OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 sent from the ARC instance to the host. | 5 // Messages sent from the ARC instance to the host. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 // Tells the Chrome that a notification is posted (created or updated) on | 42 // Tells the Chrome that a notification is posted (created or updated) on |
43 // Android. | 43 // Android. |
44 // |notification_data| is the data of notification (id, texts, icon and ...). | 44 // |notification_data| is the data of notification (id, texts, icon and ...). |
45 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted, | 45 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted, |
46 arc::ArcNotificationData /* notification_data */); | 46 arc::ArcNotificationData /* notification_data */); |
47 | 47 |
48 // Notifies that a notification is removed on Android. | 48 // Notifies that a notification is removed on Android. |
49 // |key| is the identifier of the notification. | 49 // |key| is the identifier of the notification. |
50 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved, | 50 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved, |
51 std::string /* key */); | 51 std::string /* key */); |
52 | |
53 // Called whenever the Android clipboard content is changed. This is | |
54 // typically fired when a user initiates a "Copy" action. | |
55 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_SetClipboardContent, | |
56 arc::ClipboardData) | |
57 | |
58 // Called whenever the Android clipboard decides to update its content. | |
59 // This is typical triggered when a "Paste" action is fired or an app | |
60 // or service tries to retrieve the android clipboard content. | |
elijahtaylor1
2015/12/04 20:36:51
nit: capitalize Android
| |
61 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_GetClipboardContent) | |
OLD | NEW |