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

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

Issue 2292353003: Cherry-pick r415013 to M53. (Closed)
Patch Set: Created 4 years, 3 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 if (type & DisplayItem::TableCollapsedBorderBottom) 64 if (type & DisplayItem::TableCollapsedBorderBottom)
65 sb.append("Bottom"); 65 sb.append("Bottom");
66 if (type & DisplayItem::TableCollapsedBorderLeft) 66 if (type & DisplayItem::TableCollapsedBorderLeft)
67 sb.append("Left"); 67 sb.append("Left");
68 return sb.toString(); 68 return sb.toString();
69 } 69 }
70 } 70 }
71 switch (type) { 71 switch (type) {
72 DEBUG_STRING_CASE(BoxDecorationBackground); 72 DEBUG_STRING_CASE(BoxDecorationBackground);
73 DEBUG_STRING_CASE(Caret); 73 DEBUG_STRING_CASE(Caret);
74 DEBUG_STRING_CASE(DragCaret);
74 DEBUG_STRING_CASE(ColumnRules); 75 DEBUG_STRING_CASE(ColumnRules);
75 DEBUG_STRING_CASE(DebugDrawing); 76 DEBUG_STRING_CASE(DebugDrawing);
76 DEBUG_STRING_CASE(DebugRedFill); 77 DEBUG_STRING_CASE(DebugRedFill);
77 DEBUG_STRING_CASE(DocumentBackground); 78 DEBUG_STRING_CASE(DocumentBackground);
78 DEBUG_STRING_CASE(DragImage); 79 DEBUG_STRING_CASE(DragImage);
79 DEBUG_STRING_CASE(SVGImage); 80 DEBUG_STRING_CASE(SVGImage);
80 DEBUG_STRING_CASE(LinkHighlight); 81 DEBUG_STRING_CASE(LinkHighlight);
81 DEBUG_STRING_CASE(ImageAreaFocusRing); 82 DEBUG_STRING_CASE(ImageAreaFocusRing);
82 DEBUG_STRING_CASE(PageOverlay); 83 DEBUG_STRING_CASE(PageOverlay);
83 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback); 84 DEBUG_STRING_CASE(PageWidgetDelegateBackgroundFallback);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 stringBuilder.append("\", type: \""); 255 stringBuilder.append("\", type: \"");
255 stringBuilder.append(typeAsDebugString(getType())); 256 stringBuilder.append(typeAsDebugString(getType()));
256 stringBuilder.append('"'); 257 stringBuilder.append('"');
257 if (m_skippedCache) 258 if (m_skippedCache)
258 stringBuilder.append(", skippedCache: true"); 259 stringBuilder.append(", skippedCache: true");
259 } 260 }
260 261
261 #endif 262 #endif
262 263
263 } // namespace blink 264 } // 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