| OLD | NEW |
| 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 Loading... |
| 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 } | |
| OLD | NEW |