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

Side by Side Diff: components/arc/common/arc_host_messages.h

Issue 1495723004: Minimum implementation of ARC clipboard Bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to catch arc++ notification cl Created 5 years 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
OLDNEW
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698