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

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

Issue 1210073004: Remove some unused code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/ProcessingInstruction.cpp » ('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 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 28 matching lines...) Expand all
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 virtual ~ProcessingInstruction(); 40 virtual ~ProcessingInstruction();
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 { return m_sheet.get(); }
49 void setCSSStyleSheet(PassRefPtrWillBeRawPtr<CSSStyleSheet>);
50 49
51 bool isCSS() const { return m_isCSS; } 50 bool isCSS() const { return m_isCSS; }
52 bool isXSL() const { return m_isXSL; } 51 bool isXSL() const { return m_isXSL; }
53 52
54 void didAttributeChanged(); 53 void didAttributeChanged();
55 bool isLoading() const; 54 bool isLoading() const;
56 55
57 // For XSLT 56 // For XSLT
58 class DetachableEventListener { 57 class DetachableEventListener {
59 public: 58 public:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE); 113 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE);
115 114
116 inline bool isXSLStyleSheet(const Node& node) 115 inline bool isXSLStyleSheet(const Node& node)
117 { 116 {
118 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL(); 117 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL();
119 } 118 }
120 119
121 } // namespace blink 120 } // namespace blink
122 121
123 #endif // ProcessingInstruction_h 122 #endif // ProcessingInstruction_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698