| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(PassRefPtr<StringImpl>) 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 bool hasLineNumber() const override; |
| 116 virtual OrdinalNumber lineNumber() const override; | 117 virtual OrdinalNumber lineNumber() const override; |
| 117 OrdinalNumber columnNumber() const; | 118 OrdinalNumber columnNumber() const; |
| 118 | 119 |
| 119 // from ResourceClient | 120 // from ResourceClient |
| 120 virtual void notifyFinished(Resource*) override; | 121 virtual void notifyFinished(Resource*) override; |
| 121 | 122 |
| 122 void end(); | 123 void end(); |
| 123 | 124 |
| 124 void pauseParsing(); | 125 void pauseParsing(); |
| 125 void resumeParsing(); | 126 void resumeParsing(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 PrefixForNamespaceMap m_prefixToNamespaceMap; | 193 PrefixForNamespaceMap m_prefixToNamespaceMap; |
| 193 SegmentedString m_pendingSrc; | 194 SegmentedString m_pendingSrc; |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 xmlDocPtr xmlDocPtrForString(ResourceFetcher*, const String& source, const Strin
g& url); | 197 xmlDocPtr xmlDocPtrForString(ResourceFetcher*, const String& source, const Strin
g& url); |
| 197 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 198 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); |
| 198 | 199 |
| 199 } // namespace blink | 200 } // namespace blink |
| 200 | 201 |
| 201 #endif // XMLDocumentParser_h | 202 #endif // XMLDocumentParser_h |
| OLD | NEW |