| 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 "platform/graphics/paint/DisplayItem.h" | 5 #include "platform/graphics/paint/DisplayItem.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 struct SameSizeAsDisplayItem { | 9 struct SameSizeAsDisplayItem { |
| 10 virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer. | 10 virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 sb.append("Bottom"); | 65 sb.append("Bottom"); |
| 66 if (type & DisplayItem::TableCollapsedBorderLeft) | 66 if (type & DisplayItem::TableCollapsedBorderLeft) |
| 67 sb.append("Left"); | 67 sb.append("Left"); |
| 68 return sb.toString(); | 68 return sb.toString(); |
| 69 } | 69 } |
| 70 } | 70 } |
| 71 switch (type) { | 71 switch (type) { |
| 72 DEBUG_STRING_CASE(BoxDecorationBackground); | 72 DEBUG_STRING_CASE(BoxDecorationBackground); |
| 73 DEBUG_STRING_CASE(Caret); | 73 DEBUG_STRING_CASE(Caret); |
| 74 DEBUG_STRING_CASE(ColumnRules); | 74 DEBUG_STRING_CASE(ColumnRules); |
| 75 DEBUG_STRING_CASE(DebugDrawing); |
| 75 DEBUG_STRING_CASE(DebugRedFill); | 76 DEBUG_STRING_CASE(DebugRedFill); |
| 76 DEBUG_STRING_CASE(DocumentBackground); | 77 DEBUG_STRING_CASE(DocumentBackground); |
| 77 DEBUG_STRING_CASE(DragImage); | 78 DEBUG_STRING_CASE(DragImage); |
| 78 DEBUG_STRING_CASE(SVGImage); | 79 DEBUG_STRING_CASE(SVGImage); |
| 79 DEBUG_STRING_CASE(LinkHighlight); | 80 DEBUG_STRING_CASE(LinkHighlight); |
| 80 DEBUG_STRING_CASE(ImageAreaFocusRing); | 81 DEBUG_STRING_CASE(ImageAreaFocusRing); |
| 81 DEBUG_STRING_CASE(PageOverlay); | 82 DEBUG_STRING_CASE(PageOverlay); |
| 82 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); | 83 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); |
| 83 DEBUG_STRING_CASE(PopupContainerBorder); | 84 DEBUG_STRING_CASE(PopupContainerBorder); |
| 84 DEBUG_STRING_CASE(PopupListBoxBackground); | 85 DEBUG_STRING_CASE(PopupListBoxBackground); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 stringBuilder.append("\", type: \""); | 254 stringBuilder.append("\", type: \""); |
| 254 stringBuilder.append(typeAsDebugString(getType())); | 255 stringBuilder.append(typeAsDebugString(getType())); |
| 255 stringBuilder.append('"'); | 256 stringBuilder.append('"'); |
| 256 if (m_skippedCache) | 257 if (m_skippedCache) |
| 257 stringBuilder.append(", skippedCache: true"); | 258 stringBuilder.append(", skippedCache: true"); |
| 258 } | 259 } |
| 259 | 260 |
| 260 #endif | 261 #endif |
| 261 | 262 |
| 262 } // namespace blink | 263 } // namespace blink |
| OLD | NEW |