diff options
author | Tommi Komulainen <tko@litl.com> | 2009-08-26 11:25:19 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marcopg@litl.com> | 2010-07-27 22:04:23 (GMT) |
commit | 6a0208341897847720395a42beedbaf77836a316 (patch) | |
tree | f702879f64195c55dfc8da0c8ffa99bc8043ee22 /browser-plugin/plugin.h | |
parent | 5ff761c012fca4cfc925de1511afca90c08d5d74 (diff) |
browser-plugin: notify browser when find comes up empty
Example:
plugin.magicWrapper = {
onFindChanged : function() {
if (plugin.canFindOnPage) { ... }
}
}
Diffstat (limited to 'browser-plugin/plugin.h')
-rw-r--r-- | browser-plugin/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/browser-plugin/plugin.h b/browser-plugin/plugin.h index 96089ba..3f4ba03 100644 --- a/browser-plugin/plugin.h +++ b/browser-plugin/plugin.h @@ -46,6 +46,7 @@ class Plugin { private: void UpdateSizingMode (); + void UpdateActions (); void ClearLoadJob (); void ClearFindJob (); @@ -78,6 +79,7 @@ class Plugin { public: char *mTitle; bool mHasSelection; + bool mCanFindOnPage; }; void* NPN_MemDup (const void *aMem, uint32 aLen); |