-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=68458 Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-14 Reviewed by Kenneth Rohde Christiansen. .: * Source/cmake/eflsymbols.filter: Export DumpRenderTreeSupportEfl symbols so that DumpRenderTree can link to them. Source/WebKit/efl: This class is similar to their counterparts present in the Qt and GTK+ ports, and it is responsible for providing an interface to certain WebCore methods needed by DumpRenderTree. * CMakeListsEfl.txt: Conditionally add the svg directories to the include path. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Added. (DumpRenderTreeSupportEfl::DumpRenderTreeSupportEfl): (DumpRenderTreeSupportEfl::~DumpRenderTreeSupportEfl): (DumpRenderTreeSupportEfl::activeAnimationsCount): (DumpRenderTreeSupportEfl::clearFrameName): (DumpRenderTreeSupportEfl::clearOpener): (DumpRenderTreeSupportEfl::counterValueByElementId): (DumpRenderTreeSupportEfl::frameChildren): (DumpRenderTreeSupportEfl::frameParent): (DumpRenderTreeSupportEfl::layoutFrame): (DumpRenderTreeSupportEfl::numberOfPages): (DumpRenderTreeSupportEfl::numberOfPagesForElementId): (DumpRenderTreeSupportEfl::pauseAnimation): (DumpRenderTreeSupportEfl::pauseSVGAnimation): (DumpRenderTreeSupportEfl::pauseTransition): (DumpRenderTreeSupportEfl::pendingUnloadEventCount): (DumpRenderTreeSupportEfl::renderTreeDump): (DumpRenderTreeSupportEfl::responseMimeType): (DumpRenderTreeSupportEfl::resumeAnimations): (DumpRenderTreeSupportEfl::selectionRectangle): (DumpRenderTreeSupportEfl::suitableDRTFrameName): (DumpRenderTreeSupportEfl::suspendAnimations): (DumpRenderTreeSupportEfl::findString): (DumpRenderTreeSupportEfl::garbageCollectorCollect): (DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread): (DumpRenderTreeSupportEfl::javaScriptObjectsCount): (DumpRenderTreeSupportEfl::workerThreadCount): (DumpRenderTreeSupportEfl::childHistoryItems): (DumpRenderTreeSupportEfl::historyItemTarget): (DumpRenderTreeSupportEfl::isTargetItem): (DumpRenderTreeSupportEfl::setMockScrollbarsEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: Added. * ewk/ewk_frame.cpp: (EWKPrivate::coreFrame): Export the WebCore::Frame* related to an ewk_frame. * ewk/ewk_history.cpp: Remove functions which have been moved to DumpRenderTreeSupportEfl. (_ewk_history_item_list_get): _ewk_history_item_new -> ewk_history_item_new_from_core. (ewk_history_history_item_back_get): Ditto. (ewk_history_history_item_current_get): Ditto. (ewk_history_history_item_forward_get): Ditto. (ewk_history_history_item_nth_get): Ditto. (ewk_history_item_new): Ditto. (ewk_history_item_new_from_core): Rename from _ewk_history_item_new. (EWKPrivate::coreHistoryItem): Export the WebCore::HistoryItem* related to an Ewk_History_Item. * ewk/ewk_private.h: Create the EWKPrivate namespace, remove functions which have been moved to DumpRenderTreeSupportEfl. * ewk/ewk_util.cpp: Remove functions which have been moved to DumpRenderTreeSupportEfl. * ewk/ewk_view.cpp: (EWKPrivate::corePage): Export the WebCore::Page* related to an ewk_view. Tools: Make the calls in DumpRenderTree use DumpRenderTreeSupportEfl. * DumpRenderTree/efl/DumpRenderTreeChrome.cpp: (DumpRenderTreeChrome::initialize): Turn on mock scrollbars. (DumpRenderTreeChrome::resetDefaultsToConsistentValues): (DumpRenderTreeChrome::onWindowObjectCleared): (DumpRenderTreeChrome::onDocumentLoadFinished): * DumpRenderTree/efl/GCControllerEfl.cpp: (GCController::collect): (GCController::collectOnAlternateThread): (GCController::getJSObjectCount): * DumpRenderTree/efl/LayoutTestControllerEfl.cpp: (LayoutTestController::counterValueForElementById): (LayoutTestController::pageNumberForElementById): (LayoutTestController::numberOfPages): (LayoutTestController::workerThreadCount): (LayoutTestController::findString): (LayoutTestController::pauseAnimationAtTimeOnElementWithId): (LayoutTestController::pauseTransitionAtTimeOnElementWithId): (LayoutTestController::sampleSVGAnimationForElementAtTime): (LayoutTestController::numberOfActiveAnimations): (LayoutTestController::suspendAnimations): (LayoutTestController::resumeAnimations): * DumpRenderTree/efl/PixelDumpSupportEfl.cpp: (createBitmapContextFromWebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1024e04b