- virtual bool HasSelection() { return false };
- virtual void SelectAll() {};
- virtual wxString GetSelectedText();
- virtual wxString GetSelectedSource() { return ""; }
+ virtual bool HasSelection() const;
+ virtual void SelectAll();
+ virtual wxString GetSelectedText() const;
+ virtual wxString GetSelectedSource() const;
+ virtual void ClearSelection();
+
+ void RunScript(const wxString& javascript);
+
+ //Virtual Filesystem Support
+ virtual void RegisterHandler(wxSharedPtr<wxWebViewHandler> handler);