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

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

Issue 1379213002: Remove LayoutTable::m_currentBorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 5 years, 2 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 "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 14 matching lines...) Expand all
25 switch (paintPhase) { 25 switch (paintPhase) {
26 case 0: return "PaintPhaseBlockBackground"; 26 case 0: return "PaintPhaseBlockBackground";
27 case 1: return "PaintPhaseChildBlockBackground"; 27 case 1: return "PaintPhaseChildBlockBackground";
28 case 2: return "PaintPhaseChildBlockBackgrounds"; 28 case 2: return "PaintPhaseChildBlockBackgrounds";
29 case 3: return "PaintPhaseFloat"; 29 case 3: return "PaintPhaseFloat";
30 case 4: return "PaintPhaseForeground"; 30 case 4: return "PaintPhaseForeground";
31 case 5: return "PaintPhaseOutline"; 31 case 5: return "PaintPhaseOutline";
32 case 6: return "PaintPhaseChildOutlines"; 32 case 6: return "PaintPhaseChildOutlines";
33 case 7: return "PaintPhaseSelfOutline"; 33 case 7: return "PaintPhaseSelfOutline";
34 case 8: return "PaintPhaseSelection"; 34 case 8: return "PaintPhaseSelection";
35 case 9: return "PaintPhaseCollapsedTableBorders"; 35 case 9: return "PaintPhaseTextClip";
36 case 10: return "PaintPhaseTextClip"; 36 case 10: return "PaintPhaseMask";
37 case 11: return "PaintPhaseMask";
38 case DisplayItem::PaintPhaseMax: return "PaintPhaseClippingMask"; 37 case DisplayItem::PaintPhaseMax: return "PaintPhaseClippingMask";
39 default: 38 default:
40 ASSERT_NOT_REACHED(); 39 ASSERT_NOT_REACHED();
41 return "Unknown"; 40 return "Unknown";
42 } 41 }
43 } 42 }
44 43
45 #define PAINT_PHASE_BASED_DEBUG_STRINGS(Category) \ 44 #define PAINT_PHASE_BASED_DEBUG_STRINGS(Category) \
46 if (type >= DisplayItem::Category##PaintPhaseFirst && type <= DisplayItem::C ategory##PaintPhaseLast) \ 45 if (type >= DisplayItem::Category##PaintPhaseFirst && type <= DisplayItem::C ategory##PaintPhaseLast) \
47 return #Category + paintPhaseAsDebugString(type - DisplayItem::Category# #PaintPhaseFirst); 46 return #Category + paintPhaseAsDebugString(type - DisplayItem::Category# #PaintPhaseFirst);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 stringBuilder.append('"'); 242 stringBuilder.append('"');
244 if (m_skippedCache) 243 if (m_skippedCache)
245 stringBuilder.append(", skippedCache: true"); 244 stringBuilder.append(", skippedCache: true");
246 if (m_scope) 245 if (m_scope)
247 stringBuilder.append(String::format(", scope: %d", m_scope)); 246 stringBuilder.append(String::format(", scope: %d", m_scope));
248 } 247 }
249 248
250 #endif 249 #endif
251 250
252 } // namespace blink 251 } // 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