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

Side by Side Diff: third_party/WebKit/Source/core/paint/InlineFlowBoxPainter.cpp

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h Created 4 years, 7 months 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
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 "core/paint/InlineFlowBoxPainter.h" 5 #include "core/paint/InlineFlowBoxPainter.h"
6 6
7 #include "core/layout/LayoutBlock.h" 7 #include "core/layout/LayoutBlock.h"
8 #include "core/layout/LayoutInline.h" 8 #include "core/layout/LayoutInline.h"
9 #include "core/layout/LayoutView.h"
10 #include "core/layout/api/LineLayoutAPIShim.h" 9 #include "core/layout/api/LineLayoutAPIShim.h"
11 #include "core/layout/api/LineLayoutBoxModel.h" 10 #include "core/layout/api/LineLayoutBoxModel.h"
12 #include "core/layout/api/SelectionState.h" 11 #include "core/layout/api/SelectionState.h"
13 #include "core/layout/line/InlineFlowBox.h" 12 #include "core/layout/line/RootInlineBox.h"
14 #include "core/paint/BoxPainter.h" 13 #include "core/paint/BoxPainter.h"
15 #include "core/paint/PaintInfo.h" 14 #include "core/paint/PaintInfo.h"
16 #include "core/paint/PaintLayer.h" 15 #include "core/paint/PaintLayer.h"
17 #include "platform/graphics/GraphicsContextStateSaver.h" 16 #include "platform/graphics/GraphicsContextStateSaver.h"
18 #include "platform/graphics/paint/DrawingRecorder.h" 17 #include "platform/graphics/paint/DrawingRecorder.h"
19 18
20 namespace blink { 19 namespace blink {
21 20
22 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)
23 { 22 {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 rect.setHeight(logicalHeight); 317 rect.setHeight(logicalHeight);
319 } else { 318 } else {
320 rect.setX(logicalTop); 319 rect.setX(logicalTop);
321 rect.setWidth(logicalHeight); 320 rect.setWidth(logicalHeight);
322 } 321 }
323 } 322 }
324 return rect; 323 return rect;
325 } 324 }
326 325
327 } // namespace blink 326 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698