Changeset 102333 in webkit
- Timestamp:
- Dec 8, 2011 6:23:10 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 15 added
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r102327 r102333 1 2011-12-08 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions][CSSOM] Implement NamedFlow interface 4 https://bugs.webkit.org/show_bug.cgi?id=66642 5 6 Reviewed by David Hyatt. 7 8 Add WebKitNamedFlow to support the NamedFlow interface. No methods are 9 yet implemented on this interface. The NamedFlow object is a live object. 10 The first time user asks for it, it gets a valid JS object whose properties 11 will reflect the changes to the flow thread. 12 13 * fast/dom/Window/window-properties-expected.txt: 14 * fast/regions/webkit-named-flow-existing-flow-expected.txt: Added. 15 * fast/regions/webkit-named-flow-existing-flow.html: Added. 16 * fast/regions/webkit-named-flow-flow-added-expected.txt: Added. 17 * fast/regions/webkit-named-flow-flow-added.html: Added. 18 * fast/regions/webkit-named-flow-modified-flow-expected.txt: Added. 19 * fast/regions/webkit-named-flow-modified-flow.html: Added. 20 * fast/regions/webkit-named-flow-non-existing-flow-expected.txt: Added. 21 * fast/regions/webkit-named-flow-non-existing-flow.html: Added. 22 * fast/regions/webkit-named-flow-removed-flow-expected.txt: Added. 23 * fast/regions/webkit-named-flow-removed-flow.html: Added. 24 * fast/regions/webkit-named-flow-same-object-expected.txt: Added. 25 * fast/regions/webkit-named-flow-same-object.html: Added. 26 * platform/gtk/fast/dom/Window/window-properties-expected.txt: 27 * platform/mac/fast/dom/Window/window-properties-expected.txt: 28 * platform/qt-wk2/fast/dom/Window/window-properties-expected.txt: 29 * platform/qt/fast/dom/Window/window-properties-expected.txt: 30 * platform/win/fast/dom/Window/window-properties-expected.txt: 31 1 32 2011-12-08 Takashi Toyoshima <toyoshim@chromium.org> 2 33 -
trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt
r101899 r102333 681 681 window.Document.prototype.replaceChild [function] 682 682 window.Document.prototype.webkitCancelFullScreen [function] 683 window.Document.prototype.webkitGetFlowByName [function] 683 684 window.DocumentFragment [object DocumentFragmentConstructor] 684 685 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt
r101899 r102333 733 733 window.Document.prototype.replaceChild [function] 734 734 window.Document.prototype.webkitCancelFullScreen [function] 735 window.Document.prototype.webkitGetFlowByName [function] 735 736 window.DocumentFragment [object DocumentFragmentConstructor] 736 737 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt
r101899 r102333 758 758 window.Document.prototype.replaceChild [function] 759 759 window.Document.prototype.webkitCancelFullScreen [function] 760 window.Document.prototype.webkitGetFlowByName [function] 760 761 window.DocumentFragment [object DocumentFragmentConstructor] 761 762 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/LayoutTests/platform/qt-wk2/fast/dom/Window/window-properties-expected.txt
r101899 r102333 679 679 window.Document.prototype.removeEventListener [function] 680 680 window.Document.prototype.replaceChild [function] 681 window.Document.prototype.webkitGetFlowByName [function] 681 682 window.DocumentFragment [object DocumentFragmentConstructor] 682 683 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt
r101899 r102333 732 732 window.Document.prototype.removeEventListener [function] 733 733 window.Document.prototype.replaceChild [function] 734 window.Document.prototype.webkitGetFlowByName [function] 734 735 window.DocumentFragment [object DocumentFragmentConstructor] 735 736 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/LayoutTests/platform/win/fast/dom/Window/window-properties-expected.txt
r101899 r102333 680 680 window.Document.prototype.replaceChild [function] 681 681 window.Document.prototype.webkitCancelFullScreen [function] 682 window.Document.prototype.webkitGetFlowByName [function] 682 683 window.DocumentFragment [object DocumentFragmentConstructor] 683 684 window.DocumentFragment.prototype [object DocumentFragmentPrototype] -
trunk/Source/WebCore/CMakeLists.txt
r102187 r102333 189 189 dom/WebKitAnimationEvent.idl 190 190 dom/WebKitMutationObserver.idl 191 dom/WebKitNamedFlow.idl 191 192 dom/WebKitTransitionEvent.idl 192 193 dom/WheelEvent.idl … … 613 614 dom/WebKitAnimationEvent.cpp 614 615 dom/WebKitMutationObserver.cpp 616 dom/WebKitNamedFlow.cpp 615 617 dom/WebKitTransitionEvent.cpp 616 618 dom/WheelEvent.cpp -
trunk/Source/WebCore/ChangeLog
r102330 r102333 1 2011-12-08 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions][CSSOM] Implement NamedFlow interface 4 https://bugs.webkit.org/show_bug.cgi?id=66642 5 6 Reviewed by David Hyatt. 7 8 Add WebKitNamedFlow to support the NamedFlow interface. No methods are 9 yet implemented on this interface. The NamedFlow object is a live object. 10 The first time user asks for it, it gets a valid JS object whose properties 11 will reflect the changes to the flow thread. 12 13 Tests: fast/regions/webkit-named-flow-existing-flow.html 14 fast/regions/webkit-named-flow-flow-added.html 15 fast/regions/webkit-named-flow-modified-flow.html 16 fast/regions/webkit-named-flow-non-existing-flow.html 17 fast/regions/webkit-named-flow-removed-flow.html 18 fast/regions/webkit-named-flow-same-object.html 19 20 * CMakeLists.txt: 21 * DerivedSources.cpp: 22 * DerivedSources.make: 23 * DerivedSources.pri: 24 * GNUmakefile.list.am: 25 * Target.pri: 26 * WebCore.gypi: 27 * WebCore.vcproj/WebCore.vcproj: 28 * WebCore.xcodeproj/project.pbxproj: 29 * bindings/gobject/GNUmakefile.am: 30 * dom/DOMAllInOne.cpp: 31 * dom/Document.cpp: 32 (WebCore::Document::webkitGetFlowByName): 33 * dom/Document.h: 34 * dom/Document.idl: 35 * dom/NodeRenderingContext.cpp: 36 (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded): 37 * dom/WebKitNamedFlow.cpp: Added. 38 (WebCore::WebKitNamedFlow::WebKitNamedFlow): 39 (WebCore::WebKitNamedFlow::~WebKitNamedFlow): 40 * dom/WebKitNamedFlow.h: Added. 41 (WebCore::WebKitNamedFlow::create): 42 * dom/WebKitNamedFlow.idl: Added. 43 * rendering/RenderFlowThread.cpp: 44 (WebCore::RenderFlowThread::ensureNamedFlow): 45 * rendering/RenderFlowThread.h: 46 * rendering/RenderObject.cpp: 47 (WebCore::RenderObject::createObject): 48 * rendering/RenderView.cpp: 49 (WebCore::RenderView::ensureRenderFlowThreadWithName): 50 * rendering/RenderView.h: 51 1 52 2011-12-08 Sheriff Bot <webkit.review.bot@gmail.com> 2 53 -
trunk/Source/WebCore/DerivedSources.cpp
r101144 r102333 469 469 #include "JSWebKitCSSMatrix.cpp" 470 470 #include "JSWebKitMutationObserver.cpp" 471 #include "JSWebKitNamedFlow.cpp" 471 472 #include "JSWebKitPoint.cpp" 472 473 #include "JSWebKitTransitionEvent.cpp" -
trunk/Source/WebCore/DerivedSources.make
r101578 r102333 551 551 WebKitLoseContext \ 552 552 WebKitMutationObserver \ 553 WebKitNamedFlow \ 553 554 WebKitPoint \ 554 555 WebKitTransitionEvent \ -
trunk/Source/WebCore/DerivedSources.pri
r101376 r102333 175 175 dom/UIEvent.idl \ 176 176 dom/WebKitAnimationEvent.idl \ 177 dom/WebKitNamedFlow.idl \ 177 178 dom/WebKitTransitionEvent.idl \ 178 179 dom/WheelEvent.idl \ -
trunk/Source/WebCore/GNUmakefile.list.am
r102187 r102333 581 581 DerivedSources/WebCore/JSWebKitLoseContext.cpp \ 582 582 DerivedSources/WebCore/JSWebKitLoseContext.h \ 583 DerivedSources/WebCore/JSWebKitNamedFlow.cpp \ 584 DerivedSources/WebCore/JSWebKitNamedFlow.h \ 583 585 DerivedSources/WebCore/JSWebKitPoint.cpp \ 584 586 DerivedSources/WebCore/JSWebKitPoint.h \ … … 1387 1389 Source/WebCore/dom/WebKitMutationObserver.cpp \ 1388 1390 Source/WebCore/dom/WebKitMutationObserver.h \ 1391 Source/WebCore/dom/WebKitNamedFlow.cpp \ 1392 Source/WebCore/dom/WebKitNamedFlow.h \ 1389 1393 Source/WebCore/dom/WebKitTransitionEvent.cpp \ 1390 1394 Source/WebCore/dom/WebKitTransitionEvent.h \ -
trunk/Source/WebCore/Target.pri
r102239 r102333 581 581 dom/WebKitAnimationEvent.cpp \ 582 582 dom/WebKitMutationObserver.cpp \ 583 dom/WebKitNamedFlow.cpp \ 583 584 dom/WebKitTransitionEvent.cpp \ 584 585 dom/WheelEvent.cpp \ … … 1669 1670 dom/WebKitAnimationEvent.h \ 1670 1671 dom/WebKitMutationObserver.h \ 1672 dom/WebKitNamedFlow.h \ 1671 1673 dom/WebKitTransitionEvent.h \ 1672 1674 dom/WheelEvent.h \ -
trunk/Source/WebCore/WebCore.gypi
r102330 r102333 406 406 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMTreeWalker.h', 407 407 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMUIEvent.h', 408 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMWebKitNamedFlow.h', 409 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMWebKitNamedFlowInternal.h', 408 410 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMWheelEvent.h', 409 411 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMXPathExpression.h', … … 1229 1231 'dom/WebKitAnimationEvent.idl', 1230 1232 'dom/WebKitMutationObserver.idl', 1233 'dom/WebKitNamedFlow.idl', 1231 1234 'dom/WebKitTransitionEvent.idl', 1232 1235 'dom/WheelEvent.idl', … … 5425 5428 'dom/WebKitMutationObserver.cpp', 5426 5429 'dom/WebKitMutationObserver.h', 5430 'dom/WebKitNamedFlow.cpp', 5431 'dom/WebKitNamedFlow.h', 5427 5432 'dom/WebKitTransitionEvent.cpp', 5428 5433 'dom/WebKitTransitionEvent.h', … … 8157 8162 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitPoint.cpp', 8158 8163 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitPoint.h', 8164 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitNamedFlow.cpp', 8165 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitNamedFlow.h', 8159 8166 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.cpp', 8160 8167 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.h', -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r102187 r102333 22610 22610 > 22611 22611 </File> 22612 <File 22613 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSWebKitNamedFlow.cpp" 22614 > 22615 <FileConfiguration 22616 Name="Debug|Win32" 22617 ExcludedFromBuild="true" 22618 > 22619 <Tool 22620 Name="VCCLCompilerTool" 22621 /> 22622 </FileConfiguration> 22623 <FileConfiguration 22624 Name="Release|Win32" 22625 ExcludedFromBuild="true" 22626 > 22627 <Tool 22628 Name="VCCLCompilerTool" 22629 /> 22630 </FileConfiguration> 22631 <FileConfiguration 22632 Name="Debug_Cairo_CFLite|Win32" 22633 ExcludedFromBuild="true" 22634 > 22635 <Tool 22636 Name="VCCLCompilerTool" 22637 /> 22638 </FileConfiguration> 22639 <FileConfiguration 22640 Name="Release_Cairo_CFLite|Win32" 22641 ExcludedFromBuild="true" 22642 > 22643 <Tool 22644 Name="VCCLCompilerTool" 22645 /> 22646 </FileConfiguration> 22647 <FileConfiguration 22648 Name="Debug_All|Win32" 22649 ExcludedFromBuild="true" 22650 > 22651 <Tool 22652 Name="VCCLCompilerTool" 22653 /> 22654 </FileConfiguration> 22655 <FileConfiguration 22656 Name="Production|Win32" 22657 ExcludedFromBuild="true" 22658 > 22659 <Tool 22660 Name="VCCLCompilerTool" 22661 /> 22662 </FileConfiguration> 22663 </File> 22664 <File 22665 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSWebKitNamedFlow.h" 22666 > 22667 </File> 22612 22668 <File 22613 22669 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSWebKitPoint.cpp" … … 49663 49719 </File> 49664 49720 <File 49721 RelativePath="..\dom\WebKitNamedFlow.cpp" 49722 > 49723 <FileConfiguration 49724 Name="Debug|Win32" 49725 ExcludedFromBuild="true" 49726 > 49727 <Tool 49728 Name="VCCLCompilerTool" 49729 /> 49730 </FileConfiguration> 49731 <FileConfiguration 49732 Name="Release|Win32" 49733 ExcludedFromBuild="true" 49734 > 49735 <Tool 49736 Name="VCCLCompilerTool" 49737 /> 49738 </FileConfiguration> 49739 <FileConfiguration 49740 Name="Debug_Cairo_CFLite|Win32" 49741 ExcludedFromBuild="true" 49742 > 49743 <Tool 49744 Name="VCCLCompilerTool" 49745 /> 49746 </FileConfiguration> 49747 <FileConfiguration 49748 Name="Release_Cairo_CFLite|Win32" 49749 ExcludedFromBuild="true" 49750 > 49751 <Tool 49752 Name="VCCLCompilerTool" 49753 /> 49754 </FileConfiguration> 49755 <FileConfiguration 49756 Name="Debug_All|Win32" 49757 ExcludedFromBuild="true" 49758 > 49759 <Tool 49760 Name="VCCLCompilerTool" 49761 /> 49762 </FileConfiguration> 49763 <FileConfiguration 49764 Name="Production|Win32" 49765 ExcludedFromBuild="true" 49766 > 49767 <Tool 49768 Name="VCCLCompilerTool" 49769 /> 49770 </FileConfiguration> 49771 </File> 49772 <File 49773 RelativePath="..\dom\WebKitNamedFlow.h" 49774 > 49775 </File> 49776 <File 49665 49777 RelativePath="..\dom\WebKitTransitionEvent.cpp" 49666 49778 > -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r102187 r102333 2916 2916 89D08DA112228451001241DF /* AsyncFileSystemCallbacks.h in Headers */ = {isa = PBXBuildFile; fileRef = 89D08D9E12228451001241DF /* AsyncFileSystemCallbacks.h */; }; 2917 2917 8A12E35D11FA33280025836A /* DocumentLoadTiming.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A12E35C11FA33280025836A /* DocumentLoadTiming.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2918 8A195932147EA16E00D1EA61 /* DOMWebKitNamedFlow.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A19592F147EA16E00D1EA61 /* DOMWebKitNamedFlow.h */; }; 2919 8A195933147EA16E00D1EA61 /* DOMWebKitNamedFlow.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8A195930147EA16E00D1EA61 /* DOMWebKitNamedFlow.mm */; }; 2920 8A195934147EA16E00D1EA61 /* DOMWebKitNamedFlowInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A195931147EA16E00D1EA61 /* DOMWebKitNamedFlowInternal.h */; }; 2918 2921 8A309C9F123950BE00CB9204 /* NestingLevelIncrementer.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A309C9E123950BE00CB9204 /* NestingLevelIncrementer.h */; }; 2919 2922 8A413AE01207BBA50082016E /* ScriptRunner.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A413ADE1207BBA50082016E /* ScriptRunner.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 5815 5818 D70AD65713E1342B005B50B4 /* RenderRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D70AD65513E1342B005B50B4 /* RenderRegion.cpp */; }; 5816 5819 D70AD65813E1342B005B50B4 /* RenderRegion.h in Headers */ = {isa = PBXBuildFile; fileRef = D70AD65613E1342B005B50B4 /* RenderRegion.h */; }; 5820 D7613A501474F13F00DB8606 /* WebKitNamedFlow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D7613A4E1474F13F00DB8606 /* WebKitNamedFlow.cpp */; }; 5821 D7613AC414753E5600DB8606 /* JSWebKitNamedFlow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D7613AC214753E5600DB8606 /* JSWebKitNamedFlow.cpp */; }; 5817 5822 D8B6152F1032495100C8554A /* Cookie.h in Headers */ = {isa = PBXBuildFile; fileRef = D8B6152E1032495100C8554A /* Cookie.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5818 5823 DB23C2CB0A508D29002489EB /* IndentOutdentCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DB23C2C90A508D29002489EB /* IndentOutdentCommand.cpp */; }; … … 10117 10122 89D08D9E12228451001241DF /* AsyncFileSystemCallbacks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AsyncFileSystemCallbacks.h; sourceTree = "<group>"; }; 10118 10123 8A12E35C11FA33280025836A /* DocumentLoadTiming.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DocumentLoadTiming.h; sourceTree = "<group>"; }; 10124 8A19592F147EA16E00D1EA61 /* DOMWebKitNamedFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMWebKitNamedFlow.h; sourceTree = "<group>"; }; 10125 8A195930147EA16E00D1EA61 /* DOMWebKitNamedFlow.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMWebKitNamedFlow.mm; sourceTree = "<group>"; }; 10126 8A195931147EA16E00D1EA61 /* DOMWebKitNamedFlowInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMWebKitNamedFlowInternal.h; sourceTree = "<group>"; }; 10119 10127 8A309C9E123950BE00CB9204 /* NestingLevelIncrementer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NestingLevelIncrementer.h; path = parser/NestingLevelIncrementer.h; sourceTree = "<group>"; }; 10120 10128 8A413ADE1207BBA50082016E /* ScriptRunner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptRunner.h; sourceTree = "<group>"; }; … … 13169 13177 D70AD65513E1342B005B50B4 /* RenderRegion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderRegion.cpp; sourceTree = "<group>"; }; 13170 13178 D70AD65613E1342B005B50B4 /* RenderRegion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderRegion.h; sourceTree = "<group>"; }; 13179 D7613A4A1474EE9500DB8606 /* WebKitNamedFlow.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebKitNamedFlow.idl; sourceTree = "<group>"; }; 13180 D7613A4D1474F13F00DB8606 /* WebKitNamedFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitNamedFlow.h; sourceTree = "<group>"; }; 13181 D7613A4E1474F13F00DB8606 /* WebKitNamedFlow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebKitNamedFlow.cpp; sourceTree = "<group>"; }; 13182 D7613AC214753E5600DB8606 /* JSWebKitNamedFlow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebKitNamedFlow.cpp; sourceTree = "<group>"; }; 13183 D7613AC314753E5600DB8606 /* JSWebKitNamedFlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebKitNamedFlow.h; sourceTree = "<group>"; }; 13171 13184 D8B6152E1032495100C8554A /* Cookie.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cookie.h; sourceTree = "<group>"; }; 13172 13185 DB23C2C90A508D29002489EB /* IndentOutdentCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = IndentOutdentCommand.cpp; sourceTree = "<group>"; }; … … 15822 15835 85ACA99A0A9B575900671E90 /* DOMText.h */, 15823 15836 85ACA99B0A9B575900671E90 /* DOMText.mm */, 15837 8A19592F147EA16E00D1EA61 /* DOMWebKitNamedFlow.h */, 15838 8A195930147EA16E00D1EA61 /* DOMWebKitNamedFlow.mm */, 15839 8A195931147EA16E00D1EA61 /* DOMWebKitNamedFlowInternal.h */, 15824 15840 ); 15825 15841 name = Core; … … 18382 18398 C6F0902414327D4F00685849 /* JSWebKitMutationObserver.cpp */, 18383 18399 C6F0902514327D4F00685849 /* JSWebKitMutationObserver.h */, 18400 D7613AC214753E5600DB8606 /* JSWebKitNamedFlow.cpp */, 18401 D7613AC314753E5600DB8606 /* JSWebKitNamedFlow.h */, 18384 18402 ); 18385 18403 name = Core; … … 21382 21400 C6F0900614327B6100685849 /* WebKitMutationObserver.h */, 21383 21401 C6F0900714327B6100685849 /* WebKitMutationObserver.idl */, 21402 D7613A4A1474EE9500DB8606 /* WebKitNamedFlow.idl */, 21403 D7613A4D1474F13F00DB8606 /* WebKitNamedFlow.h */, 21404 D7613A4E1474F13F00DB8606 /* WebKitNamedFlow.cpp */, 21384 21405 31C0FF1E0E4CEB6E007D6FE5 /* WebKitTransitionEvent.cpp */, 21385 21406 31C0FF1F0E4CEB6E007D6FE5 /* WebKitTransitionEvent.h */, … … 24756 24777 6E3FAE8F14733FDB00E42306 /* WebGLCompressedTextures.h in Headers */, 24757 24778 265541391489811C000DFC5D /* KeyEventCodesIOS.h in Headers */, 24779 8A195932147EA16E00D1EA61 /* DOMWebKitNamedFlow.h in Headers */, 24780 8A195934147EA16E00D1EA61 /* DOMWebKitNamedFlowInternal.h in Headers */, 24758 24781 ); 24759 24782 runOnlyForDeploymentPostprocessing = 0; … … 27632 27655 6E3FAE8E14733FDB00E42306 /* WebGLCompressedTextures.cpp in Sources */, 27633 27656 2655413A1489811C000DFC5D /* KeyEventIOS.mm in Sources */, 27657 D7613A501474F13F00DB8606 /* WebKitNamedFlow.cpp in Sources */, 27658 D7613AC414753E5600DB8606 /* JSWebKitNamedFlow.cpp in Sources */, 27659 8A195933147EA16E00D1EA61 /* DOMWebKitNamedFlow.mm in Sources */, 27634 27660 ); 27635 27661 runOnlyForDeploymentPostprocessing = 0; -
trunk/Source/WebCore/bindings/gobject/GNUmakefile.am
r101244 r102333 247 247 DerivedSources/webkit/WebKitDOMWebKitPoint.cpp \ 248 248 DerivedSources/webkit/WebKitDOMWebKitPointPrivate.h \ 249 DerivedSources/webkit/WebKitDOMWebKitNamedFlow.cpp \ 249 250 DerivedSources/webkit/WebKitDOMXPathExpression.cpp \ 250 251 DerivedSources/webkit/WebKitDOMXPathExpressionPrivate.h \ … … 376 377 DerivedSources/webkit/WebKitDOMWebKitAnimationList.h \ 377 378 DerivedSources/webkit/WebKitDOMWebKitPoint.h \ 379 DerivedSources/webkit/WebKitDOMWebKitNamedFlow.h \ 378 380 DerivedSources/webkit/WebKitDOMDOMMimeType.h \ 379 381 DerivedSources/webkit/WebKitDOMDOMMimeTypeArray.h \ -
trunk/Source/WebCore/dom/DOMAllInOne.cpp
r99464 r102333 137 137 #include "ViewportArguments.cpp" 138 138 #include "WebKitAnimationEvent.cpp" 139 #include "WebKitNamedFlow.cpp" 139 140 #include "WebKitTransitionEvent.cpp" 140 141 #include "WheelEvent.cpp" -
trunk/Source/WebCore/dom/Document.cpp
r102278 r102333 119 119 #include "RegisteredEventListener.h" 120 120 #include "RenderArena.h" 121 #include "RenderFlowThread.h" 121 122 #include "RenderLayer.h" 122 123 #include "RenderLayerBacking.h" … … 143 144 #include "TreeWalker.h" 144 145 #include "UserContentURLPattern.h" 146 #include "WebKitNamedFlow.h" 145 147 #include "XMLDocumentParser.h" 146 148 #include "XMLHttpRequest.h" … … 991 993 992 994 return e.release(); 995 } 996 997 PassRefPtr<WebKitNamedFlow> Document::webkitGetFlowByName(const String& flowName) 998 { 999 if (!renderer()) 1000 return 0; 1001 if (RenderView* view = renderer()->view()) 1002 return view->ensureRenderFlowThreadWithName(flowName)->ensureNamedFlow(); 1003 return 0; 993 1004 } 994 1005 -
trunk/Source/WebCore/dom/Document.h
r102278 r102333 131 131 class DocumentParser; 132 132 class TreeWalker; 133 class WebKitNamedFlow; 133 134 class XMLHttpRequest; 134 135 class XPathEvaluator; … … 352 353 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser); 353 354 355 PassRefPtr<WebKitNamedFlow> webkitGetFlowByName(const String&); 356 354 357 /** 355 358 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by -
trunk/Source/WebCore/dom/Document.idl
r99612 r102333 247 247 [EnabledAtRuntime] void webkitCancelFullScreen(); 248 248 #endif 249 250 WebKitNamedFlow webkitGetFlowByName(in DOMString name); 249 251 250 252 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C -
trunk/Source/WebCore/dom/NodeRenderingContext.cpp
r95901 r102333 280 280 m_flowThread = m_style->flowThread(); 281 281 ASSERT(m_node->document()->renderView()); 282 m_parentFlowRenderer = m_node->document()->renderView()-> renderFlowThreadWithName(m_flowThread);282 m_parentFlowRenderer = m_node->document()->renderView()->ensureRenderFlowThreadWithName(m_flowThread); 283 283 } 284 284 -
trunk/Source/WebCore/rendering/RenderFlowThread.cpp
r102234 r102333 41 41 #include "RenderView.h" 42 42 #include "TransformState.h" 43 #include "WebKitNamedFlow.h" 43 44 44 45 namespace WebCore { … … 816 817 endRegion = range->endRegion(); 817 818 } 818 819 820 WebKitNamedFlow* RenderFlowThread::ensureNamedFlow() 821 { 822 if (!m_namedFlow) 823 m_namedFlow = WebKitNamedFlow::create(); 824 825 return m_namedFlow.get(); 826 } 827 819 828 } // namespace WebCore -
trunk/Source/WebCore/rendering/RenderFlowThread.h
r102234 r102333 44 44 class RenderStyle; 45 45 class RenderRegion; 46 class WebKitNamedFlow; 46 47 47 48 typedef ListHashSet<RenderFlowThread*> RenderFlowThreadList; … … 75 76 void addFlowChild(RenderObject* newChild, RenderObject* beforeChild = 0); 76 77 void removeFlowChild(RenderObject*); 78 bool hasChildren() const { return !m_flowThreadChildList.isEmpty(); } 77 79 78 80 void addRegionToThread(RenderRegion*); … … 125 127 const RenderRegion* oldStartRegion = 0, const RenderRegion* oldEndRegion = 0, 126 128 const RenderRegion* newStartRegion = 0, const RenderRegion* newEndRegion = 0); 129 130 WebKitNamedFlow* ensureNamedFlow(); 127 131 128 132 private: … … 183 187 bool m_regionsHaveUniformLogicalWidth; 184 188 bool m_regionsHaveUniformLogicalHeight; 189 RefPtr<WebKitNamedFlow> m_namedFlow; 185 190 }; 186 191 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r102268 r102333 147 147 // Only non-replaced block elements can become a region. 148 148 if (!style->regionThread().isEmpty() && doc->renderView()) 149 return new (arena) RenderRegion(node, doc->renderView()-> renderFlowThreadWithName(style->regionThread()));149 return new (arena) RenderRegion(node, doc->renderView()->ensureRenderFlowThreadWithName(style->regionThread())); 150 150 return new (arena) RenderBlock(node); 151 151 case LIST_ITEM: -
trunk/Source/WebCore/rendering/RenderView.cpp
r102234 r102333 880 880 } 881 881 882 RenderFlowThread* RenderView:: renderFlowThreadWithName(const AtomicString& flowThread)882 RenderFlowThread* RenderView::ensureRenderFlowThreadWithName(const AtomicString& flowThread) 883 883 { 884 884 if (!m_renderFlowThreadList) … … 895 895 flowRenderer->setStyle(RenderFlowThread::createFlowThreadStyle(style())); 896 896 addChild(flowRenderer); 897 897 898 898 m_renderFlowThreadList->add(flowRenderer); 899 899 setIsRenderFlowThreadOrderDirty(true); -
trunk/Source/WebCore/rendering/RenderView.h
r102234 r102333 173 173 IntRect documentRect() const; 174 174 175 RenderFlowThread* renderFlowThreadWithName(const AtomicString& flowThread);175 RenderFlowThread* ensureRenderFlowThreadWithName(const AtomicString& flowThread); 176 176 bool hasRenderFlowThreads() const { return m_renderFlowThreadList && !m_renderFlowThreadList->isEmpty(); } 177 177 void layoutRenderFlowThreads();
Note: See TracChangeset
for help on using the changeset viewer.