| 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/InlineFlowBoxPainter.h" | 6 #include "core/paint/InlineFlowBoxPainter.h" |
| 7 | 7 |
| 8 #include "core/layout/LayoutBlock.h" | 8 #include "core/layout/LayoutBlock.h" |
| 9 #include "core/layout/LayoutInline.h" | 9 #include "core/layout/LayoutInline.h" |
| 10 #include "core/layout/LayoutView.h" | 10 #include "core/layout/LayoutView.h" |
| 11 #include "core/layout/api/SelectionState.h" |
| 11 #include "core/layout/line/InlineFlowBox.h" | 12 #include "core/layout/line/InlineFlowBox.h" |
| 12 #include "core/paint/BoxPainter.h" | 13 #include "core/paint/BoxPainter.h" |
| 13 #include "core/paint/DeprecatedPaintLayer.h" | 14 #include "core/paint/DeprecatedPaintLayer.h" |
| 14 #include "core/paint/PaintInfo.h" | 15 #include "core/paint/PaintInfo.h" |
| 15 #include "platform/graphics/GraphicsContextStateSaver.h" | 16 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 16 #include "platform/graphics/paint/DrawingRecorder.h" | 17 #include "platform/graphics/paint/DrawingRecorder.h" |
| 17 | 18 |
| 18 namespace blink { | 19 namespace blink { |
| 19 | 20 |
| 20 void InlineFlowBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
paintOffset, const LayoutUnit lineTop, const LayoutUnit lineBottom) | 21 void InlineFlowBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
paintOffset, const LayoutUnit lineTop, const LayoutUnit lineBottom) |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 rect.setHeight(logicalHeight); | 355 rect.setHeight(logicalHeight); |
| 355 } else { | 356 } else { |
| 356 rect.setX(logicalTop); | 357 rect.setX(logicalTop); |
| 357 rect.setWidth(logicalHeight); | 358 rect.setWidth(logicalHeight); |
| 358 } | 359 } |
| 359 } | 360 } |
| 360 return rect; | 361 return rect; |
| 361 } | 362 } |
| 362 | 363 |
| 363 } // namespace blink | 364 } // namespace blink |
| OLD | NEW |