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

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

Issue 1879223002: Support mask images for filter-based -webkit-box-reflect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reflection-refactor
Patch Set: add comment referring to skbug.com/5210 Created 4 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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