Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser-plugin/scriptable.h
diff options
context:
space:
mode:
authorTommi Komulainen <tko@litl.com>2009-08-25 16:04:59 (GMT)
committer Marco Pesenti Gritti <marcopg@litl.com>2010-07-27 22:04:22 (GMT)
commit84cc52bd4fd197ec4aad845d9b09bcd5b74453d5 (patch)
tree5ac772b302a3c5bcf38e4212d43e8bb7ee39f71e /browser-plugin/scriptable.h
parentaded6eb5272ccb4f9b90ee529bdb014ffaa59031 (diff)
browser-plugin: add clipboard copy support
Only supporting copy, evince doesn't support editing (at least the API is lacking cut and paste) Using property access workaround. Example: if (plugin.canCopy) { plugin.canCopy = 42; (workaround) copy selection to clipboard }
Diffstat (limited to 'browser-plugin/scriptable.h')
-rw-r--r--browser-plugin/scriptable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/browser-plugin/scriptable.h b/browser-plugin/scriptable.h
index cc6ac1c..763ead2 100644
--- a/browser-plugin/scriptable.h
+++ b/browser-plugin/scriptable.h
@@ -94,6 +94,7 @@ class ScriptablePluginObject : public ScriptablePluginObjectBase
private:
NPIdentifier mTitleID;
NPIdentifier mZoomID;
+ NPIdentifier mCanCopyID;
NPIdentifier mMagicWrapperID;
NPIdentifier mZoomInID;