| 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 "config.h" | 5 #include "config.h" |
| 6 #include "platform/graphics/paint/DisplayItem.h" | 6 #include "platform/graphics/paint/DisplayItem.h" |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 struct SameSizeAsDisplayItem { | 10 struct SameSizeAsDisplayItem { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); | 98 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); |
| 99 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); | 99 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); |
| 100 DEBUG_STRING_CASE(ScrollbarForwardTrack); | 100 DEBUG_STRING_CASE(ScrollbarForwardTrack); |
| 101 DEBUG_STRING_CASE(ScrollbarHorizontal); | 101 DEBUG_STRING_CASE(ScrollbarHorizontal); |
| 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(ScrollbarVertical); | 105 DEBUG_STRING_CASE(ScrollbarVertical); |
| 106 DEBUG_STRING_CASE(SelectionGap); | 106 DEBUG_STRING_CASE(SelectionGap); |
| 107 DEBUG_STRING_CASE(SelectionTint); | 107 DEBUG_STRING_CASE(SelectionTint); |
| 108 DEBUG_STRING_CASE(TableCellBackgroundFromContainers); |
| 108 DEBUG_STRING_CASE(TableCellBackgroundFromSelfPaintingRow); | 109 DEBUG_STRING_CASE(TableCellBackgroundFromSelfPaintingRow); |
| 109 DEBUG_STRING_CASE(VideoBitmap); | 110 DEBUG_STRING_CASE(VideoBitmap); |
| 110 DEBUG_STRING_CASE(WebPlugin); | 111 DEBUG_STRING_CASE(WebPlugin); |
| 111 DEBUG_STRING_CASE(WebFont); | 112 DEBUG_STRING_CASE(WebFont); |
| 112 | 113 |
| 113 DEFAULT_CASE; | 114 DEFAULT_CASE; |
| 114 } | 115 } |
| 115 } | 116 } |
| 116 | 117 |
| 117 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) | 118 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 stringBuilder.append('"'); | 226 stringBuilder.append('"'); |
| 226 if (m_skippedCache) | 227 if (m_skippedCache) |
| 227 stringBuilder.append(", skippedCache: true"); | 228 stringBuilder.append(", skippedCache: true"); |
| 228 if (m_scope) | 229 if (m_scope) |
| 229 stringBuilder.append(String::format(", scope: %d", m_scope)); | 230 stringBuilder.append(String::format(", scope: %d", m_scope)); |
| 230 } | 231 } |
| 231 | 232 |
| 232 #endif | 233 #endif |
| 233 | 234 |
| 234 } // namespace blink | 235 } // namespace blink |
| OLD | NEW |