Initial work on virtual file system support for the WebKitGTK+ backend. It now supports loading single pages from the VFS system.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-08-03 09:29:30 +00:00
parent 0aeb2e3f9b
commit f2049b6837
2 changed files with 36 additions and 2 deletions

View File

@@ -122,7 +122,8 @@ public:
virtual void RunScript(const wxString& javascript);
//Virtual Filesystem Support
virtual void RegisterHandler(wxWebHandler* WXUNUSED(handler)) {};
virtual void RegisterHandler(wxWebHandler* handler);
virtual wxVector<wxWebHandler*> GetHandlers() { return m_handlerList; }
/** FIXME: hack to work around signals being received too early */
bool m_ready;
@@ -148,6 +149,8 @@ private:
GtkWidget *web_view;
gint m_historyLimit;
wxVector<wxWebHandler*> m_handlerList;
wxDECLARE_DYNAMIC_CLASS(wxWebViewWebKit);
};