OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "platform/graphics/paint/DisplayItem.h" | 6 #include "platform/graphics/paint/DisplayItem.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 #ifndef NDEBUG | 10 #ifndef NDEBUG |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 switch (type) { | 152 switch (type) { |
153 DEBUG_STRING_CASE(BeginFilter); | 153 DEBUG_STRING_CASE(BeginFilter); |
154 DEBUG_STRING_CASE(EndFilter); | 154 DEBUG_STRING_CASE(EndFilter); |
155 DEBUG_STRING_CASE(BeginCompositing); | 155 DEBUG_STRING_CASE(BeginCompositing); |
156 DEBUG_STRING_CASE(EndCompositing); | 156 DEBUG_STRING_CASE(EndCompositing); |
157 DEBUG_STRING_CASE(BeginTransform); | 157 DEBUG_STRING_CASE(BeginTransform); |
158 DEBUG_STRING_CASE(EndTransform); | 158 DEBUG_STRING_CASE(EndTransform); |
159 DEBUG_STRING_CASE(BeginClipPath); | 159 DEBUG_STRING_CASE(BeginClipPath); |
160 DEBUG_STRING_CASE(EndClipPath); | 160 DEBUG_STRING_CASE(EndClipPath); |
| 161 DEBUG_STRING_CASE(BeginFixedPosition); |
| 162 DEBUG_STRING_CASE(EndFixedPosition); |
| 163 DEBUG_STRING_CASE(BeginFixedPositionContainer); |
| 164 DEBUG_STRING_CASE(EndFixedPositionContainer); |
161 DEFAULT_CASE; | 165 DEFAULT_CASE; |
162 } | 166 } |
163 } | 167 } |
164 | 168 |
165 WTF::String DisplayItem::asDebugString() const | 169 WTF::String DisplayItem::asDebugString() const |
166 { | 170 { |
167 WTF::StringBuilder stringBuilder; | 171 WTF::StringBuilder stringBuilder; |
168 stringBuilder.append('{'); | 172 stringBuilder.append('{'); |
169 dumpPropertiesAsDebugString(stringBuilder); | 173 dumpPropertiesAsDebugString(stringBuilder); |
170 stringBuilder.append('}'); | 174 stringBuilder.append('}'); |
(...skipping 10 matching lines...) Expand all Loading... |
181 stringBuilder.append("\", type: \""); | 185 stringBuilder.append("\", type: \""); |
182 stringBuilder.append(typeAsDebugString(type())); | 186 stringBuilder.append(typeAsDebugString(type())); |
183 stringBuilder.append('"'); | 187 stringBuilder.append('"'); |
184 if (m_id.scopeContainer) | 188 if (m_id.scopeContainer) |
185 stringBuilder.append(String::format(", scope: \"%p,%d\"", m_id.scopeCont
ainer, m_id.scopeId)); | 189 stringBuilder.append(String::format(", scope: \"%p,%d\"", m_id.scopeCont
ainer, m_id.scopeId)); |
186 } | 190 } |
187 | 191 |
188 #endif | 192 #endif |
189 | 193 |
190 } // namespace blink | 194 } // namespace blink |
OLD | NEW |