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 17:15:03 (GMT)
committer Marco Pesenti Gritti <marcopg@litl.com>2010-07-27 22:04:23 (GMT)
commit5ff761c012fca4cfc925de1511afca90c08d5d74 (patch)
tree5de65c9e652cf39c304d6deb96f6bb74d0752331 /browser-plugin/scriptable.h
parent84cc52bd4fd197ec4aad845d9b09bcd5b74453d5 (diff)
browser-plugin: implement search
Changed the API to be better match for find as you type. Using property access workaround. Example: plugin.findTerms = "hello"; begin searching and highlights all matches in the document plugin.findNext = 42; (workaround) jump to next match plugin.findPrevious = 42; (workaround) jump to previous match
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 763ead2..f534149 100644
--- a/browser-plugin/scriptable.h
+++ b/browser-plugin/scriptable.h
@@ -99,6 +99,7 @@ class ScriptablePluginObject : public ScriptablePluginObjectBase
NPIdentifier mZoomInID;
NPIdentifier mZoomOutID;
+ NPIdentifier mFindTermsID;
NPIdentifier mFindPreviousID;
NPIdentifier mFindNextID;