]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/webview.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / webview.h
index 4173f2e2f90941143159f4df67097d206ecd1fb7..050c31953e5092a42a0742984cf640021f7cde19 100644 (file)
@@ -68,6 +68,16 @@ enum wxWebViewReloadFlags
     wxWEB_VIEW_RELOAD_NO_CACHE
 };
 
+enum wxWebViewFindFlags
+{
+    wxWEB_VIEW_FIND_WRAP =             0x0001,
+    wxWEB_VIEW_FIND_ENTIRE_WORD =      0x0002,
+    wxWEB_VIEW_FIND_MATCH_CASE =       0x0004,
+    wxWEB_VIEW_FIND_HIGHLIGHT_RESULT = 0x0008,
+    wxWEB_VIEW_FIND_BACKWARDS =        0x0010,
+    wxWEB_VIEW_FIND_DEFAULT =          0
+};
+
 enum wxWebViewBackend
 {
     wxWEB_VIEW_BACKEND_DEFAULT,
@@ -179,6 +189,11 @@ public:
     virtual void Undo() = 0;
     virtual void Redo() = 0;
 
+    //Get the pointer to the underlying native engine.
+    virtual void* GetNativeBackend() const = 0;
+    //Find function
+    virtual long Find(const wxString& text, int flags = wxWEB_VIEW_FIND_DEFAULT) = 0;
+
 protected:
     virtual void DoSetPage(const wxString& html, const wxString& baseUrl) = 0;