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

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

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 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Member<StyleSheet> m_sheet; 97 Member<StyleSheet> m_sheet;
98 StyleEngineContext m_styleEngineContext; 98 StyleEngineContext m_styleEngineContext;
99 bool m_loading; 99 bool m_loading;
100 bool m_alternate; 100 bool m_alternate;
101 bool m_isCSS; 101 bool m_isCSS;
102 bool m_isXSL; 102 bool m_isXSL;
103 103
104 Member<DetachableEventListener> m_listenerForXSLT; 104 Member<DetachableEventListener> m_listenerForXSLT;
105 }; 105 };
106 106
107 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::PROCESSING_ INSTRUCTION_NODE); 107 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::kProcessing InstructionNode);
108 108
109 inline bool isXSLStyleSheet(const Node& node) 109 inline bool isXSLStyleSheet(const Node& node)
110 { 110 {
111 return node.getNodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessi ngInstruction(node).isXSL(); 111 return node.getNodeType() == Node::kProcessingInstructionNode && toProcessin gInstruction(node).isXSL();
112 } 112 }
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif // ProcessingInstruction_h 116 #endif // ProcessingInstruction_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeIteratorBase.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