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

Side by Side Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.h

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 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,
(...skipping 27 matching lines...) Expand all
38 public: 38 public:
39 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data); 39 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
40 ~ProcessingInstruction() override; 40 ~ProcessingInstruction() override;
41 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
42 42
43 const String& target() const { return m_target; } 43 const String& target() const { return m_target; }
44 44
45 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB yParser; } 45 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB yParser; }
46 46
47 const String& localHref() const { return m_localHref; } 47 const String& localHref() const { return m_localHref; }
48 StyleSheet* sheet() const { return m_sheet.get(); } 48 StyleSheet* sheet() const;
49 49
50 bool isCSS() const { return m_isCSS; } 50 bool isCSS() const { return m_isCSS; }
51 bool isXSL() const { return m_isXSL; } 51 bool isXSL() const { return m_isXSL; }
52 52
53 void didAttributeChanged(); 53 void didAttributeChanged();
54 bool isLoading() const; 54 bool isLoading() const;
55 55
56 // For XSLT 56 // For XSLT
57 class DetachableEventListener : public WillBeGarbageCollectedMixin { 57 class DetachableEventListener : public WillBeGarbageCollectedMixin {
58 public: 58 public:
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE); 117 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE);
118 118
119 inline bool isXSLStyleSheet(const Node& node) 119 inline bool isXSLStyleSheet(const Node& node)
120 { 120 {
121 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL(); 121 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL();
122 } 122 }
123 123
124 } // namespace blink 124 } // namespace blink
125 125
126 #endif // ProcessingInstruction_h 126 #endif // ProcessingInstruction_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.cpp ('k') | third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698