diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-08-13 00:55:59 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-08-13 00:55:59 +0000 |
commit | d7627cecebad4abb64840561d7afa46a62e1dd6d (patch) | |
tree | e33a8ec56ebc5463dd5bfb8e60b9a898f72e4c24 /riscos/gui.c | |
parent | 0a93f2d264080b8c0c748cbe0477123a3eb4b62d (diff) | |
download | netsurf-d7627cecebad4abb64840561d7afa46a62e1dd6d.tar.gz netsurf-d7627cecebad4abb64840561d7afa46a62e1dd6d.tar.bz2 |
[project @ 2004-08-13 00:55:59 by jmb]
Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality.
Note: This is now configurable via an option (defaults to OFF)
This has only really been tested with the Flash plugin and seems to work reasonably.
svn path=/import/netsurf/; revision=1216
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 5cda9a0ee..82cc07f49 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -1001,24 +1001,47 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message) #endif #ifdef WITH_PLUGIN case message_PLUG_IN_OPENING: + plugin_opening(message); + break; case message_PLUG_IN_CLOSED: + plugin_closed(message); + break; case message_PLUG_IN_RESHAPE_REQUEST: + plugin_reshape_request(message); + break; case message_PLUG_IN_FOCUS: + break; case message_PLUG_IN_URL_ACCESS: + plugin_url_access(message); + break; case message_PLUG_IN_STATUS: + plugin_status(message); + break; case message_PLUG_IN_BUSY: + break; case message_PLUG_IN_STREAM_NEW: + plugin_stream_new(message); + break; case message_PLUG_IN_STREAM_WRITE: + break; case message_PLUG_IN_STREAM_WRITTEN: + plugin_stream_written(message); + break; case message_PLUG_IN_STREAM_DESTROY: + break; case message_PLUG_IN_OPEN: + if (event == wimp_USER_MESSAGE_ACKNOWLEDGE) + plugin_open_msg(message); + break; case message_PLUG_IN_CLOSE: + if (event == wimp_USER_MESSAGE_ACKNOWLEDGE) + plugin_close_msg(message); + break; case message_PLUG_IN_RESHAPE: case message_PLUG_IN_STREAM_AS_FILE: case message_PLUG_IN_NOTIFY: case message_PLUG_IN_ABORT: case message_PLUG_IN_ACTION: - plugin_msg_parse(message, event == wimp_USER_MESSAGE_ACKNOWLEDGE); break; #endif #ifdef WITH_PRINT |