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

Side by Side Diff: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h

Issue 2235733004: Track parse time blocked on script in xml documents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool m_isXHTMLDocument; 181 bool m_isXHTMLDocument;
182 bool m_parserPaused; 182 bool m_parserPaused;
183 bool m_requestingScript; 183 bool m_requestingScript;
184 bool m_finishCalled; 184 bool m_finishCalled;
185 185
186 XMLErrors m_xmlErrors; 186 XMLErrors m_xmlErrors;
187 187
188 Member<ScriptResource> m_pendingScript; 188 Member<ScriptResource> m_pendingScript;
189 Member<Element> m_scriptElement; 189 Member<Element> m_scriptElement;
190 TextPosition m_scriptStartPosition; 190 TextPosition m_scriptStartPosition;
191 double m_parserBlockingPendingScriptLoadStartTime;
191 192
192 bool m_parsingFragment; 193 bool m_parsingFragment;
193 AtomicString m_defaultNamespaceURI; 194 AtomicString m_defaultNamespaceURI;
194 195
195 typedef HashMap<AtomicString, AtomicString> PrefixForNamespaceMap; 196 typedef HashMap<AtomicString, AtomicString> PrefixForNamespaceMap;
196 PrefixForNamespaceMap m_prefixToNamespaceMap; 197 PrefixForNamespaceMap m_prefixToNamespaceMap;
197 SegmentedString m_pendingSrc; 198 SegmentedString m_pendingSrc;
198 }; 199 };
199 200
200 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url) ; 201 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url) ;
201 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); 202 HashMap<String, String> parseAttributes(const String&, bool& attrsOK);
202 203
203 } // namespace blink 204 } // namespace blink
204 205
205 #endif // XMLDocumentParser_h 206 #endif // XMLDocumentParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698