| 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 "core/paint/FramePainter.h" | 5 #include "core/paint/FramePainter.h" |
| 6 | 6 |
| 7 #include "core/editing/markers/DocumentMarkerController.h" | 7 #include "core/editing/markers/DocumentMarkerController.h" |
| 8 #include "core/fetch/MemoryCache.h" | |
| 9 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 10 #include "core/inspector/InspectorInstrumentation.h" | 9 #include "core/inspector/InspectorInstrumentation.h" |
| 11 #include "core/inspector/InspectorTraceEvents.h" | 10 #include "core/inspector/InspectorTraceEvents.h" |
| 12 #include "core/layout/LayoutView.h" | 11 #include "core/layout/LayoutView.h" |
| 13 #include "core/page/Page.h" | 12 #include "core/page/Page.h" |
| 14 #include "core/paint/LayoutObjectDrawingRecorder.h" | 13 #include "core/paint/LayoutObjectDrawingRecorder.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 "core/paint/PaintLayerPainter.h" | 16 #include "core/paint/PaintLayerPainter.h" |
| 18 #include "core/paint/ScrollbarPainter.h" | 17 #include "core/paint/ScrollbarPainter.h" |
| 19 #include "core/paint/TransformRecorder.h" | 18 #include "core/paint/TransformRecorder.h" |
| 20 #include "platform/fonts/FontCache.h" | 19 #include "platform/fonts/FontCache.h" |
| 21 #include "platform/graphics/GraphicsContext.h" | 20 #include "platform/graphics/GraphicsContext.h" |
| 22 #include "platform/graphics/paint/ClipRecorder.h" | 21 #include "platform/graphics/paint/ClipRecorder.h" |
| 23 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" | 22 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" |
| 23 #include "platform/loader/fetch/MemoryCache.h" |
| 24 #include "platform/scroll/ScrollbarTheme.h" | 24 #include "platform/scroll/ScrollbarTheme.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 | 27 |
| 28 bool FramePainter::s_inPaintContents = false; | 28 bool FramePainter::s_inPaintContents = false; |
| 29 | 29 |
| 30 void FramePainter::paint(GraphicsContext& context, | 30 void FramePainter::paint(GraphicsContext& context, |
| 31 const GlobalPaintFlags globalPaintFlags, | 31 const GlobalPaintFlags globalPaintFlags, |
| 32 const CullRect& rect) { | 32 const CullRect& rect) { |
| 33 frameView().notifyPageThatContentAreaWillPaint(); | 33 frameView().notifyPageThatContentAreaWillPaint(); |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 250 |
| 251 bar.paint(context, CullRect(rect)); | 251 bar.paint(context, CullRect(rect)); |
| 252 } | 252 } |
| 253 | 253 |
| 254 const FrameView& FramePainter::frameView() { | 254 const FrameView& FramePainter::frameView() { |
| 255 DCHECK(m_frameView); | 255 DCHECK(m_frameView); |
| 256 return *m_frameView; | 256 return *m_frameView; |
| 257 } | 257 } |
| 258 | 258 |
| 259 } // namespace blink | 259 } // namespace blink |
| OLD | NEW |