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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 DEBUG_STRING_CASE(ScrollbarBackTrack); | 115 DEBUG_STRING_CASE(ScrollbarBackTrack); |
116 DEBUG_STRING_CASE(ScrollbarCorner); | 116 DEBUG_STRING_CASE(ScrollbarCorner); |
117 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); | 117 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); |
118 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); | 118 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); |
119 DEBUG_STRING_CASE(ScrollbarForwardTrack); | 119 DEBUG_STRING_CASE(ScrollbarForwardTrack); |
120 DEBUG_STRING_CASE(ScrollbarThumb); | 120 DEBUG_STRING_CASE(ScrollbarThumb); |
121 DEBUG_STRING_CASE(ScrollbarTickmarks); | 121 DEBUG_STRING_CASE(ScrollbarTickmarks); |
122 DEBUG_STRING_CASE(ScrollbarTrackBackground); | 122 DEBUG_STRING_CASE(ScrollbarTrackBackground); |
123 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); | 123 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); |
124 DEBUG_STRING_CASE(SelectionTint); | 124 DEBUG_STRING_CASE(SelectionTint); |
125 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup); | |
126 DEBUG_STRING_CASE(TableCellBackgroundFromColumn); | |
127 DEBUG_STRING_CASE(TableCellBackgroundFromSection); | |
128 DEBUG_STRING_CASE(TableCellBackgroundFromRow); | |
129 DEBUG_STRING_CASE(TableSectionBoxShadowInset); | |
130 DEBUG_STRING_CASE(TableSectionBoxShadowNormal); | |
131 DEBUG_STRING_CASE(TableRowBoxShadowInset); | |
132 DEBUG_STRING_CASE(TableRowBoxShadowNormal); | |
133 DEBUG_STRING_CASE(VideoBitmap); | 125 DEBUG_STRING_CASE(VideoBitmap); |
134 DEBUG_STRING_CASE(WebPlugin); | 126 DEBUG_STRING_CASE(WebPlugin); |
135 DEBUG_STRING_CASE(WebFont); | 127 DEBUG_STRING_CASE(WebFont); |
136 DEBUG_STRING_CASE(ReflectionMask); | 128 DEBUG_STRING_CASE(ReflectionMask); |
137 | 129 |
138 DEFAULT_CASE; | 130 DEFAULT_CASE; |
139 } | 131 } |
140 } | 132 } |
141 | 133 |
142 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) { | 134 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 stringBuilder.append("\", type: \""); | 253 stringBuilder.append("\", type: \""); |
262 stringBuilder.append(typeAsDebugString(getType())); | 254 stringBuilder.append(typeAsDebugString(getType())); |
263 stringBuilder.append('"'); | 255 stringBuilder.append('"'); |
264 if (m_skippedCache) | 256 if (m_skippedCache) |
265 stringBuilder.append(", skippedCache: true"); | 257 stringBuilder.append(", skippedCache: true"); |
266 } | 258 } |
267 | 259 |
268 #endif | 260 #endif |
269 | 261 |
270 } // namespace blink | 262 } // namespace blink |
OLD | NEW |