Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp

Issue 2786463004: Paint backgrounds of a table section/row in one display item (Closed)
Patch Set: - Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 DEBUG_STRING_CASE(ScrollbarBackTrack); 113 DEBUG_STRING_CASE(ScrollbarBackTrack);
114 DEBUG_STRING_CASE(ScrollbarCorner); 114 DEBUG_STRING_CASE(ScrollbarCorner);
115 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); 115 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd);
116 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); 116 DEBUG_STRING_CASE(ScrollbarForwardButtonStart);
117 DEBUG_STRING_CASE(ScrollbarForwardTrack); 117 DEBUG_STRING_CASE(ScrollbarForwardTrack);
118 DEBUG_STRING_CASE(ScrollbarThumb); 118 DEBUG_STRING_CASE(ScrollbarThumb);
119 DEBUG_STRING_CASE(ScrollbarTickmarks); 119 DEBUG_STRING_CASE(ScrollbarTickmarks);
120 DEBUG_STRING_CASE(ScrollbarTrackBackground); 120 DEBUG_STRING_CASE(ScrollbarTrackBackground);
121 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar); 121 DEBUG_STRING_CASE(ScrollbarCompositedScrollbar);
122 DEBUG_STRING_CASE(SelectionTint); 122 DEBUG_STRING_CASE(SelectionTint);
123 DEBUG_STRING_CASE(TableCellBackgroundFromColumnGroup);
124 DEBUG_STRING_CASE(TableCellBackgroundFromColumn);
125 DEBUG_STRING_CASE(TableCellBackgroundFromSection);
126 DEBUG_STRING_CASE(TableCellBackgroundFromRow);
127 DEBUG_STRING_CASE(TableSectionBoxShadowInset);
128 DEBUG_STRING_CASE(TableSectionBoxShadowNormal);
129 DEBUG_STRING_CASE(TableRowBoxShadowInset);
130 DEBUG_STRING_CASE(TableRowBoxShadowNormal);
131 DEBUG_STRING_CASE(VideoBitmap); 123 DEBUG_STRING_CASE(VideoBitmap);
132 DEBUG_STRING_CASE(WebPlugin); 124 DEBUG_STRING_CASE(WebPlugin);
133 DEBUG_STRING_CASE(WebFont); 125 DEBUG_STRING_CASE(WebFont);
134 DEBUG_STRING_CASE(ReflectionMask); 126 DEBUG_STRING_CASE(ReflectionMask);
135 127
136 DEFAULT_CASE; 128 DEFAULT_CASE;
137 } 129 }
138 } 130 }
139 131
140 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) { 132 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 stringBuilder.append("\", type: \""); 249 stringBuilder.append("\", type: \"");
258 stringBuilder.append(typeAsDebugString(getType())); 250 stringBuilder.append(typeAsDebugString(getType()));
259 stringBuilder.append('"'); 251 stringBuilder.append('"');
260 if (m_skippedCache) 252 if (m_skippedCache)
261 stringBuilder.append(", skippedCache: true"); 253 stringBuilder.append(", skippedCache: true");
262 } 254 }
263 255
264 #endif 256 #endif
265 257
266 } // namespace blink 258 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698