2006-05-12 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2006 23:44:39 +0000 (23:44 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2006 23:44:39 +0000 (23:44 +0000)
commit8eca3be73662aa42255f994a7f821231a34b230d
treee24441cca4c9da539430ccbbef4b4fdb67c1bdd3
parentb211417fb07b516c5b2d6acaac6f823d296e6ac3
2006-05-12  Eric Seidel  <eseidel@apple.com>

        Reviewed by hyatt.

        Split out table_layout.* into separate files (one per class).
        Search replace instnace variables "foo" with "m_foo" to comply with modern style.

        * WebCore.xcodeproj/project.pbxproj:
        * rendering/AutoTableLayout.cpp: Added.
        (WebCore::AutoTableLayout::AutoTableLayout):
        (WebCore::AutoTableLayout::recalcColumn):
        (WebCore::AutoTableLayout::fullRecalc):
        (WebCore::AutoTableLayout::calcMinMaxWidth):
        (WebCore::AutoTableLayout::calcEffectiveWidth):
        (WebCore::AutoTableLayout::insertSpanCell):
        (WebCore::AutoTableLayout::layout):
        (WebCore::AutoTableLayout::calcPercentages):
        * rendering/AutoTableLayout.h: Added.
        (WebCore::AutoTableLayout::totalPercent):
        (WebCore::AutoTableLayout::Layout::Layout):
        * rendering/FixedTableLayout.cpp: Added.
        (WebCore::FixedTableLayout::FixedTableLayout):
        (WebCore::FixedTableLayout::calcWidthArray):
        (WebCore::FixedTableLayout::calcMinMaxWidth):
        (WebCore::FixedTableLayout::layout):
        * rendering/FixedTableLayout.h: Added.
        * rendering/RenderTable.cpp:
        * rendering/TableLayout.h: Added.
        (WebCore::TableLayout::TableLayout):
        * rendering/table_layout.cpp: Removed.
        * rendering/table_layout.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/rendering/AutoTableLayout.cpp [new file with mode: 0644]
WebCore/rendering/AutoTableLayout.h [moved from WebCore/rendering/table_layout.h with 56% similarity]
WebCore/rendering/FixedTableLayout.cpp [new file with mode: 0644]
WebCore/rendering/FixedTableLayout.h [new file with mode: 0644]
WebCore/rendering/RenderTable.cpp
WebCore/rendering/TableLayout.cpp [moved from WebCore/rendering/table_layout.cpp with 100% similarity]
WebCore/rendering/TableLayout.h [new file with mode: 0644]