From 5ff761c012fca4cfc925de1511afca90c08d5d74 Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Tue, 25 Aug 2009 17:15:03 +0000 Subject: 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 --- (limited to 'browser-plugin/scriptable.h') 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; -- cgit v0.9.1