| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 DEBUG_STRING_CASE(ScrollbarTrackBackground); | 103 DEBUG_STRING_CASE(ScrollbarTrackBackground); |
| 104 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); | 104 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); |
| 105 DEBUG_STRING_CASE(SelectionTint); | 105 DEBUG_STRING_CASE(SelectionTint); |
| 106 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup); | 106 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup); |
| 107 DEBUG_STRING_CASE(TableCellBackgroundFromColumn); | 107 DEBUG_STRING_CASE(TableCellBackgroundFromColumn); |
| 108 DEBUG_STRING_CASE(TableCellBackgroundFromSection); | 108 DEBUG_STRING_CASE(TableCellBackgroundFromSection); |
| 109 DEBUG_STRING_CASE(TableCellBackgroundFromRow); | 109 DEBUG_STRING_CASE(TableCellBackgroundFromRow); |
| 110 DEBUG_STRING_CASE(VideoBitmap); | 110 DEBUG_STRING_CASE(VideoBitmap); |
| 111 DEBUG_STRING_CASE(WebPlugin); | 111 DEBUG_STRING_CASE(WebPlugin); |
| 112 DEBUG_STRING_CASE(WebFont); | 112 DEBUG_STRING_CASE(WebFont); |
| 113 DEBUG_STRING_CASE(ReflectionMask); |
| 113 | 114 |
| 114 DEFAULT_CASE; | 115 DEFAULT_CASE; |
| 115 } | 116 } |
| 116 } | 117 } |
| 117 | 118 |
| 118 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) | 119 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) |
| 119 { | 120 { |
| 120 PAINT_PHASE_BASED_DEBUG_STRINGS(Drawing); | 121 PAINT_PHASE_BASED_DEBUG_STRINGS(Drawing); |
| 121 return "Drawing" + specialDrawingTypeAsDebugString(type); | 122 return "Drawing" + specialDrawingTypeAsDebugString(type); |
| 122 } | 123 } |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 stringBuilder.append('"'); | 250 stringBuilder.append('"'); |
| 250 if (m_skippedCache) | 251 if (m_skippedCache) |
| 251 stringBuilder.append(", skippedCache: true"); | 252 stringBuilder.append(", skippedCache: true"); |
| 252 if (m_scope) | 253 if (m_scope) |
| 253 stringBuilder.append(String::format(", scope: %d", m_scope)); | 254 stringBuilder.append(String::format(", scope: %d", m_scope)); |
| 254 } | 255 } |
| 255 | 256 |
| 256 #endif | 257 #endif |
| 257 | 258 |
| 258 } // namespace blink | 259 } // namespace blink |
| OLD | NEW |