summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/npapi/bindings/npapi_extensions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h
index 011628e..2e18a6a 100644
--- a/third_party/npapi/bindings/npapi_extensions.h
+++ b/third_party/npapi/bindings/npapi_extensions.h
@@ -116,10 +116,17 @@ typedef NPDevice* (*NPAcquireDevicePtr)(
NPP instance,
NPDeviceID device);
+/* Copy UTF-8 string into clipboard */
+typedef void (*NPCopyTextToClipboardPtr)(
+ NPP instance,
+ const char* content);
+
/* Pepper extensions */
struct NPExtensions {
/* Device interface acquisition */
NPAcquireDevicePtr acquireDevice;
+ /* Clipboard functionality */
+ NPCopyTextToClipboardPtr copyTextToClipboard;
};
/* Events -------------------------------------------------------------------*/