| 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/BlockPainter.h" | 6 #include "core/paint/BlockPainter.h" |
| 7 | 7 |
| 8 #include "core/editing/Caret.h" | 8 #include "core/editing/Caret.h" |
| 9 #include "core/editing/FrameSelection.h" | 9 #include "core/editing/FrameSelection.h" |
| 10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
| 11 #include "core/frame/Settings.h" | 11 #include "core/frame/Settings.h" |
| 12 #include "core/layout/Layer.h" |
| 12 #include "core/page/Page.h" | 13 #include "core/page/Page.h" |
| 13 #include "core/paint/BoxClipper.h" | 14 #include "core/paint/BoxClipper.h" |
| 14 #include "core/paint/BoxPainter.h" | 15 #include "core/paint/BoxPainter.h" |
| 15 #include "core/paint/GraphicsContextAnnotator.h" | 16 #include "core/paint/GraphicsContextAnnotator.h" |
| 16 #include "core/paint/InlinePainter.h" | 17 #include "core/paint/InlinePainter.h" |
| 17 #include "core/paint/LineBoxListPainter.h" | 18 #include "core/paint/LineBoxListPainter.h" |
| 18 #include "core/paint/RenderDrawingRecorder.h" | 19 #include "core/paint/RenderDrawingRecorder.h" |
| 19 #include "core/paint/ScrollRecorder.h" | 20 #include "core/paint/ScrollRecorder.h" |
| 20 #include "core/paint/ScrollableAreaPainter.h" | 21 #include "core/paint/ScrollableAreaPainter.h" |
| 21 #include "core/rendering/PaintInfo.h" | 22 #include "core/rendering/PaintInfo.h" |
| 22 #include "core/rendering/RenderBlock.h" | 23 #include "core/rendering/RenderBlock.h" |
| 23 #include "core/rendering/RenderFlexibleBox.h" | 24 #include "core/rendering/RenderFlexibleBox.h" |
| 24 #include "core/rendering/RenderInline.h" | 25 #include "core/rendering/RenderInline.h" |
| 25 #include "core/rendering/RenderLayer.h" | |
| 26 #include "core/rendering/RenderView.h" | 26 #include "core/rendering/RenderView.h" |
| 27 #include "platform/geometry/LayoutPoint.h" | 27 #include "platform/geometry/LayoutPoint.h" |
| 28 #include "platform/geometry/LayoutRect.h" | 28 #include "platform/geometry/LayoutRect.h" |
| 29 #include "platform/graphics/paint/ClipRecorder.h" | 29 #include "platform/graphics/paint/ClipRecorder.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 void BlockPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOff
set) | 33 void BlockPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOff
set) |
| 34 { | 34 { |
| 35 PaintInfo localPaintInfo(paintInfo); | 35 PaintInfo localPaintInfo(paintInfo); |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 RenderBlock* block = flow->containingBlock(); | 510 RenderBlock* block = flow->containingBlock(); |
| 511 for ( ; block && block != &m_renderBlock; block = block->containingBlock
()) | 511 for ( ; block && block != &m_renderBlock; block = block->containingBlock
()) |
| 512 accumulatedPaintOffset.moveBy(block->location()); | 512 accumulatedPaintOffset.moveBy(block->location()); |
| 513 ASSERT(block); | 513 ASSERT(block); |
| 514 InlinePainter(*flow).paintOutline(info, accumulatedPaintOffset); | 514 InlinePainter(*flow).paintOutline(info, accumulatedPaintOffset); |
| 515 } | 515 } |
| 516 } | 516 } |
| 517 | 517 |
| 518 | 518 |
| 519 } // namespace blink | 519 } // namespace blink |
| OLD | NEW |