Chromium Code Reviews| Index: components/arc/arc_bridge_service_impl.h |
| diff --git a/components/arc/arc_bridge_service_impl.h b/components/arc/arc_bridge_service_impl.h |
| index 3f57f67f37a672eae4a97d1c9b0e55b030f3642a..a7638482d37475031d0676c17f7b79fd307d926c 100644 |
| --- a/components/arc/arc_bridge_service_impl.h |
| +++ b/components/arc/arc_bridge_service_impl.h |
| @@ -53,6 +53,9 @@ class ArcBridgeServiceImpl : public ArcBridgeService, |
| const std::string& activity, |
| ScaleFactor scale_factor) override; |
| + // Sends the Chrome clipboard content to Android side. |
| + bool SendClipboardContentToAndroid(const ClipboardData data); |
|
elijahtaylor1
2015/12/04 20:36:51
should this be passed by reference?
|
| + |
| private: |
| friend class ArcBridgeTest; |
| FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Basic); |
| @@ -84,11 +87,21 @@ class ArcBridgeServiceImpl : public ArcBridgeService, |
| // Called when the instance has reached a boot phase |
| void OnInstanceBootPhase(InstanceBootPhase phase); |
| + |
| // Handler for ArcInstanceHostMsg_NotificationPosted message. |
| void OnNotificationPostedFromAndroid(const ArcNotificationData& data); |
| // Handler for ArcInstanceHostMsg_NotificationRemoved message. |
| void OnNotificationRemovedFromAndroid(const std::string& key); |
| + // Called whenever the Android clipboard content is changed. This is |
| + // typically fired when a user initiates a "Copy" action. |
| + void OnSetClipboardContent(const ClipboardData& data); |
| + |
| + // Called whenever the Android clipboard decides to update its content. |
| + // This is typical triggered when a "Paste" action is fired or an app |
| + // or service tries to retrieve the android clipboard content. |
| + void OnGetClipboardContent(); |
| + |
| // Called whenever ARC sends information about available apps. |
| void OnAppListRefreshed(const std::vector<arc::AppInfo>& apps); |