diff options
Diffstat (limited to 'WebKit/wx/WebFrame.h')
-rw-r--r-- | WebKit/wx/WebFrame.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/WebKit/wx/WebFrame.h b/WebKit/wx/WebFrame.h index bd4bdb0..95a0691 100644 --- a/WebKit/wx/WebFrame.h +++ b/WebKit/wx/WebFrame.h @@ -33,6 +33,8 @@ #include "wx/wx.h" #endif +#include "WebKitDefines.h" + class WebFramePrivate; class WebViewFrameData; class wxWebView; @@ -44,20 +46,6 @@ namespace WebCore { class Frame; } -#ifndef SWIG - -#if !wxCHECK_VERSION(2,9,0) && wxCHECK_GCC_VERSION(4,0) -#define WXDLLIMPEXP_WEBKIT __attribute__ ((visibility("default"))) -#elif WXMAKINGDLL_WEBKIT -#define WXDLLIMPEXP_WEBKIT WXEXPORT -#elif defined(WXUSINGDLL_WEBKIT) -#define WXDLLIMPEXP_WEBKIT WXIMPORT -#endif - -#else -#define WXDLLIMPEXP_WEBKIT -#endif // SWIG - class WXDLLIMPEXP_WEBKIT wxWebViewDOMElementInfo { public: @@ -89,6 +77,9 @@ private: wxString m_link; }; +// based on enums in WebCore/dom/Document.h +enum wxWebKitParseMode { Compat, AlmostStrict, Strict, NoDocument }; + class WXDLLIMPEXP_WEBKIT wxWebFrame { // ChromeClientWx needs to get the Page* stored by the wxWebView @@ -153,6 +144,8 @@ public: bool ShouldClose() const; + wxWebKitParseMode GetParseMode() const; + private: float m_textMagnifier; bool m_isEditable; |