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/DragCaretController.h" |
8 #include "core/editing/FrameSelection.h" | 9 #include "core/editing/FrameSelection.h" |
9 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
10 #include "core/layout/LayoutFlexibleBox.h" | 11 #include "core/layout/LayoutFlexibleBox.h" |
11 #include "core/layout/LayoutInline.h" | 12 #include "core/layout/LayoutInline.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/DeprecatedPaintLayer.h" | 16 #include "core/paint/DeprecatedPaintLayer.h" |
16 #include "core/paint/InlinePainter.h" | 17 #include "core/paint/InlinePainter.h" |
17 #include "core/paint/LayoutObjectDrawingRecorder.h" | 18 #include "core/paint/LayoutObjectDrawingRecorder.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 LayoutBlock* block = flow->containingBlock(); | 347 LayoutBlock* block = flow->containingBlock(); |
347 for ( ; block && block != &m_layoutBlock; block = block->containingBlock
()) | 348 for ( ; block && block != &m_layoutBlock; block = block->containingBlock
()) |
348 accumulatedPaintOffset.moveBy(block->location()); | 349 accumulatedPaintOffset.moveBy(block->location()); |
349 ASSERT(block); | 350 ASSERT(block); |
350 InlinePainter(*flow).paintOutline(info, accumulatedPaintOffset); | 351 InlinePainter(*flow).paintOutline(info, accumulatedPaintOffset); |
351 } | 352 } |
352 } | 353 } |
353 | 354 |
354 | 355 |
355 } // namespace blink | 356 } // namespace blink |
OLD | NEW |