#include "wx/setup.h"
-#if wxUSE_WEBVIEW_WEBKIT
+#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
#include "webkit/webkit.h"
#include "wx/sharedptr.h"
virtual wxString GetCurrentURL();
virtual wxString GetCurrentTitle();
virtual wxString GetPageSource();
+ virtual wxString GetPageText();
+ //We do not want to hide the other overloads
+ using wxWebView::SetPage;
virtual void SetPage(const wxString& html, const wxString& baseUrl);
virtual void Print();
virtual bool IsBusy();
virtual wxWebViewZoom GetZoom();
virtual void SetZoom(wxWebViewZoom);
-
+ //Clipboard functions
+ virtual bool CanCut();
+ virtual bool CanCopy();
+ virtual bool CanPaste();
+ virtual void Cut();
+ virtual void Copy();
+ virtual void Paste();
+
+ //Undo / redo functionality
+ virtual bool CanUndo();
+ virtual bool CanRedo();
+ virtual void Undo();
+ virtual void Redo();
+
+ //Editing functions
+ virtual void SetEditable(bool enable = true);
+ virtual bool IsEditable();
+
+ //Selection
+ virtual void DeleteSelection();
+ virtual bool HasSelection();
+ virtual void SelectAll();
+ virtual wxString GetSelectedText();
+ virtual wxString GetSelectedSource();
+ virtual void ClearSelection();
+
+ virtual void RunScript(const wxString& javascript);
+
+ //Virtual Filesystem Support
+ virtual void RegisterProtocol(wxWebProtocolHandler* hanlder);
/** FIXME: hack to work around signals being received too early */
bool m_ready;