Index: components/arc/common/arc_message_types.h |
diff --git a/components/arc/common/arc_message_types.h b/components/arc/common/arc_message_types.h |
index 5971a6b0482a92ef0d5cd683a3166d92e5af5b4b..b8067f37e7e3c20093ee8ee398b4f7e8184d394f 100644 |
--- a/components/arc/common/arc_message_types.h |
+++ b/components/arc/common/arc_message_types.h |
@@ -62,6 +62,18 @@ struct AppInfo { |
std::string activity; |
}; |
+// Mirrors ui::base::Clipboard::ObjectType |
+enum ClipboardDataType : int { |
dcheng
2015/12/04 21:39:38
enum class =)
|
+ TEXT = 0, // Only supports text, for now. |
+ LAST = TEXT |
+}; |
+ |
+// Describes the clipboard content. |
+struct ClipboardData { |
+ ClipboardDataType type; |
+ std::string text; |
+}; |
+ |
} // namespace arc |
#endif // COMPONENTS_ARC_COMMON_MESSAGE_TYPES |