| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 DEBUG_STRING_CASE(ScrollbarForwardTrack); | 101 DEBUG_STRING_CASE(ScrollbarForwardTrack); |
| 102 DEBUG_STRING_CASE(ScrollbarThumb); | 102 DEBUG_STRING_CASE(ScrollbarThumb); |
| 103 DEBUG_STRING_CASE(ScrollbarTickmarks); | 103 DEBUG_STRING_CASE(ScrollbarTickmarks); |
| 104 DEBUG_STRING_CASE(ScrollbarTrackBackground); | 104 DEBUG_STRING_CASE(ScrollbarTrackBackground); |
| 105 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); | 105 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); |
| 106 DEBUG_STRING_CASE(SelectionTint); | 106 DEBUG_STRING_CASE(SelectionTint); |
| 107 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup); | 107 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup); |
| 108 DEBUG_STRING_CASE(TableCellBackgroundFromColumn); | 108 DEBUG_STRING_CASE(TableCellBackgroundFromColumn); |
| 109 DEBUG_STRING_CASE(TableCellBackgroundFromSection); | 109 DEBUG_STRING_CASE(TableCellBackgroundFromSection); |
| 110 DEBUG_STRING_CASE(TableCellBackgroundFromRow); | 110 DEBUG_STRING_CASE(TableCellBackgroundFromRow); |
| 111 DEBUG_STRING_CASE(TableSectionBoxShadowInset); |
| 112 DEBUG_STRING_CASE(TableSectionBoxShadowNormal); |
| 113 DEBUG_STRING_CASE(TableRowBoxShadowInset); |
| 114 DEBUG_STRING_CASE(TableRowBoxShadowNormal); |
| 111 DEBUG_STRING_CASE(VideoBitmap); | 115 DEBUG_STRING_CASE(VideoBitmap); |
| 112 DEBUG_STRING_CASE(WebPlugin); | 116 DEBUG_STRING_CASE(WebPlugin); |
| 113 DEBUG_STRING_CASE(WebFont); | 117 DEBUG_STRING_CASE(WebFont); |
| 114 DEBUG_STRING_CASE(ReflectionMask); | 118 DEBUG_STRING_CASE(ReflectionMask); |
| 115 | 119 |
| 116 DEFAULT_CASE; | 120 DEFAULT_CASE; |
| 117 } | 121 } |
| 118 } | 122 } |
| 119 | 123 |
| 120 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) | 124 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 stringBuilder.append('"'); | 255 stringBuilder.append('"'); |
| 252 if (m_skippedCache) | 256 if (m_skippedCache) |
| 253 stringBuilder.append(", skippedCache: true"); | 257 stringBuilder.append(", skippedCache: true"); |
| 254 if (m_scope) | 258 if (m_scope) |
| 255 stringBuilder.append(String::format(", scope: %d", m_scope)); | 259 stringBuilder.append(String::format(", scope: %d", m_scope)); |
| 256 } | 260 } |
| 257 | 261 |
| 258 #endif | 262 #endif |
| 259 | 263 |
| 260 } // namespace blink | 264 } // namespace blink |
| OLD | NEW |