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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(DebugDrawing); |
76 DEBUG_STRING_CASE(DebugRedFill); | |
77 DEBUG_STRING_CASE(DocumentBackground); | 76 DEBUG_STRING_CASE(DocumentBackground); |
78 DEBUG_STRING_CASE(DragImage); | 77 DEBUG_STRING_CASE(DragImage); |
79 DEBUG_STRING_CASE(SVGImage); | 78 DEBUG_STRING_CASE(SVGImage); |
80 DEBUG_STRING_CASE(LinkHighlight); | 79 DEBUG_STRING_CASE(LinkHighlight); |
81 DEBUG_STRING_CASE(ImageAreaFocusRing); | 80 DEBUG_STRING_CASE(ImageAreaFocusRing); |
82 DEBUG_STRING_CASE(PageOverlay); | 81 DEBUG_STRING_CASE(PageOverlay); |
83 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); | 82 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); |
84 DEBUG_STRING_CASE(PopupContainerBorder); | 83 DEBUG_STRING_CASE(PopupContainerBorder); |
85 DEBUG_STRING_CASE(PopupListBoxBackground); | 84 DEBUG_STRING_CASE(PopupListBoxBackground); |
86 DEBUG_STRING_CASE(PopupListBoxRow); | 85 DEBUG_STRING_CASE(PopupListBoxRow); |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 stringBuilder.append("\", type: \""); | 252 stringBuilder.append("\", type: \""); |
254 stringBuilder.append(typeAsDebugString(getType())); | 253 stringBuilder.append(typeAsDebugString(getType())); |
255 stringBuilder.append('"'); | 254 stringBuilder.append('"'); |
256 if (m_skippedCache) | 255 if (m_skippedCache) |
257 stringBuilder.append(", skippedCache: true"); | 256 stringBuilder.append(", skippedCache: true"); |
258 } | 257 } |
259 | 258 |
260 #endif | 259 #endif |
261 | 260 |
262 } // namespace blink | 261 } // namespace blink |
OLD | NEW |