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

Side by Side Diff: Source/core/paint/ViewDisplayListTest.cpp

Issue 721773005: [Slimming Paint] Add *FilterDisplayItem type for slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/ViewDisplayList.cpp ('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 "core/paint/ViewDisplayList.h" 6 #include "core/paint/ViewDisplayList.h"
7 7
8 #include "core/paint/ClipRecorder.h" 8 #include "core/paint/ClipRecorder.h"
9 #include "core/paint/DrawingRecorder.h" 9 #include "core/paint/DrawingRecorder.h"
10 #include "core/rendering/RenderView.h" 10 #include "core/rendering/RenderView.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 drawRect(context, secondRenderer, PaintPhaseBlockBackground, FloatRect(1 00, 100, 150, 150)); 389 drawRect(context, secondRenderer, PaintPhaseBlockBackground, FloatRect(1 00, 100, 150, 150));
390 } 390 }
391 391
392 EXPECT_DISPLAY_LIST(renderView()->viewDisplayList().paintList(), 4, 392 EXPECT_DISPLAY_LIST(renderView()->viewDisplayList().paintList(), 4,
393 TestDisplayItem(firstRenderer, DisplayItem::DrawingPaintPhaseBlockBackgr ound), 393 TestDisplayItem(firstRenderer, DisplayItem::DrawingPaintPhaseBlockBackgr ound),
394 TestDisplayItem(secondRenderer, DisplayItem::ClipLayerForeground), 394 TestDisplayItem(secondRenderer, DisplayItem::ClipLayerForeground),
395 TestDisplayItem(secondRenderer, DisplayItem::DrawingPaintPhaseBlockBackg round), 395 TestDisplayItem(secondRenderer, DisplayItem::DrawingPaintPhaseBlockBackg round),
396 TestDisplayItem(secondRenderer, DisplayItem::EndClip)); 396 TestDisplayItem(secondRenderer, DisplayItem::EndClip));
397 } 397 }
398 398
399 } 399 } // anonymous namespace
400 400 } // namespace blink
401 }
OLDNEW
« no previous file with comments | « Source/core/paint/ViewDisplayList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698