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/FramePainter.h" | 6 #include "core/paint/FramePainter.h" |
7 | 7 |
8 #include "core/dom/DocumentMarkerController.h" | 8 #include "core/editing/markers/DocumentMarkerController.h" |
9 #include "core/fetch/MemoryCache.h" | 9 #include "core/fetch/MemoryCache.h" |
10 #include "core/frame/FrameView.h" | 10 #include "core/frame/FrameView.h" |
11 #include "core/inspector/InspectorInstrumentation.h" | 11 #include "core/inspector/InspectorInstrumentation.h" |
12 #include "core/inspector/InspectorTraceEvents.h" | 12 #include "core/inspector/InspectorTraceEvents.h" |
13 #include "core/layout/LayoutView.h" | 13 #include "core/layout/LayoutView.h" |
14 #include "core/page/Page.h" | 14 #include "core/page/Page.h" |
15 #include "core/paint/DeprecatedPaintLayer.h" | 15 #include "core/paint/DeprecatedPaintLayer.h" |
16 #include "core/paint/DeprecatedPaintLayerPainter.h" | 16 #include "core/paint/DeprecatedPaintLayerPainter.h" |
17 #include "core/paint/LayoutObjectDrawingRecorder.h" | 17 #include "core/paint/LayoutObjectDrawingRecorder.h" |
18 #include "core/paint/PaintInfo.h" | 18 #include "core/paint/PaintInfo.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 if (needsBackground) { | 183 if (needsBackground) { |
184 IntRect toFill = bar->frameRect(); | 184 IntRect toFill = bar->frameRect(); |
185 toFill.intersect(rect); | 185 toFill.intersect(rect); |
186 context->fillRect(toFill, m_frameView.baseBackgroundColor()); | 186 context->fillRect(toFill, m_frameView.baseBackgroundColor()); |
187 } | 187 } |
188 | 188 |
189 bar->paint(context, rect); | 189 bar->paint(context, rect); |
190 } | 190 } |
191 | 191 |
192 } // namespace blink | 192 } // namespace blink |
OLD | NEW |