Index: Source/WebCore/dom/DOMImplementation.h |
=================================================================== |
--- Source/WebCore/dom/DOMImplementation.h (revision 97019) |
+++ Source/WebCore/dom/DOMImplementation.h (working copy) |
@@ -37,6 +37,7 @@ |
class Frame; |
class HTMLDocument; |
class KURL; |
+class RegularExpression; |
typedef int ExceptionCode; |
@@ -73,6 +74,18 @@ |
Document* m_document; |
}; |
+class XMLMIMETypeRegExp { |
+public: |
+ XMLMIMETypeRegExp(); |
+ ~XMLMIMETypeRegExp(); |
+ bool isXMLMIMEType(const String& mimeType); |
+ |
+ WTF_MAKE_NONCOPYABLE(XMLMIMETypeRegExp); |
+private: |
+ OwnPtr<RegularExpression> m_regex; |
+}; |
+ |
+ |
} // namespace WebCore |
#endif |