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

Unified Diff: components/arc/common/arc_message_types.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 side-by-side diff with in-line comments
Download patch
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
« components/arc/common/arc_host_messages.h ('K') | « components/arc/common/arc_message_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698