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

Side by Side Diff: Source/core/paint/TablePainter.cpp

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/TableCellPainter.h ('k') | Source/core/paint/TextPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h" 5 #include "config.h"
6 #include "core/paint/TablePainter.h" 6 #include "core/paint/TablePainter.h"
7 7
8 #include "core/layout/LayoutTable.h" 8 #include "core/layout/LayoutTable.h"
9 #include "core/layout/LayoutTableSection.h" 9 #include "core/layout/LayoutTableSection.h"
10 #include "core/layout/PaintInfo.h" 10 #include "core/layout/PaintInfo.h"
11 #include "core/layout/style/CollapsedBorderValue.h" 11 #include "core/style/CollapsedBorderValue.h"
12 #include "core/paint/BoxClipper.h" 12 #include "core/paint/BoxClipper.h"
13 #include "core/paint/BoxPainter.h" 13 #include "core/paint/BoxPainter.h"
14 #include "core/paint/GraphicsContextAnnotator.h" 14 #include "core/paint/GraphicsContextAnnotator.h"
15 #include "core/paint/LayoutObjectDrawingRecorder.h" 15 #include "core/paint/LayoutObjectDrawingRecorder.h"
16 #include "core/paint/ObjectPainter.h" 16 #include "core/paint/ObjectPainter.h"
17 #include "core/paint/ScopeRecorder.h" 17 #include "core/paint/ScopeRecorder.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa intOffset) 21 void TablePainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa intOffset)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 return; 91 return;
92 92
93 LayoutRect rect(paintOffset, m_layoutTable.size()); 93 LayoutRect rect(paintOffset, m_layoutTable.size());
94 m_layoutTable.subtractCaptionRect(rect); 94 m_layoutTable.subtractCaptionRect(rect);
95 LayoutObjectDrawingRecorder recorder(paintInfo.context, m_layoutTable, paint Info.phase, pixelSnappedIntRect(rect)); 95 LayoutObjectDrawingRecorder recorder(paintInfo.context, m_layoutTable, paint Info.phase, pixelSnappedIntRect(rect));
96 if (!recorder.canUseCachedDrawing()) 96 if (!recorder.canUseCachedDrawing())
97 BoxPainter(m_layoutTable).paintMaskImages(paintInfo, rect); 97 BoxPainter(m_layoutTable).paintMaskImages(paintInfo, rect);
98 } 98 }
99 99
100 } // namespace blink 100 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/paint/TableCellPainter.h ('k') | Source/core/paint/TextPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698