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

Unified Diff: components/arc/common/arc_message_traits.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_traits.h
diff --git a/components/arc/common/arc_message_traits.h b/components/arc/common/arc_message_traits.h
index 24c9e36c1b6257a685d70c629f87ea549e0e7b30..8749a0351fabb1e76c84a7d807e3944f52273790 100644
--- a/components/arc/common/arc_message_traits.h
+++ b/components/arc/common/arc_message_traits.h
@@ -39,3 +39,11 @@ IPC_STRUCT_TRAITS_END()
// Enum for notification event types.
IPC_ENUM_TRAITS_MAX_VALUE(arc::ArcNotificationEvent,
arc::ArcNotificationEvent::LAST)
+
+IPC_ENUM_TRAITS_MAX_VALUE(arc::ClipboardDataType,
+ arc::ClipboardDataType::LAST)
+
+IPC_STRUCT_TRAITS_BEGIN(arc::ClipboardData)
+ IPC_STRUCT_TRAITS_MEMBER(type)
+ IPC_STRUCT_TRAITS_MEMBER(text)
+IPC_STRUCT_TRAITS_END()

Powered by Google App Engine
This is Rietveld 408576698