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

Side by Side Diff: third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "core/paint/PaintControllerPaintTest.h" 5 #include "core/paint/PaintControllerPaintTest.h"
6 #include "core/paint/PaintLayerPainter.h" 6 #include "core/paint/PaintLayerPainter.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 using TableCellPainterTest = PaintControllerPaintTest; 10 using TableCellPainterTest = PaintControllerPaintTest;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // Intersects the overflowing part of cell but not border box. 182 // Intersects the overflowing part of cell but not border box.
183 IntRect interestRect(0, 0, 100, 100); 183 IntRect interestRect(0, 0, 100, 100);
184 paint(&interestRect); 184 paint(&interestRect);
185 185
186 // We should paint all display items of cell. 186 // We should paint all display items of cell.
187 EXPECT_DISPLAY_LIST( 187 EXPECT_DISPLAY_LIST(
188 rootPaintController().getDisplayItemList(), 4, 188 rootPaintController().getDisplayItemList(), 4,
189 TestDisplayItem(layoutView, DisplayItem::kDocumentBackground), 189 TestDisplayItem(layoutView, DisplayItem::kDocumentBackground),
190 TestDisplayItem(cell, DisplayItem::kBoxDecorationBackground), 190 TestDisplayItem(cell, DisplayItem::kBoxDecorationBackground),
191 TestDisplayItem(cell, DisplayItem::kTableCollapsedBorderLast), 191 TestDisplayItem(cell, DisplayItem::kTableCollapsedBorderLast),
192 TestDisplayItem(cell, DisplayItem::paintPhaseToDrawingType( 192 TestDisplayItem(
193 PaintPhaseSelfOutlineOnly))); 193 cell,
194 DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfOutlineOnly)));
194 } 195 }
195 196
196 } // namespace blink 197 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698