Add RunScript and implement on all backends. Document and add a very simple unit test.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-15 12:38:47 +00:00
parent 41933aa5a0
commit c9ccc09c64
9 changed files with 45 additions and 34 deletions

View File

@@ -110,10 +110,10 @@ public:
virtual wxString GetSelectedText();
virtual wxString GetSelectedSource() { return ""; }
virtual void ClearSelection() {}
void RunScript(const wxString& javascript);
// ---- methods not from the parent (common) interface
wxString RunScript(const wxString& javascript);
bool CanGetPageSource();
void SetScrollPos(int pos);