Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: Source/core/dom/DOMImplementation.h

Issue 237583016: Remove some dead code in dom/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DOMException.cpp ('k') | Source/core/dom/DOMImplementation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void ref() { m_document.ref(); } 48 void ref() { m_document.ref(); }
49 void deref() { m_document.deref(); } 49 void deref() { m_document.deref(); }
50 Document& document() const { return m_document; } 50 Document& document() const { return m_document; }
51 51
52 // DOM methods & attributes for DOMImplementation 52 // DOM methods & attributes for DOMImplementation
53 static bool hasFeature(const String& feature, const String& version); 53 static bool hasFeature(const String& feature, const String& version);
54 bool hasFeatureForBindings(const String& feature, const String& version); 54 bool hasFeatureForBindings(const String& feature, const String& version);
55 PassRefPtr<DocumentType> createDocumentType(const AtomicString& qualifiedNam e, const String& publicId, const String& systemId, ExceptionState&); 55 PassRefPtr<DocumentType> createDocumentType(const AtomicString& qualifiedNam e, const String& publicId, const String& systemId, ExceptionState&);
56 PassRefPtr<XMLDocument> createDocument(const AtomicString& namespaceURI, con st AtomicString& qualifiedName, DocumentType*, ExceptionState&); 56 PassRefPtr<XMLDocument> createDocument(const AtomicString& namespaceURI, con st AtomicString& qualifiedName, DocumentType*, ExceptionState&);
57 57
58 DOMImplementation* getInterface(const String& feature);
59
60 // From the HTMLDOMImplementation interface 58 // From the HTMLDOMImplementation interface
61 PassRefPtr<HTMLDocument> createHTMLDocument(const String& title); 59 PassRefPtr<HTMLDocument> createHTMLDocument(const String& title);
62 60
63 // Other methods (not part of DOM) 61 // Other methods (not part of DOM)
64 static PassRefPtr<Document> createDocument(const String& mimeType, LocalFram e*, const KURL&, bool inViewSourceMode); 62 static PassRefPtr<Document> createDocument(const String& mimeType, LocalFram e*, const KURL&, bool inViewSourceMode);
65 static PassRefPtr<Document> createDocument(const String& mimeType, const Doc umentInit&, bool inViewSourceMode); 63 static PassRefPtr<Document> createDocument(const String& mimeType, const Doc umentInit&, bool inViewSourceMode);
66 64
67 static bool isXMLMIMEType(const String&); 65 static bool isXMLMIMEType(const String&);
68 static bool isTextMIMEType(const String&); 66 static bool isTextMIMEType(const String&);
69 static bool isJSONMIMEType(const String&); 67 static bool isJSONMIMEType(const String&);
70 68
71 private: 69 private:
72 explicit DOMImplementation(Document&); 70 explicit DOMImplementation(Document&);
73 71
74 Document& m_document; 72 Document& m_document;
75 }; 73 };
76 74
77 } // namespace WebCore 75 } // namespace WebCore
78 76
79 #endif 77 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/DOMException.cpp ('k') | Source/core/dom/DOMImplementation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698