Commit Graph

4 Commits

Author SHA1 Message Date
Michael Drake
3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
1625022882 Cocoa changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12648
2011-08-24 12:32:13 +00:00
Sven Weidauer
66b9d5476e Implemented search window.
svn path=/trunk/netsurf/; revision=11563
2011-01-31 15:13:38 +00:00