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

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

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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) 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,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 } 75 }
76 76
77 String ProcessingInstruction::nodeName() const 77 String ProcessingInstruction::nodeName() const
78 { 78 {
79 return m_target; 79 return m_target;
80 } 80 }
81 81
82 Node::NodeType ProcessingInstruction::getNodeType() const 82 Node::NodeType ProcessingInstruction::getNodeType() const
83 { 83 {
84 return PROCESSING_INSTRUCTION_NODE; 84 return kProcessingInstructionNode;
85 } 85 }
86 86
87 Node* ProcessingInstruction::cloneNode(bool /*deep*/) 87 Node* ProcessingInstruction::cloneNode(bool /*deep*/)
88 { 88 {
89 // FIXME: Is it a problem that this does not copy m_localHref? 89 // FIXME: Is it a problem that this does not copy m_localHref?
90 // What about other data members? 90 // What about other data members?
91 return create(document(), m_target, m_data); 91 return create(document(), m_target, m_data);
92 } 92 }
93 93
94 void ProcessingInstruction::didAttributeChanged() 94 void ProcessingInstruction::didAttributeChanged()
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 DEFINE_TRACE(ProcessingInstruction) 298 DEFINE_TRACE(ProcessingInstruction)
299 { 299 {
300 visitor->trace(m_sheet); 300 visitor->trace(m_sheet);
301 visitor->trace(m_listenerForXSLT); 301 visitor->trace(m_listenerForXSLT);
302 CharacterData::trace(visitor); 302 CharacterData::trace(visitor);
303 ResourceOwner<StyleSheetResource>::trace(visitor); 303 ResourceOwner<StyleSheetResource>::trace(visitor);
304 } 304 }
305 305
306 } // namespace blink 306 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ProcessingInstruction.h ('k') | third_party/WebKit/Source/core/dom/Range.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698