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

Side by Side Diff: Source/core/rendering/RenderTableSection.cpp

Issue 20253002: core/rendering: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 5 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/rendering/RenderTableSection.h ('k') | Source/core/rendering/RenderText.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 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 17 matching lines...) Expand all
28 28
29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close d. 29 // FIXME: Remove 'RuntimeEnabledFeatures.h' when http://crbug.com/78724 is close d.
30 #include "RuntimeEnabledFeatures.h" 30 #include "RuntimeEnabledFeatures.h"
31 #include <limits> 31 #include <limits>
32 #include "core/rendering/HitTestResult.h" 32 #include "core/rendering/HitTestResult.h"
33 #include "core/rendering/PaintInfo.h" 33 #include "core/rendering/PaintInfo.h"
34 #include "core/rendering/RenderTableCell.h" 34 #include "core/rendering/RenderTableCell.h"
35 #include "core/rendering/RenderTableCol.h" 35 #include "core/rendering/RenderTableCol.h"
36 #include "core/rendering/RenderTableRow.h" 36 #include "core/rendering/RenderTableRow.h"
37 #include "core/rendering/RenderView.h" 37 #include "core/rendering/RenderView.h"
38 #include <wtf/HashSet.h> 38 #include "wtf/HashSet.h"
39 #include <wtf/Vector.h> 39 #include "wtf/Vector.h"
40 40
41 using namespace std; 41 using namespace std;
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 using namespace HTMLNames; 45 using namespace HTMLNames;
46 46
47 // Those 2 variables are used to balance the memory consumption vs the repaint t ime on big tables. 47 // Those 2 variables are used to balance the memory consumption vs the repaint t ime on big tables.
48 static unsigned gMinTableSizeToUseFastPaintPathWithOverflowingCell = 75 * 75; 48 static unsigned gMinTableSizeToUseFastPaintPathWithOverflowingCell = 75 * 75;
49 static float gMaxAllowedOverflowingCellRatioForFastPaintPath = 0.1f; 49 static float gMaxAllowedOverflowingCellRatioForFastPaintPath = 0.1f;
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 if (!style()->isLeftToRightDirection()) 1635 if (!style()->isLeftToRightDirection())
1636 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] + horizontalBorderSpacing); 1636 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - ta ble()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] + horizontalBorderSpacing);
1637 else 1637 else
1638 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont alBorderSpacing); 1638 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizont alBorderSpacing);
1639 1639
1640 cell->setLogicalLocation(cellLocation); 1640 cell->setLogicalLocation(cellLocation);
1641 view()->addLayoutDelta(oldCellLocation - cell->location()); 1641 view()->addLayoutDelta(oldCellLocation - cell->location());
1642 } 1642 }
1643 1643
1644 } // namespace WebCore 1644 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableSection.h ('k') | Source/core/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698