OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual ~PendingCallback() { } | 101 virtual ~PendingCallback() { } |
102 virtual void call(XMLDocumentParser*) = 0; | 102 virtual void call(XMLDocumentParser*) = 0; |
103 }; | 103 }; |
104 | 104 |
105 private: | 105 private: |
106 explicit XMLDocumentParser(Document&, FrameView* = 0); | 106 explicit XMLDocumentParser(Document&, FrameView* = 0); |
107 XMLDocumentParser(DocumentFragment*, Element*, ParserContentPolicy); | 107 XMLDocumentParser(DocumentFragment*, Element*, ParserContentPolicy); |
108 | 108 |
109 // From DocumentParser | 109 // From DocumentParser |
110 virtual void insert(const SegmentedString&) override; | 110 virtual void insert(const SegmentedString&) override; |
111 virtual void append(PassRefPtr<StringImpl>) override; | 111 virtual void append(const String&) override; |
112 virtual void finish() override; | 112 virtual void finish() override; |
113 virtual bool isWaitingForScripts() const override; | 113 virtual bool isWaitingForScripts() const override; |
114 virtual void stopParsing() override; | 114 virtual void stopParsing() override; |
115 virtual void detach() override; | 115 virtual void detach() override; |
116 virtual OrdinalNumber lineNumber() const override; | 116 virtual OrdinalNumber lineNumber() const override; |
117 OrdinalNumber columnNumber() const; | 117 OrdinalNumber columnNumber() const; |
118 | 118 |
119 // from ResourceClient | 119 // from ResourceClient |
120 virtual void notifyFinished(Resource*) override; | 120 virtual void notifyFinished(Resource*) override; |
121 | 121 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 PrefixForNamespaceMap m_prefixToNamespaceMap; | 192 PrefixForNamespaceMap m_prefixToNamespaceMap; |
193 SegmentedString m_pendingSrc; | 193 SegmentedString m_pendingSrc; |
194 }; | 194 }; |
195 | 195 |
196 xmlDocPtr xmlDocPtrForString(ResourceFetcher*, const String& source, const Strin
g& url); | 196 xmlDocPtr xmlDocPtrForString(ResourceFetcher*, const String& source, const Strin
g& url); |
197 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 197 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
200 | 200 |
201 #endif // XMLDocumentParser_h | 201 #endif // XMLDocumentParser_h |
OLD | NEW |