From b010a257712b3d104035cbfc15aba8f517ffacb5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 4 Jun 2010 09:35:08 +0000 Subject: + Refactor input handling from browser window code into content handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561 --- riscos/menus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'riscos/menus.c') diff --git a/riscos/menus.c b/riscos/menus.c index c2915349f..da0a686ad 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -34,12 +34,14 @@ #include "content/content.h" #include "content/hlcache.h" #include "content/urldb.h" +#include "desktop/browser.h" #include "desktop/gui.h" #include "desktop/history_core.h" #include "desktop/netsurf.h" #include "desktop/selection.h" #include "desktop/textinput.h" #include "render/box.h" +#include "render/form.h" #include "riscos/dialog.h" #include "render/form.h" #include "riscos/configure.h" @@ -710,7 +712,7 @@ void ro_gui_menu_selection(wimp_selection *selection) assert(g); if (selection->items[0] >= 0) { - browser_window_form_select(g->bw, + form_select_process_selection(g->bw->current_content, gui_form_select_control, selection->items[0]); } -- cgit v1.2.3