| 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 struct SameSizeAsDisplayItem { | 10 struct SameSizeAsDisplayItem { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 DEBUG_STRING_CASE(ClipLayerBackground); | 133 DEBUG_STRING_CASE(ClipLayerBackground); |
| 134 DEBUG_STRING_CASE(ClipLayerColumnBounds); | 134 DEBUG_STRING_CASE(ClipLayerColumnBounds); |
| 135 DEBUG_STRING_CASE(ClipLayerFilter); | 135 DEBUG_STRING_CASE(ClipLayerFilter); |
| 136 DEBUG_STRING_CASE(ClipLayerForeground); | 136 DEBUG_STRING_CASE(ClipLayerForeground); |
| 137 DEBUG_STRING_CASE(ClipLayerParent); | 137 DEBUG_STRING_CASE(ClipLayerParent); |
| 138 DEBUG_STRING_CASE(ClipLayerOverflowControls); | 138 DEBUG_STRING_CASE(ClipLayerOverflowControls); |
| 139 DEBUG_STRING_CASE(ClipNodeImage); | 139 DEBUG_STRING_CASE(ClipNodeImage); |
| 140 DEBUG_STRING_CASE(ClipPopupListBoxFrame); | 140 DEBUG_STRING_CASE(ClipPopupListBoxFrame); |
| 141 DEBUG_STRING_CASE(ClipSelectionImage); | 141 DEBUG_STRING_CASE(ClipSelectionImage); |
| 142 DEBUG_STRING_CASE(PageWidgetDelegateClip); | 142 DEBUG_STRING_CASE(PageWidgetDelegateClip); |
| 143 DEBUG_STRING_CASE(TransparencyClip); | |
| 144 DEBUG_STRING_CASE(ClipPrintedPage); | 143 DEBUG_STRING_CASE(ClipPrintedPage); |
| 145 DEFAULT_CASE; | 144 DEFAULT_CASE; |
| 146 } | 145 } |
| 147 } | 146 } |
| 148 | 147 |
| 149 static String transform3DTypeAsDebugString(DisplayItem::Type type) | 148 static String transform3DTypeAsDebugString(DisplayItem::Type type) |
| 150 { | 149 { |
| 151 switch (type) { | 150 switch (type) { |
| 152 DEBUG_STRING_CASE(Transform3DElementTransform); | 151 DEBUG_STRING_CASE(Transform3DElementTransform); |
| 153 DEFAULT_CASE; | 152 DEFAULT_CASE; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 stringBuilder.append('"'); | 228 stringBuilder.append('"'); |
| 230 if (m_skippedCache) | 229 if (m_skippedCache) |
| 231 stringBuilder.append(", skippedCache: true"); | 230 stringBuilder.append(", skippedCache: true"); |
| 232 if (m_scope) | 231 if (m_scope) |
| 233 stringBuilder.append(String::format(", scope: %d", m_scope)); | 232 stringBuilder.append(String::format(", scope: %d", m_scope)); |
| 234 } | 233 } |
| 235 | 234 |
| 236 #endif | 235 #endif |
| 237 | 236 |
| 238 } // namespace blink | 237 } // namespace blink |
| OLD | NEW |