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

Side by Side Diff: Source/core/dom/ProcessingInstruction.cpp

Issue 1167583003: Move Resource subclasses out of fetch/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/ProcessingInstruction.h ('k') | Source/core/dom/ScriptLoader.h » ('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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 #include "core/dom/ProcessingInstruction.h" 22 #include "core/dom/ProcessingInstruction.h"
23 23
24 #include "core/css/CSSStyleSheet.h" 24 #include "core/css/CSSStyleSheet.h"
25 #include "core/css/CSSStyleSheetResource.h"
25 #include "core/css/MediaList.h" 26 #include "core/css/MediaList.h"
26 #include "core/css/StyleSheetContents.h" 27 #include "core/css/StyleSheetContents.h"
27 #include "core/dom/Document.h" 28 #include "core/dom/Document.h"
28 #include "core/dom/IncrementLoadEventDelayCount.h" 29 #include "core/dom/IncrementLoadEventDelayCount.h"
29 #include "core/dom/StyleEngine.h" 30 #include "core/dom/StyleEngine.h"
30 #include "core/fetch/CSSStyleSheetResource.h"
31 #include "core/fetch/FetchInitiatorTypeNames.h" 31 #include "core/fetch/FetchInitiatorTypeNames.h"
32 #include "core/fetch/FetchRequest.h" 32 #include "core/fetch/FetchRequest.h"
33 #include "core/fetch/ResourceFetcher.h" 33 #include "core/fetch/ResourceFetcher.h"
34 #include "core/fetch/XSLStyleSheetResource.h"
35 #include "core/xml/DocumentXSLT.h" 34 #include "core/xml/DocumentXSLT.h"
36 #include "core/xml/XSLStyleSheet.h" 35 #include "core/xml/XSLStyleSheet.h"
36 #include "core/xml/XSLStyleSheetResource.h"
37 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes() 37 #include "core/xml/parser/XMLDocumentParser.h" // for parseAttributes()
38 38
39 namespace blink { 39 namespace blink {
40 40
41 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St ring& target, const String& data) 41 inline ProcessingInstruction::ProcessingInstruction(Document& document, const St ring& target, const String& data)
42 : CharacterData(document, data, CreateOther) 42 : CharacterData(document, data, CreateOther)
43 , m_target(target) 43 , m_target(target)
44 , m_loading(false) 44 , m_loading(false)
45 , m_alternate(false) 45 , m_alternate(false)
46 , m_createdByParser(false) 46 , m_createdByParser(false)
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 m_sheet.release()->clearOwnerNode(); 315 m_sheet.release()->clearOwnerNode();
316 } 316 }
317 317
318 DEFINE_TRACE(ProcessingInstruction) 318 DEFINE_TRACE(ProcessingInstruction)
319 { 319 {
320 visitor->trace(m_sheet); 320 visitor->trace(m_sheet);
321 CharacterData::trace(visitor); 321 CharacterData::trace(visitor);
322 } 322 }
323 323
324 } // namespace 324 } // namespace
OLDNEW
« no previous file with comments | « Source/core/dom/ProcessingInstruction.h ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698