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

Side by Side Diff: third_party/WebKit/Source/core/paint/BoxPainter.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/BoxPainter.h" 5 #include "core/paint/BoxPainter.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/frame/Settings.h" 8 #include "core/frame/Settings.h"
9 #include "core/html/HTMLFrameOwnerElement.h" 9 #include "core/html/HTMLFrameOwnerElement.h"
10 #include "core/layout/ImageQualityController.h" 10 #include "core/layout/ImageQualityController.h"
11 #include "core/layout/LayoutBox.h" 11 #include "core/layout/LayoutBox.h"
12 #include "core/layout/LayoutBoxModelObject.h" 12 #include "core/layout/LayoutBoxModelObject.h"
13 #include "core/layout/LayoutObject.h" 13 #include "core/layout/LayoutObject.h"
14 #include "core/layout/LayoutTable.h" 14 #include "core/layout/LayoutTable.h"
15 #include "core/layout/LayoutTheme.h" 15 #include "core/layout/LayoutTheme.h"
16 #include "core/layout/LayoutView.h"
17 #include "core/layout/compositing/CompositedLayerMapping.h" 16 #include "core/layout/compositing/CompositedLayerMapping.h"
17 #include "core/layout/line/RootInlineBox.h"
18 #include "core/style/BorderEdge.h" 18 #include "core/style/BorderEdge.h"
19 #include "core/style/ShadowList.h" 19 #include "core/style/ShadowList.h"
20 #include "core/paint/BackgroundImageGeometry.h" 20 #include "core/paint/BackgroundImageGeometry.h"
21 #include "core/paint/BoxBorderPainter.h" 21 #include "core/paint/BoxBorderPainter.h"
22 #include "core/paint/BoxDecorationData.h" 22 #include "core/paint/BoxDecorationData.h"
23 #include "core/paint/LayoutObjectDrawingRecorder.h" 23 #include "core/paint/LayoutObjectDrawingRecorder.h"
24 #include "core/paint/NinePieceImagePainter.h" 24 #include "core/paint/NinePieceImagePainter.h"
25 #include "core/paint/PaintInfo.h" 25 #include "core/paint/PaintInfo.h"
26 #include "core/paint/PaintLayer.h" 26 #include "core/paint/PaintLayer.h"
27 #include "core/paint/RoundedInnerRectClipper.h" 27 #include "core/paint/RoundedInnerRectClipper.h"
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 } 721 }
722 } 722 }
723 723
724 bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle& style, const Document& document) 724 bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle& style, const Document& document)
725 { 725 {
726 return document.printing() && style.getPrintColorAdjust() == PrintColorAdjus tEconomy 726 return document.printing() && style.getPrintColorAdjust() == PrintColorAdjus tEconomy
727 && (!document.settings() || !document.settings()->shouldPrintBackgrounds ()); 727 && (!document.settings() || !document.settings()->shouldPrintBackgrounds ());
728 } 728 }
729 729
730 } // namespace blink 730 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/paint/InlineFlowBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698