Move the wxWebFileProtocolHandler from the IE backend to the common source, add the RegisterProtocol method to all classes (as a stub in GTK and OSX). Register the file protocol handler in the sample for testing purposes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-28 16:49:48 +00:00
parent 293656292f
commit eff8f7952e
7 changed files with 125 additions and 110 deletions

View File

@@ -115,6 +115,9 @@ public:
virtual void ClearSelection() {}
void RunScript(const wxString& javascript);
//Virtual Filesystem Support
virtual void RegisterProtocol(wxWebProtocolHandler* hanlder) {};
// ---- methods not from the parent (common) interface
bool CanGetPageSource();