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

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

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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 | Annotate | Revision Log
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 virtual void finishParsingChildren(); 45 virtual void finishParsingChildren();
46 46
47 const String& localHref() const { return m_localHref; } 47 const String& localHref() const { return m_localHref; }
48 Result<StyleSheet> sheet() const { return m_sheet; } 48 Result<StyleSheet> sheet() const { return m_sheet; }
49 void setCSSStyleSheet(Handle<CSSStyleSheet>); 49 void setCSSStyleSheet(Handle<CSSStyleSheet>);
50 50
51 bool isCSS() const { return m_isCSS; } 51 bool isCSS() const { return m_isCSS; }
52 bool isXSL() const { return m_isXSL; } 52 bool isXSL() const { return m_isXSL; }
53 53
54 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
55
54 private: 56 private:
55 ProcessingInstruction(Handle<Document>, const String& target, const String& data); 57 ProcessingInstruction(Handle<Document>, const String& target, const String& data);
56 58
57 virtual String nodeName() const; 59 virtual String nodeName() const;
58 virtual NodeType nodeType() const; 60 virtual NodeType nodeType() const;
59 virtual String nodeValue() const; 61 virtual String nodeValue() const;
60 virtual void setNodeValue(const String&, ExceptionCode&); 62 virtual void setNodeValue(const String&, ExceptionCode&);
61 virtual PassRefPtr<Node> cloneNode(bool deep); 63 virtual PassRefPtr<Node> cloneNode(bool deep);
62 virtual bool offsetInCharacters() const; 64 virtual bool offsetInCharacters() const;
63 virtual int maxCharacterOffset() const; 65 virtual int maxCharacterOffset() const;
(...skipping 22 matching lines...) Expand all
86 bool m_loading; 88 bool m_loading;
87 bool m_alternate; 89 bool m_alternate;
88 bool m_createdByParser; 90 bool m_createdByParser;
89 bool m_isCSS; 91 bool m_isCSS;
90 bool m_isXSL; 92 bool m_isXSL;
91 }; 93 };
92 94
93 } //namespace 95 } //namespace
94 96
95 #endif 97 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698