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