diff options
author | Tommi 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) |
commit | 5ff761c012fca4cfc925de1511afca90c08d5d74 (patch) | |
tree | 5de65c9e652cf39c304d6deb96f6bb74d0752331 /browser-plugin/scriptable.h | |
parent | 84cc52bd4fd197ec4aad845d9b09bcd5b74453d5 (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.h | 1 |
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; |