WebKit-https.git
7 years agoUnreviewed, rolling out r147773 and r147774.
rniwa@webkit.org [Fri, 5 Apr 2013 20:04:25 +0000 (20:04 +0000)]
Unreviewed, rolling out r147773 and r147774.
http://trac.webkit.org/changeset/147773
http://trac.webkit.org/changeset/147774
https://bugs.webkit.org/show_bug.cgi?id=114056

Causing some exceptions on AppEngine I don't understand
(Requested by rniwa on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-04-05

* QueueStatusServer/config/queues.py:
* QueueStatusServer/model/queues.py:
(Queue.short_name):
(Queue.display_name):
* QueueStatusServer/model/queues_unittest.py:
(QueueTest.test_short_name):
(QueueTest.test_display_name):
(QueueTest.test_name_with_underscores):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147791 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the remaining Chromium files from WebCore
rniwa@webkit.org [Fri, 5 Apr 2013 19:55:35 +0000 (19:55 +0000)]
Remove the remaining Chromium files from WebCore
https://bugs.webkit.org/show_bug.cgi?id=114055

Reviewed by Benjamin Poulain.

Removed.

* Resources/pagepopups/chromium: Removed.
* Resources/pagepopups/chromium/calendarPickerChromium.css: Removed.
* Resources/pagepopups/chromium/pickerCommonChromium.css: Removed.
* html/shadow/MediaControlsChromium.cpp: Removed.
* html/shadow/MediaControlsChromium.h: Removed.
* html/shadow/MediaControlsChromiumAndroid.cpp: Removed.
* html/shadow/MediaControlsChromiumAndroid.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFixed run-bindings-tests by removing V8
ggaren@apple.com [Fri, 5 Apr 2013 19:49:20 +0000 (19:49 +0000)]
Fixed run-bindings-tests by removing V8
https://bugs.webkit.org/show_bug.cgi?id=114053

Reviewed by Benjamin Poulain.

* Scripts/run-bindings-tests:
(main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147789 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/css
rniwa@webkit.org [Fri, 5 Apr 2013 19:48:12 +0000 (19:48 +0000)]
Remove Chromium code from WebCore/css
https://bugs.webkit.org/show_bug.cgi?id=114052

Reviewed by Benjamin Poulain.

Removed.

* css/mediaControlsChromium.css: Removed.
* css/mediaControlsChromiumAndroid.css: Removed.
* css/themeChromium.css: Removed.
* css/themeChromiumAndroid.css: Removed.
* css/themeChromiumLinux.css: Removed.
* css/themeChromiumSkia.css: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147788 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[GStreamer] Segfault when attempting to install missing plugins
commit-queue@webkit.org [Fri, 5 Apr 2013 19:45:03 +0000 (19:45 +0000)]
[GStreamer] Segfault when attempting to install missing plugins
https://bugs.webkit.org/show_bug.cgi?id=114046

gst_install_plugins_async expects a null terminated list, but we weren't
adding a null terminator.

Patch by Brendan Long <self@brendanlong.com> on 2013-04-05
Reviewed by Philippe Normand.

No new tests since this just fixes a segfault.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147787 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the chromium code for WebCore's indexeddb module
benjamin@webkit.org [Fri, 5 Apr 2013 19:40:18 +0000 (19:40 +0000)]
Remove the chromium code for WebCore's indexeddb module
https://bugs.webkit.org/show_bug.cgi?id=114004

Reviewed by Ryosuke Niwa.

* Modules/indexeddb/IDBBackingStore.cpp:
(WebCore::IDBBackingStore::IDBBackingStore):
* Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::openConnection):
(WebCore::IDBDatabaseBackendImpl::close):
* Modules/indexeddb/IDBFactoryBackendInterface.cpp:
* Modules/indexeddb/IDBTracing.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147786 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:36:19 +0000 (19:36 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147785 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:36:11 +0000 (19:36 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147784 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:34:17 +0000 (19:34 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147783 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:34:13 +0000 (19:34 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147782 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:34:10 +0000 (19:34 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:34:04 +0000 (19:34 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147780 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved a chunk of the v8 bindings. Reviewed by Sam 'Anders Carlsson' Weinig. I...
ggaren@apple.com [Fri, 5 Apr 2013 19:33:57 +0000 (19:33 +0000)]
Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147779 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoCleanup after git svn left empty directories.
rniwa@webkit.org [Fri, 5 Apr 2013 19:30:42 +0000 (19:30 +0000)]
Cleanup after git svn left empty directories.

* loader/chromium: Removed.
* page/chromium: Removed.
* page/scrolling/chromium: Removed.
* plugins/chromium: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoActually delete platform/chromium.
rniwa@webkit.org [Fri, 5 Apr 2013 19:27:33 +0000 (19:27 +0000)]
Actually delete platform/chromium.

* platform/chromium: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[EFL][WK2] --no-tiled-backing-store build fails because of not used #if USE(COORDINAT...
commit-queue@webkit.org [Fri, 5 Apr 2013 19:27:11 +0000 (19:27 +0000)]
[EFL][WK2] --no-tiled-backing-store build fails because of not used #if USE(COORDINATED_GRAPHICS)
https://bugs.webkit.org/show_bug.cgi?id=113629

Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-05
Reviewed by Simon Fraser.

Wrapped code related to coordinated graphics with #if USE(COORDINATED_GRAPHICS)
* UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp:
* UIProcess/efl/WebView.cpp:
(WebKit::WebView::initialize):
(WebKit):
(WebKit::WebView::paintToCairoSurface):
(WebKit::WebView::updateViewportSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/platform
rniwa@webkit.org [Fri, 5 Apr 2013 19:24:05 +0000 (19:24 +0000)]
Remove Chromium code from WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=114014

Reviewed by Anders Carlsson.

Removed.

* platform/audio/chromium: Removed.
* platform/audio/chromium/AudioBusChromium.cpp: Removed.
* platform/audio/chromium/AudioDestinationChromium.cpp: Removed.
* platform/audio/chromium/AudioDestinationChromium.h: Removed.
* platform/audio/chromium/FFTFrameOpenMAXDLAndroid.cpp: Removed.
* platform/graphics/FontPlatformData.h:
* platform/graphics/chromium: Removed.
* platform/graphics/chromium/AnimationTranslationUtil.cpp: Removed.
* platform/graphics/chromium/AnimationTranslationUtil.h: Removed.
* platform/graphics/chromium/Canvas2DLayerBridge.cpp: Removed.
* platform/graphics/chromium/Canvas2DLayerBridge.h: Removed.
* platform/graphics/chromium/Canvas2DLayerManager.cpp: Removed.
* platform/graphics/chromium/Canvas2DLayerManager.h: Removed.
* platform/graphics/chromium/CrossProcessFontLoading.h: Removed.
* platform/graphics/chromium/CrossProcessFontLoading.mm: Removed.
* platform/graphics/chromium/DeferredImageDecoder.cpp: Removed.
* platform/graphics/chromium/DeferredImageDecoder.h: Removed.
* platform/graphics/chromium/DiscardablePixelRef.cpp: Removed.
* platform/graphics/chromium/DiscardablePixelRef.h: Removed.
* platform/graphics/chromium/DrawingBufferChromium.cpp: Removed.
* platform/graphics/chromium/Extensions3DChromium.h: Removed.
* platform/graphics/chromium/FontCacheAndroid.cpp: Removed.
* platform/graphics/chromium/FontCacheChromiumLinux.cpp: Removed.
* platform/graphics/chromium/FontCacheChromiumWin.cpp: Removed.
* platform/graphics/chromium/FontChromiumWin.cpp: Removed.
* platform/graphics/chromium/FontPlatformData.h: Removed.
* platform/graphics/chromium/FontPlatformDataChromiumWin.cpp: Removed.
* platform/graphics/chromium/FontPlatformDataChromiumWin.h: Removed.
* platform/graphics/chromium/FontRenderStyle.h: Removed.
* platform/graphics/chromium/FontUtilsChromiumWin.cpp: Removed.
* platform/graphics/chromium/FontUtilsChromiumWin.h: Removed.
* platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: Removed.
* platform/graphics/chromium/GraphicsLayerChromium.cpp: Removed.
* platform/graphics/chromium/GraphicsLayerChromium.h: Removed.
* platform/graphics/chromium/IconChromium.cpp: Removed.
* platform/graphics/chromium/IconChromiumAndroid.cpp: Removed.
* platform/graphics/chromium/ImageBufferDataSkia.h: Removed.
* platform/graphics/chromium/ImageChromium.cpp: Removed.
* platform/graphics/chromium/ImageDecodingStore.cpp: Removed.
* platform/graphics/chromium/ImageDecodingStore.h: Removed.
* platform/graphics/chromium/ImageFrameGenerator.cpp: Removed.
* platform/graphics/chromium/ImageFrameGenerator.h: Removed.
* platform/graphics/chromium/LayerPainterChromium.h: Removed.
* platform/graphics/chromium/LazyDecodingPixelRef.cpp: Removed.
* platform/graphics/chromium/LazyDecodingPixelRef.h: Removed.
* platform/graphics/chromium/MediaPlayerPrivateChromium.cpp: Removed.
* platform/graphics/chromium/MediaPlayerPrivateChromium.h: Removed.
* platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp: Removed.
* platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.h: Removed.
* platform/graphics/chromium/PlatformIcon.h: Removed.
* platform/graphics/chromium/ScaledImageFragment.cpp: Removed.
* platform/graphics/chromium/ScaledImageFragment.h: Removed.
* platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Removed.
* platform/graphics/chromium/SkSizeHash.h: Removed.
* platform/graphics/chromium/TextureUploader.h: Removed.
* platform/graphics/chromium/ThreadSafeDataTransport.cpp: Removed.
* platform/graphics/chromium/ThreadSafeDataTransport.h: Removed.
* platform/graphics/chromium/TransformSkMatrix44Conversions.cpp: Removed.
* platform/graphics/chromium/TransformSkMatrix44Conversions.h: Removed.
* platform/graphics/chromium/TransparencyWin.cpp: Removed.
* platform/graphics/chromium/TransparencyWin.h: Removed.
* platform/graphics/chromium/UniscribeHelper.cpp: Removed.
* platform/graphics/chromium/UniscribeHelper.h: Removed.
* platform/graphics/chromium/UniscribeHelperTextRun.cpp: Removed.
* platform/graphics/chromium/UniscribeHelperTextRun.h: Removed.
* platform/graphics/chromium/VDMXParser.cpp: Removed.
* platform/graphics/chromium/VDMXParser.h: Removed.
* platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore):
* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3DImpl::getOrCreateContext):
* platform/mediastream/chromium: Removed.
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp: Removed.
* platform/mediastream/chromium/MediaStreamCenterChromium.h: Removed.
* platform/mediastream/chromium/RTCDTMFSenderHandlerChromium.cpp: Removed.
* platform/mediastream/chromium/RTCDTMFSenderHandlerChromium.h: Removed.
* platform/mediastream/chromium/RTCDataChannelHandlerChromium.cpp: Removed.
* platform/mediastream/chromium/RTCDataChannelHandlerChromium.h: Removed.
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp: Removed.
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h: Removed.
* platform/network/chromium: Removed.
* platform/network/chromium/AuthenticationChallenge.h: Removed.
* platform/network/chromium/AuthenticationChallengeChromium.cpp: Removed.
* platform/network/chromium/BlobRegistryProxy.cpp: Removed.
* platform/network/chromium/BlobRegistryProxy.h: Removed.
* platform/network/chromium/CookieJarChromium.cpp: Removed.
* platform/network/chromium/DNSChromium.cpp: Removed.
* platform/network/chromium/ResourceError.h: Removed.
* platform/network/chromium/ResourceHandle.cpp: Removed.
* platform/network/chromium/ResourceHandleInternal.h: Removed.
* platform/network/chromium/ResourceRequest.cpp: Removed.
* platform/network/chromium/ResourceRequest.h: Removed.
* platform/network/chromium/ResourceResponse.cpp: Removed.
* platform/network/chromium/ResourceResponse.h: Removed.
* platform/network/chromium/SocketStreamError.h: Removed.
* platform/network/chromium/SocketStreamHandle.cpp: Removed.
* platform/network/chromium/SocketStreamHandle.h: Removed.
* platform/network/chromium/SocketStreamHandleInternal.h: Removed.
* platform/sql/chromium: Removed.
* platform/sql/chromium/SQLiteFileSystemChromium.cpp: Removed.
* platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp: Removed.
* platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp: Removed.
* platform/text/chromium: Removed.
* platform/text/chromium/Hyphenation.cpp: Removed.
* platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147775 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoBuild fix.
rniwa@webkit.org [Fri, 5 Apr 2013 19:17:36 +0000 (19:17 +0000)]
Build fix.

* QueueStatusServer/model/queues.py:
(Queue.short_name):
(Queue.display_name):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147774 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium EWS bots from the queue status server
rniwa@webkit.org [Fri, 5 Apr 2013 19:08:49 +0000 (19:08 +0000)]
Remove Chromium EWS bots from the queue status server
https://bugs.webkit.org/show_bug.cgi?id=113988

Reviewed by Benjamin Poulain.

Removed Chromium EWS bots.

* QueueStatusServer/config/queues.py:
* QueueStatusServer/model/queues.py:
(Queue.short_name):
(Queue.display_name):
* QueueStatusServer/model/queues_unittest.py:
(QueueTest.test_short_name):
(QueueTest.test_display_name):
(QueueTest.test_name_with_underscores):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/workers
rniwa@webkit.org [Fri, 5 Apr 2013 18:57:07 +0000 (18:57 +0000)]
Remove Chromium code from WebCore/workers
https://bugs.webkit.org/show_bug.cgi?id=114050

Reviewed by Anders Carlsson.

Removed.

* workers/WorkerLoaderProxy.h:
(WorkerLoaderProxy):
* workers/chromium: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147772 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/storage
rniwa@webkit.org [Fri, 5 Apr 2013 18:54:50 +0000 (18:54 +0000)]
Remove Chromium code from WebCore/storage
https://bugs.webkit.org/show_bug.cgi?id=114049

Reviewed by Anders Carlsson.

Removed.

* storage/StorageNamespace.cpp:
* storage/chromium: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147771 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[SOUP] Remove unnecessary explicit keyword in SocketStreamError.h
commit-queue@webkit.org [Fri, 5 Apr 2013 18:42:21 +0000 (18:42 +0000)]
[SOUP] Remove unnecessary explicit keyword in SocketStreamError.h
https://bugs.webkit.org/show_bug.cgi?id=113913

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-05
Reviewed by Martin Robinson.

No new tests, just removing an unnecessary code.

* platform/network/soup/SocketStreamError.h:
(WebCore::SocketStreamError::SocketStreamError):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147769 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[EFL] Enable indexed database
commit-queue@webkit.org [Fri, 5 Apr 2013 18:39:45 +0000 (18:39 +0000)]
[EFL] Enable indexed database
https://bugs.webkit.org/show_bug.cgi?id=107248

Patch by Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> on 2013-04-05
Reviewed by Alexis Menard.

.:

* Source/cmake/OptionsEfl.cmake:

Tools:

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

* platform/efl-wk1/TestExpectations:
* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove vestiges of Chromium bits from watchlists.
dglazkov@chromium.org [Fri, 5 Apr 2013 18:35:04 +0000 (18:35 +0000)]
Remove vestiges of Chromium bits from watchlists.
https://bugs.webkit.org/show_bug.cgi?id=114047

Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/common/config/watchlist: Removed vestiges.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove WTF_USE_GOOGLEURL-guarded code
commit-queue@webkit.org [Fri, 5 Apr 2013 18:18:49 +0000 (18:18 +0000)]
Remove WTF_USE_GOOGLEURL-guarded code
https://bugs.webkit.org/show_bug.cgi?id=114028

Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-04-05
Reviewed by Ryosuke Niwa.

Source/WebCore:

The only remaining usage of the USE(GOOGLEURL) guards is in LinkHashChromium.cpp that will
get removed when purging the Source/WebCore/platform/chromium directory.

* config.h: Remove the define that was Chromium-specific.
* platform/KURL.cpp:
(WebCore):
(WebCore::KURL::reportMemoryUsage):
(WebCore::KURL::isSafeToSendToAnotherThread):
* platform/KURL.h:
(KURL):
* platform/KURLGoogle.cpp: Removed.
* platform/KURLGooglePrivate.h: Removed.

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataUseFeatures.in: Remove GOOGLEURL from the list.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[regression] Security: Heap-use-after-free in WebCore::RenderBlock::logicalRightOffse...
zoltan@webkit.org [Fri, 5 Apr 2013 18:13:17 +0000 (18:13 +0000)]
[regression] Security: Heap-use-after-free in WebCore::RenderBlock::logicalRightOffsetForLine
https://bugs.webkit.org/show_bug.cgi?id=111594

Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-04-05
Reviewed by David Hyatt.

Source/WebCore:

Swapping the bases was causing any floats in the right base to be
lost, so change the code so that it no longer swaps the bases.

Test: fast/ruby/float-object-doesnt-crash.html

* rendering/RenderRubyRun.cpp:
(WebCore::RenderRubyRun::removeChild): Don't swap the bases anymore.

LayoutTests:

Add test to verify that the use-after-free is fixed. Note that it will
only crash when run under a memory checking tool like ASAN.

* fast/ruby/float-object-doesnt-crash-expected.txt: Added.
* fast/ruby/float-object-doesnt-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove dead code
andersca@apple.com [Fri, 5 Apr 2013 17:54:25 +0000 (17:54 +0000)]
Remove dead code
https://bugs.webkit.org/show_bug.cgi?id=114043

Reviewed by Beth Dakin.

* platform/PublicSuffix.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove dead Chromium code from WebCore/workers
andersca@apple.com [Fri, 5 Apr 2013 17:48:28 +0000 (17:48 +0000)]
Remove dead Chromium code from WebCore/workers
https://bugs.webkit.org/show_bug.cgi?id=114039

Reviewed by Antti Koivisto.

* workers/WorkerContext.cpp:
(WebCore::WorkerContext::importScripts):
* workers/WorkerLoaderProxy.h:
* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerContextProxy::create):
* workers/WorkerScriptLoader.cpp:
(WebCore::WorkerScriptLoader::WorkerScriptLoader):
(WebCore::WorkerScriptLoader::createResourceRequest):
* workers/WorkerScriptLoader.h:
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::workerThread):
* workers/chromium/WorkerContextProxyChromium.cpp: Removed.
* workers/chromium/WorkerContextProxyChromium.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147761 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/plugins
rniwa@webkit.org [Fri, 5 Apr 2013 17:44:22 +0000 (17:44 +0000)]
Remove Chromium code from WebCore/plugins
https://bugs.webkit.org/show_bug.cgi?id=114015

Reviewed by Andreas Kling.

Removed.

* plugins/chromium: Removed.
* plugins/chromium/PluginDataChromium.cpp: Removed.
* plugins/chromium/PluginDataChromium.h: Removed.
* plugins/chromium/PluginListBuilder.cpp: Removed.
* plugins/chromium/PluginListBuilder.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoASSERTION FAILED: m_repaintRect == renderer()->clippedOverflowRectForRepaint(renderer...
simon.fraser@apple.com [Fri, 5 Apr 2013 17:36:12 +0000 (17:36 +0000)]
ASSERTION FAILED: m_repaintRect == renderer()->clippedOverflowRectForRepaint(renderer()->containerForRepaint()) after r135816
https://bugs.webkit.org/show_bug.cgi?id=103432

Reviewed by Allan Sandfeld Jensen.

Remove optimization added in r99752 that attempted to avoid clip rect
updates for table cells. As the assertions show, this optimization
is not always correct, so remove it. Bug 108272 tracks adding it back in.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::updateLayerPositionsAfterScroll): Remove m_canSkipRepaintRectsUpdateOnScroll
check when updating clip rects.
* rendering/RenderLayer.h: Remove the m_canSkipRepaintRectsUpdateOnScroll bit.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[css exclusions] Dynamically removing shape-inside should cause relayout of child...
betravis@adobe.com [Fri, 5 Apr 2013 17:30:27 +0000 (17:30 +0000)]
[css exclusions] Dynamically removing shape-inside should cause relayout of child blocks' inline content
https://bugs.webkit.org/show_bug.cgi?id=111029

Reviewed by David Hyatt.

Source/WebCore:

Preserve a removed ExclusionShapeInsideInfo for one additional layout pass
so that it can notify descendant inline content to relayout. This patch adds
a new 'needsRemoval' boolean to ExclusionShapeInsideInfo, which is set when
a style change removes but does not replace a shape-inside. When determining
whether a block needs to relayout inline children, ExclusionShapeInsideInfos with
the needsRemoval boolean set are included, but at other times (such as during
inline layout), they are ignored.

Added tests to the existing dynamic shape testfile
fast/exclusions/shape-inside/shape-inside-dynamic-nested.html

* rendering/ExclusionShapeInsideInfo.h:
(WebCore::ExclusionShapeInsideInfo::setNeedsRemoval): Get/Set the
needsRemoval boolean.
(WebCore::ExclusionShapeInsideInfo::needsRemoval): Ditto.
(ExclusionShapeInsideInfo):
(WebCore::ExclusionShapeInsideInfo::ExclusionShapeInsideInfo):
Initialize the needsRemoval boolean.
* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState): Propagate removed shape insides
for layout correctly. You only need to track one at a time, and a
removed shape inside should not take precedence over a set shape-inside.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange):
Set the ExclusionShapeInsideInfo needsRemoval boolean, rather than immediately
removing the info.
(WebCore::exclusionInfoRequiresRelayout): Account for the needsRemoval
boolean as another way of requiring relayout.
(WebCore::RenderBlock::updateRegionsAndExclusionsBeforeChildLayout):
Look up whether an ExclusionShapeInsideInfo has been removed.
(WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
Remove any ExclusionShapeInsides marked for removal after a layout pass.
(WebCore):
(WebCore::RenderBlock::layoutBlock): Call the new updateRegionsAndExclusions
Before/After methods.
* rendering/RenderBlock.h:
(WebCore::RenderBlock::exclusionShapeInsideInfo): Filter the result based
on whether it should include removed infos.
(RenderBlock):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutExclusionShapeInsideInfo): Ditto.
* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
Same as RenderBlock::layoutBlock.
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock): Ditto.
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::layoutBlock): Ditto.

LayoutTests:

Test that removed shape-insides correctly cause relayout in their blocks'
inline content.

* fast/exclusions/shape-inside/shape-inside-dynamic-nested-expected.html:
* fast/exclusions/shape-inside/shape-inside-dynamic-nested.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoAdd James Craig to the contributors list.
cfleizach@apple.com [Fri, 5 Apr 2013 17:28:10 +0000 (17:28 +0000)]
Add James Craig to the contributors list.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[CSS Regions] Elements in a region should be assignable to a named flow
commit-queue@webkit.org [Fri, 5 Apr 2013 17:15:09 +0000 (17:15 +0000)]
[CSS Regions] Elements in a region should be assignable to a named flow
https://bugs.webkit.org/show_bug.cgi?id=74144

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-04-05
Reviewed by David Hyatt.

Source/WebCore:

DOM children of a region must not be rendered as children of the region, but can be collected in flow threads.

NodeRenderingContext::parentRenderer now creates the parent render flow thread if it doesn't exist.

Element::moveToFlowThreadIsNeeded is a virtual method that is overriden in PseudoElement to return false and
in SVGElement so only svg root elements can directly be collected by a render flow thread.

RenderObject::canDOMChildrenHaveRenderParent exists to optimize the code so nodes inside regions (and maybe
other types of renderers in the future) can still have renderers if they need to be in a flow thread while the
rest of renderers that can't have children skip the new instructions.

Tests: fast/regions/flow-body-in-html.html . To test the duplicate bug #103685.
       fast/regions/region-content-flown-into-region.html
       fast/regions/universal-selector-children-to-the-same-region.html . To test the duplicate bug #103685.

* dom/Element.cpp:
(WebCore::Element::moveToFlowThreadIsNeeded):
* dom/Element.h:
* dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::parentRenderer): the renderer that will be the parent for this node's renderer.
In the case of RenderFlowThreads, it may need to create it.
(WebCore::NodeRenderingContext::shouldCreateRenderer): In a region, only the children that need to be in a flow
thread should have a renderer.
(WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
(WebCore::NodeRenderingContext::moveToFlowThread):
* dom/NodeRenderingContext.h:
(NodeRenderingContext):
* dom/PseudoElement.h: pseudo-elements cannot be directly collected into a named flow.
* dom/Text.cpp:
(WebCore::Text::textRendererIsNeeded):
(WebCore::Text::updateTextRenderer): Because calling textRendererIsNeeded(NodeRenderingContext(...)) on a
non-const l-value NodeRenderingContext cannot be done on a temporary object on the stack.
* dom/Text.h:
* rendering/FlowThreadController.cpp:
(WebCore::FlowThreadController::isContentNodeRegisteredWithAnyNamedFlow):
* rendering/FlowThreadController.h:
* rendering/RenderObject.h:
(WebCore::RenderObject::canDOMChildrenHaveRenderParent): Even if this render object can't have render children,
the children in the DOM tree may have a render parent (that is different from this render object).
* rendering/RenderRegion.h:
* svg/SVGElement.cpp:
(WebCore::SVGElement::moveToFlowThreadIsNeeded): Allow only svg root elements to be directly collected by a
render flow thread.
* svg/SVGElement.h:
(SVGElement):

LayoutTests:

* fast/regions/flow-body-in-html-expected.txt: Added.
* fast/regions/flow-body-in-html.html: Added. To test the duplicate bug #103685.
* fast/regions/region-content-flown-into-region-expected.html: Added.
* fast/regions/region-content-flown-into-region.html: Added.
* fast/regions/universal-selector-children-to-the-same-region-expected.txt: Added.
* fast/regions/universal-selector-children-to-the-same-region.html: Added. To test the duplicate bug #103685.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove more dead Chromium code from WTF
andersca@apple.com [Fri, 5 Apr 2013 16:51:39 +0000 (16:51 +0000)]
Remove more dead Chromium code from WTF
https://bugs.webkit.org/show_bug.cgi?id=114037

Reviewed by Allan Sandfeld Jensen.

* wtf/CurrentTime.cpp:
(WTF):
* wtf/DisallowCType.h:
* wtf/ExportMacros.h:
* wtf/MainThread.cpp:
* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147755 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoAllow the Web Inspector to use WebSQL.
timothy@apple.com [Fri, 5 Apr 2013 16:40:31 +0000 (16:40 +0000)]
Allow the Web Inspector to use WebSQL.

This fixes an exception on load in the Safari Web Inspector.

https://webkit.org/b/114040
rdar://problem/13581422

Reviewed by Anders Carlsson.

Source/WebKit/mac:

* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Added.

Source/WebKit2:

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::exceededDatabaseQuota): Added.
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Hook up exceededDatabaseQuota.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoAdd SPI to get a copy of the context menu at a given point.
beidson@apple.com [Fri, 5 Apr 2013 16:26:40 +0000 (16:26 +0000)]
Add SPI to get a copy of the context menu at a given point.
<rdar://problem/13450908> and https://bugs.webkit.org/show_bug.cgi?id=113958

Reviewed by Andy Estes.

Add the new accessor:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::contextMenuAtPoint):
* WebProcess/WebPage/WebPage.h:

Expose the new SPI:
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCopyContextMenuAtPoint):
* WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFix GCC with C++11 build
allan.jensen@digia.com [Fri, 5 Apr 2013 16:13:06 +0000 (16:13 +0000)]
Fix GCC with C++11 build
https://bugs.webkit.org/show_bug.cgi?id=111579

Reviewed by Anders Carlsson.

If the destructor is private, MemoryInstrumentation can not create an inherited class.

* css/PropertySetCSSStyleDeclaration.h:
(StyleRuleCSSStyleDeclaration):
* dom/ShadowRoot.h:
(ShadowRoot):
* loader/SubresourceLoader.h:
(SubresourceLoader):
* platform/Timer.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[Qt] Create ShadowBlur on demand.
allan.jensen@digia.com [Fri, 5 Apr 2013 15:52:08 +0000 (15:52 +0000)]
[Qt] Create ShadowBlur on demand.
https://bugs.webkit.org/show_bug.cgi?id=113506

Reviewed by Noam Rosenthal.

This patch creates ShadowBlur objects on demand instead of keeping a single one alive for
each GraphicsContext. This matches what other platforms does and fixes the problem with
an active shadowblur being affected by changing shadow settings on the GraphicsContext.

The method mustUseShadowBlur is moved from ShadowBlur to GraphcisContext, so that it can
be used to determine if a ShadowBlur object should even be generated.

* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::hasBlurredShadow):
(WebCore::GraphicsContext::mustUseShadowBlur):
* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/graphics/ShadowBlur.cpp:
(WebCore::ShadowBlur::ShadowBlur):
* platform/graphics/ShadowBlur.h:
* platform/graphics/cairo/FontCairo.cpp:
(WebCore::drawGlyphsShadow):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::fillRectWithRoundedHole):
* platform/graphics/qt/FontQt.cpp:
(WebCore::drawQtGlyphRun):
* platform/graphics/qt/GraphicsContextQt.cpp:
(GraphicsContextPlatformPrivate):
(WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
(WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
(WebCore::GraphicsContext::restorePlatformState):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::fillRectWithRoundedHole):
(WebCore::GraphicsContext::setPlatformShadow):
(WebCore::GraphicsContext::clearPlatformShadow):
* platform/graphics/qt/ImageQt.cpp:
(WebCore::BitmapImage::draw):
* platform/graphics/qt/StillImageQt.cpp:
(WebCore::StillImage::draw):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/page
rniwa@webkit.org [Fri, 5 Apr 2013 15:49:35 +0000 (15:49 +0000)]
Remove Chromium code from WebCore/page
https://bugs.webkit.org/show_bug.cgi?id=114013

Reviewed by Anders Carlsson.

Removed.

* page/Console.cpp:
(WebCore::Console::time):
(WebCore::Console::timeEnd):
* page/EventHandler.cpp:
(WebCore::shouldGesturesTriggerActive):
(WebCore::EventHandler::handleMouseReleaseEvent):
(WebCore):
(WebCore::EventHandler::sendScrollEventToView):
* page/FeatureObserver.cpp:
(WebCore::FeatureObserver::updateMeasurements):
* page/FrameView.cpp:
(WebCore::FrameView::layout):
(WebCore::FrameView::useSlowRepaints):
* page/PageConsole.cpp:
* page/PageGroup.cpp:
(WebCore::PageGroup::isLinkVisited):
(WebCore::PageGroup::addVisitedLink):
* page/Settings.cpp:
(WebCore):
* page/android: Removed.
* page/chromium: Removed.
* page/chromium/ChromeClientChromium.h: Removed.
* page/chromium/DragControllerChromium.cpp: Removed.
* page/chromium/EventHandlerChromium.cpp: Removed.
* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::create):
(WebCore):
* page/scrolling/ScrollingCoordinator.h:
(ScrollingCoordinator):
* page/scrolling/ScrollingTree.cpp:
(WebCore):
* page/scrolling/ScrollingTree.h:
(ScrollingTree):
* page/scrolling/chromium: Removed.
* page/scrolling/chromium/ScrollingCoordinatorChromium.cpp: Removed.
* page/scrolling/chromium/ScrollingCoordinatorChromium.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/rendering
rniwa@webkit.org [Fri, 5 Apr 2013 15:45:51 +0000 (15:45 +0000)]
Remove Chromium code from WebCore/rendering
https://bugs.webkit.org/show_bug.cgi?id=114017

Reviewed by Simon Fraser.

Removed.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::setLogicalWidthForTextRun):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::requiresHorizontalScrollbarLayer):
(WebCore::RenderLayerBacking::requiresVerticalScrollbarLayer):
(WebCore::RenderLayerBacking::requiresScrollCornerLayer):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::paintContents):
(WebCore::shouldCompositeOverflowControls):
(WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
* rendering/RenderMediaControlsChromium.cpp: Removed.
* rendering/RenderMediaControlsChromium.h: Removed.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::shouldRespectImageOrientation):
* rendering/RenderText.cpp:
(WebCore):
(WebCore::RenderText::previousOffsetForBackwardDeletion):
* rendering/RenderThemeChromiumAndroid.cpp: Removed.
* rendering/RenderThemeChromiumAndroid.h: Removed.
* rendering/RenderThemeChromiumCommon.cpp: Removed.
* rendering/RenderThemeChromiumCommon.h: Removed.
* rendering/RenderThemeChromiumDefault.cpp: Removed.
* rendering/RenderThemeChromiumDefault.h: Removed.
* rendering/RenderThemeChromiumFontProvider.cpp: Removed.
* rendering/RenderThemeChromiumFontProvider.h: Removed.
* rendering/RenderThemeChromiumFontProviderLinux.cpp: Removed.
* rendering/RenderThemeChromiumFontProviderWin.cpp: Removed.
* rendering/RenderThemeChromiumMac.h: Removed.
* rendering/RenderThemeChromiumMac.mm: Removed.
* rendering/RenderThemeChromiumSkia.cpp: Removed.
* rendering/RenderThemeChromiumSkia.h: Removed.
* rendering/RenderThemeChromiumWin.cpp: Removed.
* rendering/RenderThemeChromiumWin.h: Removed.
* rendering/RenderThemeMacShared.mm:
(WebCore::RenderThemeMacShared::paintSliderThumb):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147748 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] Blitting wrong rect during history navigations
zhajiang@rim.com [Fri, 5 Apr 2013 15:26:48 +0000 (15:26 +0000)]
[BlackBerry] Blitting wrong rect during history navigations
https://bugs.webkit.org/show_bug.cgi?id=113963

Patch by Jacky Jiang <zhajiang@rim.com>.
Reviewed by Rob Buis.
Internally reviewed by Jakob Petsovits.

On www.bbc.com/news, we blit wrong rect during the second restoration
of the view states when we navigate back from stories to the main page.
Update the contents size and scroll position before we render and blit
if we failed to zoomAboutPoint so that UI thread can still get the
correct rect during blit.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::restoreHistoryViewState):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[Texmap] css3/filters/filter-animation-from-none-hw.html does not animate
commit-queue@webkit.org [Fri, 5 Apr 2013 14:50:54 +0000 (14:50 +0000)]
[Texmap] css3/filters/filter-animation-from-none-hw.html does not animate
https://bugs.webkit.org/show_bug.cgi?id=114026

Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Allow the filter's blending function to take place when animating from/to none.

* platform/graphics/GraphicsLayerAnimation.cpp:
(WebCore::applyFilterAnimation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[CoordGfx] Enable filter animations
commit-queue@webkit.org [Fri, 5 Apr 2013 14:47:55 +0000 (14:47 +0000)]
[CoordGfx] Enable filter animations
https://bugs.webkit.org/show_bug.cgi?id=114027

Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Allow CoordinatedGraphicsLayer to serialize filter animations to the UI process.

Covered by animation tests in css3/filters.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::addAnimation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] Replace map{From,To}Transformed() with ViewportAccessor
commit-queue@webkit.org [Fri, 5 Apr 2013 14:45:19 +0000 (14:45 +0000)]
[BlackBerry] Replace map{From,To}Transformed() with ViewportAccessor
https://bugs.webkit.org/show_bug.cgi?id=113449

Patch by Jakob Petsovits <jpetsovits@blackberry.com> on 2013-04-05
Reviewed by Rob Buis.

This removes the WebPage/BackingStoreClient family of coordinate
transformation functions, which were widely disliked for their
naming, with ViewportAccessor API that had previously been
introduced for limited use cases. This commit takes care of the
remaining call sites and leaves us with a single API to use.

No new tests, only a clean-up/refactor of existing code & functionality.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::repaint):
(BlackBerry::WebKit::BackingStorePrivate::slowScroll):
(BlackBerry::WebKit::BackingStorePrivate::visibleContentsRect):
(BlackBerry::WebKit::BackingStorePrivate::unclippedVisibleContentsRect):
(BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::expandedContentsSize):
* Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::clipToRect):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPagePrivate::scrollPosition):
(BlackBerry::WebKit::WebPagePrivate::maximumScrollPosition):
(BlackBerry::WebKit::WebPagePrivate::setScrollPosition):
(BlackBerry::WebKit::WebPagePrivate::viewportSize):
(BlackBerry::WebKit::WebPagePrivate::actualVisibleSize):
(BlackBerry::WebKit::WebPagePrivate::layoutFinished):
(BlackBerry::WebKit::WebPagePrivate::notifyTransformedContentsSizeChanged):
(BlackBerry::WebKit::WebPagePrivate::updateCursor):
(BlackBerry::WebKit::WebPagePrivate::focusNodeRect):
(BlackBerry::WebKit::WebPagePrivate::contextNode):
(BlackBerry::WebKit::WebPagePrivate::blockZoomRectForNode):
(BlackBerry::WebKit::WebPagePrivate::zoomAnimationFinished):
(BlackBerry::WebKit::WebPagePrivate::handleMouseEvent):
(BlackBerry::WebKit::WebPage::blockZoom):
* Api/WebPage_p.h:
(WebPagePrivate):
* WebKitSupport/BackingStoreClient.cpp:
(BlackBerry::WebKit::BackingStoreClient::transformedScrollPosition):
(BlackBerry::WebKit::BackingStoreClient::transformedMaximumScrollPosition):
(BlackBerry::WebKit::BackingStoreClient::actualVisibleSize):
(BlackBerry::WebKit::BackingStoreClient::transformedActualVisibleSize):
* WebKitSupport/BackingStoreClient.h:
(BackingStoreClient):
* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::fingerRectForPoint):
(BlackBerry::WebKit::FatFingers::FatFingers):
(BlackBerry::WebKit::FatFingers::findBestPoint):
(BlackBerry::WebKit::FatFingers::findIntersectingRegions):
(BlackBerry::WebKit::FatFingers::getNodesFromRect):
* WebKitSupport/InRegionScrollableArea.cpp:
(BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible):
* WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::sendClickAtFatFingersPoint):
(BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):
(BlackBerry::WebKit::TouchEventHandler::handleFatFingerPressed):
* WebKitSupport/WebKitThreadViewportAccessor.cpp:
(BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelContentsSize):
(BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelScrollPosition):
(BlackBerry::WebKit::WebKitThreadViewportAccessor::documentViewportSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147744 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[EFL] Disable GLOBAL_FAST_MALLOC_NEW by default.
rakuco@webkit.org [Fri, 5 Apr 2013 13:42:35 +0000 (13:42 +0000)]
[EFL] Disable GLOBAL_FAST_MALLOC_NEW by default.
https://bugs.webkit.org/show_bug.cgi?id=114031

Reviewed by Alexis Menard.

Follow what some other ports already do and avoid globally overriding
the `new' and `delete' operators with the ones in FastMalloc.

In many cases, third-party or client code allocates memory with
standard library calls but the memory gets deleted by FastMalloc,
causing a crash. The reverse (ie. memory being allocated by FastMalloc
and freed by the system libraries) is also possible.

Commits 135666 and 121018 provide more information about this, as well
as comment 6 in bug 89358.

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147743 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoAvoid double hash table lookups in TextureMapperGL
ch.dumez@sisa.samsung.com [Fri, 5 Apr 2013 13:26:01 +0000 (13:26 +0000)]
Avoid double hash table lookups in TextureMapperGL
https://bugs.webkit.org/show_bug.cgi?id=114030

Reviewed by Noam Rosenthal.

Use Vector::add() and leverage its returned AddResult value instead of
calling Vector::find() then Vector::set() if the key does not already
exist in the map. This results in a single hash lookup instead of two
in this case.

No new tests, no behavior change.

* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGLData::SharedGLData::getShaderProgram):
(WebCore::TextureMapperGLData::getStaticVBO):
(WebCore::TextureMapperGL::drawUsingCustomFilter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[WK2][EFL] WebView should own page position and scale factor
mikhail.pozdnyakov@intel.com [Fri, 5 Apr 2013 13:17:16 +0000 (13:17 +0000)]
[WK2][EFL] WebView should own page position and scale factor
https://bugs.webkit.org/show_bug.cgi?id=111075

Reviewed by Andreas Kling.

View content position and content scale factor should belong to WebView
rather than to EwkView as it decreases EwkView usage inside EFL-agnostic
WebView and improves WebView encapsulation.

* UIProcess/API/C/efl/WKView.cpp:
(WKViewGetContentScaleFactor):
(WKViewSetContentScaleFactor):

    New WKView API was added to set and get content scale factor.
    The view content scale factor is not the same as page scale factor:
    it always applies to content but not necessarily applies to the page.
    The view content scale factor is calculated by viewport controller
    and applies immediately for painting in UI process. Page scale factor
    is updated later after the frame is rendered to accomplish the pending
    scale change.

(WKViewGetContentPosition):
(WKViewSetContentPosition):

    New WKView API was added to set and get content position.
    Content position is set in UI units.

* UIProcess/API/C/efl/WKView.h:
* UIProcess/API/efl/EwkView.cpp:
(EwkView::EwkView):
* UIProcess/API/efl/EwkView.h:
(EwkView):
* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::setViewportPosition):
(WebKit::PageViewportControllerClientEfl::setPageScaleFactor):
* UIProcess/efl/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::paintToCairoSurface):
(WebKit::WebView::transformToScene):
(WebKit::WebView::updateViewportSize):
(WebKit::WebView::pageDidRequestScroll):
* UIProcess/efl/WebView.h:
(WebKit::WebView::setContentScaleFactor):
(WebKit::WebView::contentScaleFactor):
(WebView):
(WebKit::WebView::setContentPosition):
(WebKit::WebView::contentPosition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] Remove unused parameters from notifyAnimationStarted() and paintContents()
commit-queue@webkit.org [Fri, 5 Apr 2013 12:50:46 +0000 (12:50 +0000)]
[BlackBerry] Remove unused parameters from notifyAnimationStarted() and paintContents()
https://bugs.webkit.org/show_bug.cgi?id=114022

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

Naming the 'time' and 'inClip' unused parameters only produces
compiler warnings.

* Api/WebOverlay_p.h:
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyAnimationStarted):
(WebOverlayPrivateWebKitThread):
* Api/WebPage_p.h:
(BlackBerry::WebKit::WebPagePrivate::notifyAnimationStarted):
(BlackBerry::WebKit::WebPagePrivate::paintContents):
* WebKitSupport/DefaultTapHighlight.h:
(BlackBerry::WebKit::DefaultTapHighlight::notifyAnimationStarted):
* WebKitSupport/InspectorOverlayBlackBerry.cpp:
(BlackBerry::WebKit::InspectorOverlay::paintContents):
* WebKitSupport/InspectorOverlayBlackBerry.h:
(BlackBerry::WebKit::InspectorOverlay::notifyAnimationStarted):
(InspectorOverlay):
* WebKitSupport/SelectionOverlay.h:
(BlackBerry::WebKit::SelectionOverlay::notifyAnimationStarted):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147740 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoSource/WebCore: Updating mouse cursor on style changes without emitting fake mousemov...
commit-queue@webkit.org [Fri, 5 Apr 2013 12:38:41 +0000 (12:38 +0000)]
Source/WebCore: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Mouse cursor changes in styles used to be reflected in UI through dispatching a fake
mousemove event. The old approach has some flaws: it emits a mousemove event in
javascript when there is no mouse movement involved (bug 85343); the fake mousemove
event is cancelled while there is a mouse button held down - cursor won't change
until mouse is moved or the button released (bug 53341).

The new approach does not use the fake mousemove event. Instead, it uses only the logic
needed for the actual cursor change to happen.

EventHandler::selectCursor was refactored to not take a whole mouse event but instead work with
HitTestResult so that EventHandler::updateCursor must not create a useless PlatformEvent.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=85343 (mousemove event on cursor change)
       https://bugs.webkit.org/show_bug.cgi?id=53341 (no cursor change when mouse button down)

Tests: fast/events/mouse-cursor-change.html
       fast/events/mouse-cursor-no-mousemove.html

* page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::cursorUpdateTimerFired):
(WebCore::EventHandler::updateCursor):
(WebCore::EventHandler::selectCursor):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::scheduleCursorUpdate):
* page/EventHandler.h:
* page/FrameView.cpp:
(WebCore::FrameView::shouldSetCursor):
* page/FrameView.h:
* page/MouseEventWithHitTestResults.cpp:
(WebCore::MouseEventWithHitTestResults::isOverLink):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::isOverLink):
* rendering/HitTestResult.h:
* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleDidChange):

LayoutTests: Updating mouse cursor on style changes without emitting fake mousemove event
https://bugs.webkit.org/show_bug.cgi?id=101857
Changing CSS cursor should work no matter is mouse button is pressed or not
https://bugs.webkit.org/show_bug.cgi?id=53341

Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
Reviewed by Allan Sandfeld Jensen.

Added tests for changing cursor on mousemove, mousedown, mouseup and mousemove
while mouse button being held down. Also added test to verify that a mousemove
event is not fired for changing cursor when mouse is not moving.

* fast/events/mouse-cursor-change-expected.txt: Added.
* fast/events/mouse-cursor-change.html: Added.
* fast/events/mouse-cursor-no-mousemove-expected.txt: Added.
* fast/events/mouse-cursor-no-mousemove.html: Added.
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] WebOverlay: fix access to m_client
commit-queue@webkit.org [Fri, 5 Apr 2013 12:26:25 +0000 (12:26 +0000)]
[BlackBerry] WebOverlay: fix access to m_client
https://bugs.webkit.org/show_bug.cgi?id=114003

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Rob Buis.

m_client was replace by m_overlay in r146058.

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[Qt] PluginsX11: exposedRect offset is applied twice when painting windowless
jocelyn.turcotte@digia.com [Fri, 5 Apr 2013 11:27:48 +0000 (11:27 +0000)]
[Qt] PluginsX11: exposedRect offset is applied twice when painting windowless
https://bugs.webkit.org/show_bug.cgi?id=114020

Reviewed by Simon Hausmann.

Both XGetImage and QPainter::drawImage would apply the offset.
Since the XImage will only contain the exposed rect, no need to specify
the source rect to drawImage.

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::paintUsingXPixmap):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
commit-queue@webkit.org [Fri, 5 Apr 2013 11:01:21 +0000 (11:01 +0000)]
[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
https://bugs.webkit.org/show_bug.cgi?id=114009

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

These methods were removed in r133517 but were accidentally
introduced again in r145968.
The previous patch didn't remove them all.

* WebKitSupport/DefaultTapHighlight.cpp:
* WebKitSupport/DefaultTapHighlight.h:
(DefaultTapHighlight):
* WebKitSupport/InspectorOverlayBlackBerry.cpp:
* WebKitSupport/InspectorOverlayBlackBerry.h:
(InspectorOverlay):
* WebKitSupport/SelectionOverlay.cpp:
* WebKitSupport/SelectionOverlay.h:
(SelectionOverlay):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoWeb Inspector: crash in InspectorDOMAgent::innerHighlightQuad after r147566
commit-queue@webkit.org [Fri, 5 Apr 2013 09:28:35 +0000 (09:28 +0000)]
Web Inspector: crash in InspectorDOMAgent::innerHighlightQuad after r147566
https://bugs.webkit.org/show_bug.cgi?id=113991

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-05
Reviewed by Joseph Pecoraro.

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::innerHighlightQuad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoREGRESSION(r145279): Build fails while linking when MEDIA_STREAM is enabled
commit-queue@webkit.org [Fri, 5 Apr 2013 09:25:25 +0000 (09:25 +0000)]
REGRESSION(r145279): Build fails while linking when MEDIA_STREAM is enabled
https://bugs.webkit.org/show_bug.cgi?id=113294

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-05
Reviewed by Xan Lopez.

In r145279 NamedGetter extended attribute is added to
RTCStatsResponse.idl which makes the code generator to add
prototypes for JSRTCStatsResponse::nameGetter and
JSRTCStatsResponse::canGetItemsForName to the generated
JSRTCStatsResponse header, but they are not implemented
anywhere. We need to provide a JSRTCStatsResponseCustom file with
the implementation of both functions.

* GNUmakefile.list.am: Add JSRTCStatsResponseCustom.cpp to
compilation.
* Target.pri: Ditto.
* UseJSC.cmake: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj: Ditto.
* WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
* bindings/js/JSRTCStatsResponseCustom.cpp: Added.
(WebCore):
(WebCore::JSRTCStatsResponse::canGetItemsForName):
(WebCore::JSRTCStatsResponse::nameGetter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/loader
rniwa@webkit.org [Fri, 5 Apr 2013 09:12:07 +0000 (09:12 +0000)]
Remove Chromium code from WebCore/loader
https://bugs.webkit.org/show_bug.cgi?id=114011

Reviewed by Benjamin Poulain.

Removed.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):
* loader/DocumentThreadableLoader.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::FrameLoader):
(WebCore::FrameLoader::defaultObjectContentType):
(WebCore):
* loader/FrameLoader.h:
(FrameLoader):
* loader/FrameLoaderClient.h:
(FrameLoaderClient):
* loader/PingLoader.cpp:
(WebCore::PingLoader::loadImage):
(WebCore::PingLoader::sendPing):
(WebCore::PingLoader::sendViolationReport):
* loader/ResourceLoadScheduler.cpp:
(WebCore):
(WebCore::ResourceLoadScheduler::ResourceLoadScheduler):
(WebCore::ResourceLoadScheduler::scheduleLoad):
* loader/ResourceLoader.h:
* loader/SubresourceLoader.h:
* loader/ThreadableLoaderClient.h:
(ThreadableLoaderClient):
* loader/ThreadableLoaderClientWrapper.h:
(ThreadableLoaderClientWrapper):
* loader/appcache/ApplicationCacheHost.h:
(WebCore):
(ApplicationCacheHost):
* loader/cache/CachedRawResource.h:
(CachedRawResource):
(WebCore::CachedRawResourceClient::redirectReceived):
* loader/cache/CachedResource.cpp:
(WebCore):
(WebCore::CachedResource::load):
* loader/cache/CachedResource.h:
(WebCore::CachedResource::didSendData):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::preload):
* loader/chromium: Removed.
* loader/chromium/CachedRawResourceChromium.cpp: Removed.
* loader/chromium/DocumentThreadableLoaderChromium.cpp: Removed.
* loader/chromium/ResourceLoaderChromium.cpp: Removed.
* loader/chromium/SubresourceLoaderChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147730 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoLLint should be able to use x87 instead of SSE for floating pointer
allan.jensen@digia.com [Fri, 5 Apr 2013 09:05:03 +0000 (09:05 +0000)]
LLint should be able to use x87 instead of SSE for floating pointer

https://bugs.webkit.org/show_bug.cgi?id=112239

Reviewed by Filip Pizlo.

Implements LLInt floating point operations in x87, to ensure we support
x86 without SSE2.

X86 (except 64bit) now defaults to using x87 instructions in order to
support all 32bit x86 back to i686. The implementation uses the fucomi
instruction from i686 which sets the new minimum.

* offlineasm/x86.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
commit-queue@webkit.org [Fri, 5 Apr 2013 08:59:30 +0000 (08:59 +0000)]
[BlackBerry] WebOverlayPrivate: remove showDebugBorders() and showRepaintCounter()
https://bugs.webkit.org/show_bug.cgi?id=114009

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

These methods were removed in r133517 but were accidentally
introduced again in r145968.

* Api/WebOverlay_p.h:
(WebOverlayPrivateWebKitThread):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Fri, 5 Apr 2013 08:25:49 +0000 (08:25 +0000)]
Unreviewed GTK gardening.

* platform/gtk/TestExpectations: Removing a couple of expectations for tests that are now passing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147727 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] WebOverlay: check if platformContext is null
commit-queue@webkit.org [Fri, 5 Apr 2013 08:24:50 +0000 (08:24 +0000)]
[BlackBerry] WebOverlay: check if platformContext is null
https://bugs.webkit.org/show_bug.cgi?id=114005

Patch by Anthony Scian <ascian@blackberry.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

RIM PR 256522
Internally reviewed by Mike Lattanzio.

The pointer returned by lockBufferDrawable can be null, so it
needs to be checked first before being used.

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[GTK][WK2] WebKitLoaderClient: add missing initializers
commit-queue@webkit.org [Fri, 5 Apr 2013 08:22:13 +0000 (08:22 +0000)]
[GTK][WK2] WebKitLoaderClient: add missing initializers
https://bugs.webkit.org/show_bug.cgi?id=112961

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-05
Reviewed by Carlos Garcia Campos.

There are two new attributes: pluginLoadPolicy and pluginDidFail.

* UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFix GTK+ for real after r147712
benjamin@webkit.org [Fri, 5 Apr 2013 08:20:29 +0000 (08:20 +0000)]
Fix GTK+ for real after r147712

Reviewed by Ryosuke Niwa.

.:

* GNUmakefile.am:
* Source/Platform: Added.
* Source/Platform/GNUmakefile.am: Added.

Source/Platform:

* GNUmakefile.am: Added.
* Platform: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[WK2][EFL] Encapsulate view states set-up within WebView
mikhail.pozdnyakov@intel.com [Fri, 5 Apr 2013 08:20:10 +0000 (08:20 +0000)]
[WK2][EFL] Encapsulate view states set-up within WebView
https://bugs.webkit.org/show_bug.cgi?id=110877

Reviewed by Benjamin Poulain.

View states set-up is encapsulated within WebView. This change
reduces both usage of EwkView inside WebView class and usage of
WebPageProxy inside EwkView class.

New WKView API was added so that EwkView can define whether or not
the view is visible and focused.

* UIProcess/API/C/efl/WKView.cpp:
(WKViewIsFocused):
(WKViewSetIsFocused):
(WKViewIsVisible):
(WKViewSetIsVisible):
* UIProcess/API/C/efl/WKView.h:
* UIProcess/API/efl/EwkView.cpp:
(::handleEvent):
(EwkView::handleEvasObjectShow):
(EwkView::handleEwkViewFocusIn):
(EwkView::handleEwkViewFocusOut):
* UIProcess/API/efl/EwkView.h:
* UIProcess/efl/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::setFocused):
(WebKit):
(WebKit::WebView::setVisible):
(WebKit::WebView::isViewFocused):
(WebKit::WebView::isViewVisible):
* UIProcess/efl/WebView.h:
(WebKit::WebView::isFocused):
(WebView):
(WebKit::WebView::isVisible):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[EFL] New baseline for accessibility/aria-option-role.html
commit-queue@webkit.org [Fri, 5 Apr 2013 08:10:19 +0000 (08:10 +0000)]
[EFL] New baseline for accessibility/aria-option-role.html
https://bugs.webkit.org/show_bug.cgi?id=114006

Unreviewed, EFL gardening.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-04-05

* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:
* platform/efl/accessibility/aria-option-role-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/editing
rniwa@webkit.org [Fri, 5 Apr 2013 08:02:32 +0000 (08:02 +0000)]
Remove Chromium code from WebCore/editing
https://bugs.webkit.org/show_bug.cgi?id=114008

Reviewed by Benjamin Poulain.

Removed.

* editing/EditingBehavior.h:
(WebCore::EditingBehavior::shouldAllowSpellingSuggestionsWithoutSelection):
* editing/FrameSelection.h:
(WebCore):
* editing/chromium: Removed.
* editing/chromium/EditorChromium.cpp: Removed.
* editing/chromium/FrameSelectionChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the chromium code from the filesystem module
benjamin@webkit.org [Fri, 5 Apr 2013 07:55:23 +0000 (07:55 +0000)]
Remove the chromium code from the filesystem module
https://bugs.webkit.org/show_bug.cgi?id=114002

Reviewed by Ryosuke Niwa.

* Modules/filesystem/DOMFileSystemBase.cpp:
(WebCore::DOMFileSystemBase::createFileSystemURL):
* Modules/filesystem/FileSystemType.h:
* Modules/filesystem/LocalFileSystem.cpp:
* Modules/filesystem/LocalFileSystem.h:
(LocalFileSystem):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from Source/WebCore/dom
rniwa@webkit.org [Fri, 5 Apr 2013 07:48:24 +0000 (07:48 +0000)]
Remove Chromium code from Source/WebCore/dom
https://bugs.webkit.org/show_bug.cgi?id=114007

Reviewed by Benjamin Poulain.

Removed.

* dom/Document.cpp:
(WebCore::Document::recalcStyle):
(WebCore::Document::implicitClose):
(WebCore::Document::setFocusedNode):
* dom/MessagePortChannel.h:
(MessagePortChannel):
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::ShadowRoot):
* dom/default/chromium: Removed.
* dom/default/chromium/PlatformMessagePortChannelChromium.cpp: Removed.
* dom/default/chromium/PlatformMessagePortChannelChromium.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the chromium directories from WebCore/Modules
benjamin@webkit.org [Fri, 5 Apr 2013 07:32:07 +0000 (07:32 +0000)]
Remove the chromium directories from WebCore/Modules
https://bugs.webkit.org/show_bug.cgi?id=114000

Reviewed by Ryosuke Niwa.

First step in cleaning the code: remove the chromium-specific files.

* Modules/filesystem/chromium/DOMFileSystemChromium.cpp: Removed.
* Modules/filesystem/chromium/DataTransferItemFileSystemChromium.cpp: Removed.
* Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp: Removed.
* Modules/filesystem/chromium/DraggedIsolatedFileSystem.h: Removed.
* Modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.cpp: Removed.
* Modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.h: Removed.
* Modules/speech/chromium/SpeechSynthesisChromium.cpp: Removed.
* Modules/webdatabase/chromium/DatabaseObserver.h: Removed.
* Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp: Removed.
* Modules/webdatabase/chromium/QuotaTracker.cpp: Removed.
* Modules/webdatabase/chromium/QuotaTracker.h: Removed.
* Modules/webdatabase/chromium/SQLTransactionClientChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147718 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFix GTK+ build after r147712
benjamin@webkit.org [Fri, 5 Apr 2013 07:25:20 +0000 (07:25 +0000)]
Fix GTK+ build after r147712

Unreviewed.

* GNUmakefile.am: remove the reference to
Source/Platform/GNUmakefile.am. The file has been removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium code from WebCore/accessibility
rniwa@webkit.org [Fri, 5 Apr 2013 07:12:17 +0000 (07:12 +0000)]
Remove Chromium code from WebCore/accessibility
https://bugs.webkit.org/show_bug.cgi?id=114001

Reviewed by Benjamin Poulain.

Removed.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::AccessibilityObject):
(WebCore::AccessibilityObject::detach):
(WebCore::AccessibilityObject::isDetached):
* accessibility/AccessibilityObject.h:
(AccessibilityObject):
* accessibility/chromium: Removed.
* accessibility/chromium/AXObjectCacheChromium.cpp: Removed.
* accessibility/chromium/AccessibilityObjectChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147716 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove WTFURL from WebKit
benjamin@webkit.org [Fri, 5 Apr 2013 07:05:48 +0000 (07:05 +0000)]
Remove WTFURL from WebKit
https://bugs.webkit.org/show_bug.cgi?id=113994

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-05
Reviewed by Ryosuke Niwa.

.:

* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/WebCore:

* GNUmakefile.list.am:
* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:
* platform/KURL.cpp:
(WebCore):
(WebCore::KURL::reportMemoryUsage):
(WebCore::KURL::isSafeToSendToAnotherThread):
* platform/KURL.h:
(KURL):
(WebCore):
* platform/KURLWTFURL.cpp: Removed.
* platform/KURLWTFURLImpl.h: Removed.
* platform/cf/KURLCFNet.cpp:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):
(WebCore):
* platform/mac/KURLMac.mm:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataUseFeatures.in:

Source/WTF:

Painful, but that is for the best now :(

* GNUmakefile.list.am:
* WTF.xcodeproj/project.pbxproj:
* wtf/MemoryInstrumentationParsedURL.h: Removed.
* wtf/url/api/ParsedURL.cpp: Removed.
* wtf/url/api/ParsedURL.h: Removed.
* wtf/url/api/URLBuffer.h: Removed.
* wtf/url/api/URLQueryCharsetConverter.h: Removed.
* wtf/url/api/URLString.cpp: Removed.
* wtf/url/api/URLString.h: Removed.
* wtf/url/src/RawURLBuffer.h: Removed.
* wtf/url/src/URLCanon.h: Removed.
* wtf/url/src/URLCanonEtc.cpp: Removed.
* wtf/url/src/URLCanonFilesystemurl.cpp: Removed.
* wtf/url/src/URLCanonFileurl.cpp: Removed.
* wtf/url/src/URLCanonHost.cpp: Removed.
* wtf/url/src/URLCanonICU.cpp: Removed.
* wtf/url/src/URLCanonIP.cpp: Removed.
* wtf/url/src/URLCanonInternal.cpp: Removed.
* wtf/url/src/URLCanonInternal.h: Removed.
* wtf/url/src/URLCanonMailto.cpp: Removed.
* wtf/url/src/URLCanonPath.cpp: Removed.
* wtf/url/src/URLCanonPathurl.cpp: Removed.
* wtf/url/src/URLCanonQuery.cpp: Removed.
* wtf/url/src/URLCanonRelative.cpp: Removed.
* wtf/url/src/URLCanonStdURL.cpp: Removed.
* wtf/url/src/URLCharacterTypes.cpp: Removed.
* wtf/url/src/URLCharacterTypes.h: Removed.
* wtf/url/src/URLComponent.h: Removed.
* wtf/url/src/URLFile.h: Removed.
* wtf/url/src/URLParse.cpp: Removed.
* wtf/url/src/URLParse.h: Removed.
* wtf/url/src/URLParseFile.cpp: Removed.
* wtf/url/src/URLParseInternal.h: Removed.
* wtf/url/src/URLSegments.cpp: Removed.
* wtf/url/src/URLSegments.h: Removed.
* wtf/url/src/URLUtil.cpp: Removed.
* wtf/url/src/URLUtil.h: Removed.
* wtf/url/src/URLUtilInternal.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147715 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Webkit/chromium
benjamin@webkit.org [Fri, 5 Apr 2013 06:55:43 +0000 (06:55 +0000)]
Remove Webkit/chromium
https://bugs.webkit.org/show_bug.cgi?id=113998

Reviewed by Ryosuke Niwa.

O Knights of Ni, you are just and fair, and we will return with a shrubbery.

* chromium: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoWinCairo build fails to link.
commit-queue@webkit.org [Fri, 5 Apr 2013 06:46:48 +0000 (06:46 +0000)]
WinCairo build fails to link.
https://bugs.webkit.org/show_bug.cgi?id=113873

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-04-04
Reviewed by Brent Fulgham.

Removed double guards for USE(ACCELERATED_COMPOSITING),
and moved methods out of USE(ACCELERATED_COMPOSITING) guard to fix linker errors.

* page/FrameView.cpp:
(WebCore::FrameView::setWantsLayerForTopOverHangArea):
(WebCore::FrameView::setWantsLayerForBottomOverHangArea):
(WebCore::FrameView::setWantsLayerForHeader):
(WebCore::FrameView::setWantsLayerForFooter):
(WebCore::FrameView::setHeaderHeight):
(WebCore::FrameView::setFooterHeight):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the top level gyp directory and Platform/chromium
rniwa@webkit.org [Fri, 5 Apr 2013 06:39:48 +0000 (06:39 +0000)]
Remove the top level gyp directory and Platform/chromium
https://bugs.webkit.org/show_bug.cgi?id=113999

Reviewed by Benjamin Poulain.

.:

* Source/Platform: Removed.
* Source/gyp: Removed.

Source/Platform:

* Platform.gyp: Removed.
* Platform.gyp/.gitignore: Removed.
* Platform.gyp/Platform.gyp: Removed.
* Platform.gypi: Removed.
* chromium: Removed.
* chromium/public: Removed.
* chromium/public/Platform.h: Removed.
* chromium/public/WebAnimation.h: Removed.
* chromium/public/WebAnimationCurve.h: Removed.
* chromium/public/WebAnimationDelegate.h: Removed.
* chromium/public/WebAudioBus.h: Removed.
* chromium/public/WebAudioDestinationConsumer.h: Removed.
* chromium/public/WebAudioDevice.h: Removed.
* chromium/public/WebBlobData.h: Removed.
* chromium/public/WebBlobRegistry.h: Removed.
* chromium/public/WebCString.h: Removed.
* chromium/public/WebCanvas.h: Removed.
* chromium/public/WebClipboard.h: Removed.
* chromium/public/WebColor.h: Removed.
* chromium/public/WebCommon.h: Removed.
* chromium/public/WebCompositorOutputSurface.h: Removed.
* chromium/public/WebCompositorSupport.h: Removed.
* chromium/public/WebContentLayer.h: Removed.
* chromium/public/WebContentLayerClient.h: Removed.
* chromium/public/WebCookie.h: Removed.
* chromium/public/WebCookieJar.h: Removed.
* chromium/public/WebData.h: Removed.
* chromium/public/WebDiscardableMemory.h: Removed.
* chromium/public/WebDragData.h: Removed.
* chromium/public/WebExternalTextureLayer.h: Removed.
* chromium/public/WebExternalTextureLayerClient.h: Removed.
* chromium/public/WebFileError.h: Removed.
* chromium/public/WebFileInfo.h: Removed.
* chromium/public/WebFileSystem.h: Removed.
* chromium/public/WebFileSystemCallbacks.h: Removed.
* chromium/public/WebFileSystemEntry.h: Removed.
* chromium/public/WebFileSystemType.h: Removed.
* chromium/public/WebFileUtilities.h: Removed.
* chromium/public/WebFilterOperation.h: Removed.
* chromium/public/WebFilterOperations.h: Removed.
* chromium/public/WebFlingAnimator.h: Removed.
* chromium/public/WebFloatAnimationCurve.h: Removed.
* chromium/public/WebFloatKeyframe.h: Removed.
* chromium/public/WebFloatPoint.h: Removed.
* chromium/public/WebFloatQuad.h: Removed.
* chromium/public/WebFloatRect.h: Removed.
* chromium/public/WebFloatSize.h: Removed.
* chromium/public/WebGamepad.h: Removed.
* chromium/public/WebGamepads.h: Removed.
* chromium/public/WebGestureCurve.h: Removed.
* chromium/public/WebGestureCurveTarget.h: Removed.
* chromium/public/WebGraphicsContext3D.h: Removed.
* chromium/public/WebGraphicsMemoryAllocation.h: Removed.
* chromium/public/WebGraphicsMemoryStats.h: Removed.
* chromium/public/WebHTTPBody.h: Removed.
* chromium/public/WebHTTPHeaderVisitor.h: Removed.
* chromium/public/WebHTTPLoadInfo.h: Removed.
* chromium/public/WebHyphenator.h: Removed.
* chromium/public/WebImage.h: Removed.
* chromium/public/WebImageLayer.h: Removed.
* chromium/public/WebInputHandler.h: Removed.
* chromium/public/WebInputHandlerClient.h: Removed.
* chromium/public/WebLayer.h: Removed.
* chromium/public/WebLayerPositionConstraint.h: Removed.
* chromium/public/WebLayerScrollClient.h: Removed.
* chromium/public/WebLayerTreeView.h: Removed.
* chromium/public/WebLocalizedString.h: Removed.
* chromium/public/WebMediaConstraints.h: Removed.
* chromium/public/WebMediaStream.h: Removed.
* chromium/public/WebMediaStreamCenter.h: Removed.
* chromium/public/WebMediaStreamCenterClient.h: Removed.
* chromium/public/WebMediaStreamSource.h: Removed.
* chromium/public/WebMediaStreamSourcesRequest.h: Removed.
* chromium/public/WebMediaStreamTrack.h: Removed.
* chromium/public/WebMessagePortChannel.h: Removed.
* chromium/public/WebMessagePortChannelClient.h: Removed.
* chromium/public/WebMimeRegistry.h: Removed.
* chromium/public/WebNonCopyable.h: Removed.
* chromium/public/WebPluginListBuilder.h: Removed.
* chromium/public/WebPoint.h: Removed.
* chromium/public/WebPrerender.h: Removed.
* chromium/public/WebPrerenderingSupport.h: Removed.
* chromium/public/WebPrivateOwnPtr.h: Removed.
* chromium/public/WebPrivatePtr.h: Removed.
* chromium/public/WebRTCConfiguration.h: Removed.
* chromium/public/WebRTCDTMFSenderHandler.h: Removed.
* chromium/public/WebRTCDTMFSenderHandlerClient.h: Removed.
* chromium/public/WebRTCDataChannelHandler.h: Removed.
* chromium/public/WebRTCDataChannelHandlerClient.h: Removed.
* chromium/public/WebRTCICECandidate.h: Removed.
* chromium/public/WebRTCPeerConnectionHandler.h: Removed.
* chromium/public/WebRTCPeerConnectionHandlerClient.h: Removed.
* chromium/public/WebRTCSessionDescription.h: Removed.
* chromium/public/WebRTCSessionDescriptionRequest.h: Removed.
* chromium/public/WebRTCStatsRequest.h: Removed.
* chromium/public/WebRTCStatsResponse.h: Removed.
* chromium/public/WebRTCVoidRequest.h: Removed.
* chromium/public/WebRect.h: Removed.
* chromium/public/WebReferrerPolicy.h: Removed.
* chromium/public/WebRenderingStats.h: Removed.
* chromium/public/WebScreenInfo.h: Removed.
* chromium/public/WebScrollbar.h: Removed.
* chromium/public/WebScrollbarLayer.h: Removed.
* chromium/public/WebScrollbarThemeGeometry.h: Removed.
* chromium/public/WebScrollbarThemePainter.h: Removed.
* chromium/public/WebSize.h: Removed.
* chromium/public/WebSocketStreamError.h: Removed.
* chromium/public/WebSocketStreamHandle.h: Removed.
* chromium/public/WebSocketStreamHandleClient.h: Removed.
* chromium/public/WebSolidColorLayer.h: Removed.
* chromium/public/WebSpeechSynthesisUtterance.h: Removed.
* chromium/public/WebSpeechSynthesisVoice.h: Removed.
* chromium/public/WebSpeechSynthesizer.h: Removed.
* chromium/public/WebSpeechSynthesizerClient.h: Removed.
* chromium/public/WebStorageArea.h: Removed.
* chromium/public/WebStorageNamespace.h: Removed.
* chromium/public/WebString.h: Removed.
* chromium/public/WebThread.h: Removed.
* chromium/public/WebThreadSafeData.h: Removed.
* chromium/public/WebTransformAnimationCurve.h: Removed.
* chromium/public/WebTransformKeyframe.h: Removed.
* chromium/public/WebTransformOperations.h: Removed.
* chromium/public/WebURL.h: Removed.
* chromium/public/WebURLError.h: Removed.
* chromium/public/WebURLLoadTiming.h: Removed.
* chromium/public/WebURLLoader.h: Removed.
* chromium/public/WebURLLoaderClient.h: Removed.
* chromium/public/WebURLRequest.h: Removed.
* chromium/public/WebURLResponse.h: Removed.
* chromium/public/WebUnitTestSupport.h: Removed.
* chromium/public/WebVector.h: Removed.
* chromium/public/WebWorkerRunLoop.h: Removed.
* chromium/public/android: Removed.
* chromium/public/android/WebSandboxSupport.h: Removed.
* chromium/public/android/WebThemeEngine.h: Removed.
* chromium/public/default: Removed.
* chromium/public/default/WebThemeEngine.h: Removed.
* chromium/public/linux: Removed.
* chromium/public/linux/WebFontFamily.h: Removed.
* chromium/public/linux/WebFontInfo.h: Removed.
* chromium/public/linux/WebFontRenderStyle.h: Removed.
* chromium/public/linux/WebSandboxSupport.h: Removed.
* chromium/public/mac: Removed.
* chromium/public/mac/WebSandboxSupport.h: Removed.
* chromium/public/mac/WebThemeEngine.h: Removed.
* chromium/public/win: Removed.
* chromium/public/win/WebSandboxSupport.h: Removed.
* chromium/public/win/WebThemeEngine.h: Removed.
* chromium/src: Removed.
* chromium/src/Platform.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.h: Removed.
* chromium/src/WebCString.cpp: Removed.
* chromium/src/WebFilterOperation.cpp: Removed.
* chromium/src/WebFilterOperations.cpp: Removed.
* chromium/src/WebFloatQuad.cpp: Removed.
* chromium/src/WebPrerenderingSupport.cpp: Removed.
* chromium/src/WebString.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove ChromiumPublicApi pattern, and cc/message rules for it.
tkent@chromium.org [Fri, 5 Apr 2013 06:20:59 +0000 (06:20 +0000)]
Remove ChromiumPublicApi pattern, and cc/message rules for it.

* Scripts/webkitpy/common/config/watchlist:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove code for 10.5 and earlier from Source/WebCore
rniwa@webkit.org [Fri, 5 Apr 2013 06:05:11 +0000 (06:05 +0000)]
Remove code for 10.5 and earlier from Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=113754

Reviewed by Benjamin Poulain.

Removed the code for 10.5 and removed if-def for 10.6.

* WebCore.xcodeproj/project.pbxproj:
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
* platform/LocalizedStrings.cpp:
(WebCore::imageTitle):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::setAllowsFontSmoothing):
* platform/graphics/cg/ImageCG.cpp:
(WebCore::Image::drawPattern):
* platform/graphics/cg/ImageSourceCG.cpp:
(WebCore::ImageSource::clear):
* platform/graphics/cg/PathCG.cpp:
(WebCore::Path::boundingRect):
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore):
(WebCore::FontPlatformData::ctFont):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::supportsFullscreen):
* platform/graphics/mac/ComplexTextControllerCoreText.mm:
* platform/graphics/mac/FontCacheMac.mm:
(WebCore):
(WebCore::fontCacheRegisteredFontsChangedNotificationCallback):
(WebCore::FontCache::platformInit):
* platform/graphics/mac/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::~FontCustomPlatformData):
(WebCore::createFontCustomPlatformData):
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::createQTMovie):
(WebCore::MediaPlayerPrivateQTKit::supportsFullscreen):
(WebCore::MediaPlayerPrivateQTKit::setClosedCaptionsVisible):
(WebCore::MediaPlayerPrivateQTKit::cacheMovieScale):
* platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformInit):
* platform/graphics/mac/WebLayer.h:
* platform/mac/CursorMac.mm:
(WebCore::Cursor::ensurePlatformCursor):
* platform/mac/DisplaySleepDisabler.cpp:
(WebCore::DisplaySleepDisabler::DisplaySleepDisabler):
(WebCore):
* platform/mac/DisplaySleepDisabler.h:
(DisplaySleepDisabler):
* platform/mac/EmptyProtocolDefinitions.h:
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
* platform/mac/PopupMenuMac.mm:
(WebCore::PopupMenuMac::populate):
* platform/mac/ScrollElasticityController.mm:
(systemUptime):
* platform/mac/SharedTimerMac.mm:
(PowerObserver):
(WebCore::PowerObserver::PowerObserver):
(WebCore::PowerObserver::~PowerObserver):
(WebCore::PowerObserver::didReceiveSystemPowerNotification):
* platform/mac/SuddenTermination.mm:
* platform/mac/WebCoreFullScreenWindow.mm:
(-[WebCoreFullScreenWindow initWithContentRect:styleMask:backing:defer:]):
* platform/mac/WebFontCache.mm:
(+[WebFontCache getTraits:inFamily:]):
(+[WebFontCache internalFontWithFamily:traits:weight:size:]):
* platform/mac/WebVideoFullscreenController.mm:
(SOFT_LINK_POINTER):
(-[WebVideoFullscreenController updateMenuAndDockForFullscreen]):
* platform/mac/WebVideoFullscreenHUDWindowController.mm:
(createControlWithMediaUIControlType):
(-[WebVideoFullscreenHUDWindowController windowDidLoad]):
* platform/network/Credential.h:
* platform/network/cf/DNSCFNet.cpp:
(WebCore::DNSResolveQueue::platformProxyIsEnabledInSystemPreferences):
* platform/network/cf/ProxyServerCFNet.cpp:
(WebCore):
(WebCore::proxyServersForURL):
* platform/network/cf/SocketStreamHandleCFNet.cpp:
(WebCore::SocketStreamHandle::chooseProxy):
* platform/network/mac/AuthenticationMac.mm:
(WebCore):
* platform/network/mac/WebCoreURLResponse.mm:
(WebCore::adjustMIMETypeIfNecessary):
* platform/text/TextChecking.h:
(WebCore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoTemporarily disable the Python unittests broken by the commit queue not running layou...
benjamin@webkit.org [Fri, 5 Apr 2013 05:36:52 +0000 (05:36 +0000)]
Temporarily disable the Python unittests broken by the commit queue not running layout tests
https://bugs.webkit.org/show_bug.cgi?id=113997

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Ryosuke Niwa.

Disable the tests until Ryosuke gets the time and hardware to have
a testing commit-queue.

* Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
(CommitQueueTaskTest):
* Scripts/webkitpy/tool/commands/queues_unittest.py:
(CommitQueueTest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoQt build fix attempt after r147684.
rniwa@webkit.org [Fri, 5 Apr 2013 05:24:18 +0000 (05:24 +0000)]
Qt build fix attempt after r147684.

* html/canvas/CanvasRenderingContext.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium builders from build.webkit.org
rniwa@webkit.org [Fri, 5 Apr 2013 05:17:47 +0000 (05:17 +0000)]
Remove Chromium builders from build.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=113990

Reviewed by Benjamin Poulain.

Land the part to disable triggering of Chromium builders first so that we may start
deleting more Chromium code that breaks the update step.

* BuildSlaveSupport/build.webkit.org-config/config.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoNixed the defunct chromium folder from ManualTests
ggaren@apple.com [Fri, 5 Apr 2013 04:57:27 +0000 (04:57 +0000)]
Nixed the defunct chromium folder from ManualTests
https://bugs.webkit.org/show_bug.cgi?id=113995

Reviewed by Benjamin Poulain.

* ManualTests/chromium: Removed.
* ManualTests/chromium/autofill-popup-shiftupdown.hml: Removed.
* ManualTests/chromium/drag-image-accounts-for-device-scale.html: Removed.
* ManualTests/chromium/modifiers-during-drag-and-drop.html: Removed.
* ManualTests/chromium/no-autofill-on-readonly.html: Removed.
* ManualTests/chromium/onchange-reload-popup.html: Removed.
* ManualTests/chromium/popup-menu-crash.html: Removed.
* ManualTests/chromium/select-close-popup-value-change.html: Removed.
* ManualTests/chromium/suggestions-popup-font-change.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove Chromium's DumpRenderTree
benjamin@webkit.org [Fri, 5 Apr 2013 04:53:13 +0000 (04:53 +0000)]
Remove Chromium's DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=113989

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Kent Tamura.

On second thought, let's not go to Camelot. It is a silly place.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetDefaultsToConsistentValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147705 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoNixed the defunct chromium folder from DumpRenderTree
ggaren@apple.com [Fri, 5 Apr 2013 04:46:03 +0000 (04:46 +0000)]
Nixed the defunct chromium folder from DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=113993

Reviewed by Ryosuke Niwa.

* DumpRenderTree/chromium: Removed.
* DumpRenderTree/chromium/DRTDevToolsAgent.cpp: Removed.
* DumpRenderTree/chromium/DRTDevToolsAgent.h: Removed.
* DumpRenderTree/chromium/DRTDevToolsClient.cpp: Removed.
* DumpRenderTree/chromium/DRTDevToolsClient.h: Removed.
* DumpRenderTree/chromium/DumpRenderTree.cpp: Removed.
* DumpRenderTree/chromium/ImageDiff.cpp: Removed.
* DumpRenderTree/chromium/LayoutTestHelper.mm: Removed.
* DumpRenderTree/chromium/LayoutTestHelperWin.cpp: Removed.
* DumpRenderTree/chromium/MockPlatform.cpp: Removed.
* DumpRenderTree/chromium/MockPlatform.h: Removed.
* DumpRenderTree/chromium/MockWebPrerenderingSupport.cpp: Removed.
* DumpRenderTree/chromium/MockWebPrerenderingSupport.h: Removed.
* DumpRenderTree/chromium/Task.cpp: Removed.
* DumpRenderTree/chromium/Task.h: Removed.
* DumpRenderTree/chromium/TestEventPrinter.cpp: Removed.
* DumpRenderTree/chromium/TestEventPrinter.h: Removed.
* DumpRenderTree/chromium/TestNavigationController.cpp: Removed.
* DumpRenderTree/chromium/TestNavigationController.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Removed.
* DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Removed.
* DumpRenderTree/chromium/TestRunner: Removed.
* DumpRenderTree/chromium/TestRunner/public: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebPreferences.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTask.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestCommon.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h: Removed.
* DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h: Removed.
* DumpRenderTree/chromium/TestRunner/src: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppBoundClass.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppBoundClass.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppVariant.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/CppVariant.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/EventSender.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/EventSender.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/GamepadController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/GamepadController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/KeyCodeMapping.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockConstraints.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockConstraints.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockGrammarCheck.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockGrammarCheck.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockSpellCheck.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebMediaStreamCenter.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDTMFSenderHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebRTCPeerConnectionHandler.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechInputController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechInputController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechRecognizer.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/MockWebSpeechRecognizer.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/NotificationPresenter.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/SpellCheckClient.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/SpellCheckClient.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestCommon.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestCommon.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestPlugin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestPlugin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TestRunner.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/TextInputController.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/TextInputController.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPermissions.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPermissions.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTask.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeControlWin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeControlWin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineMac.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineMac.mm: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineWin.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebTestThemeEngineWin.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebUserMediaClientMock.cpp: Removed.
* DumpRenderTree/chromium/TestRunner/src/WebUserMediaClientMock.h: Removed.
* DumpRenderTree/chromium/TestRunner/src/config.h: Removed.
* DumpRenderTree/chromium/TestShell.cpp: Removed.
* DumpRenderTree/chromium/TestShell.h: Removed.
* DumpRenderTree/chromium/TestShellAndroid.cpp: Removed.
* DumpRenderTree/chromium/TestShellMac.mm: Removed.
* DumpRenderTree/chromium/TestShellPosix.cpp: Removed.
* DumpRenderTree/chromium/TestShellStub.cpp: Removed.
* DumpRenderTree/chromium/TestShellWin.cpp: Removed.
* DumpRenderTree/chromium/TestShellX11.cpp: Removed.
* DumpRenderTree/chromium/WebViewHost.cpp: Removed.
* DumpRenderTree/chromium/WebViewHost.h: Removed.
* DumpRenderTree/chromium/android_fallback_fonts.xml: Removed.
* DumpRenderTree/chromium/android_main_fonts.xml: Removed.
* DumpRenderTree/chromium/config.h: Removed.
* DumpRenderTree/chromium/fonts.conf: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147704 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoNixed the defunct chromium folder from WTF
ggaren@apple.com [Fri, 5 Apr 2013 04:40:31 +0000 (04:40 +0000)]
Nixed the defunct chromium folder from WTF
https://bugs.webkit.org/show_bug.cgi?id=113992

Reviewed by Ryosuke Niwa.

* wtf/chromium: Removed.
* wtf/chromium/ChromiumThreading.h: Removed.
* wtf/chromium/MainThreadChromium.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147703 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoalternateFamilyName should return a null, not an empty value
benjamin@webkit.org [Fri, 5 Apr 2013 04:39:58 +0000 (04:39 +0000)]
alternateFamilyName should return a null, not an empty value
https://bugs.webkit.org/show_bug.cgi?id=113987

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Anders Carlsson.

The string object corresponding semantically to "no-value" is
a null string, not an empty string.

Fix alternateFamilyName() accordingly.

* platform/graphics/FontCache.cpp:
(WebCore::alternateFamilyName):
(WebCore::FontCache::getCachedFontPlatformData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147702 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing...
commit-queue@webkit.org [Fri, 5 Apr 2013 03:46:22 +0000 (03:46 +0000)]
[BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing render tree when it hits an iframe element
https://bugs.webkit.org/show_bug.cgi?id=113944

Patch by Andrew Lo <anlo@rim.com> on 2013-04-04
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.

Internal PR 320732.
When checking whether a RenderObject is fixed position or has a fixed position
ancestor, we traverse the render tree upwards.

When we reach the root of the tree, check whether the root is an
iframe and has an element owner. If so, we also need to continue iterating
up the tree from the owner to see if the iframe is a descendant of a fixed
position element.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isFixedPositionOrHasFixedPositionAncestor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147701 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[EFL][WK2] Add support for getting page contents as string
commit-queue@webkit.org [Fri, 5 Apr 2013 02:52:06 +0000 (02:52 +0000)]
[EFL][WK2] Add support for getting page contents as string
https://bugs.webkit.org/show_bug.cgi?id=106752

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-04-04
Reviewed by Andreas Kling.

Modified ewk_view_page_contents_get() API to get page contents as string.
EWK_PAGE_CONTENTS_TYPE_STRING is added to Ewk_Page_Contents_Type.
Now, we can use both EWK_PAGE_CONTENTS_TYPE_MHTML and EWK_PAGE_CONTENTS_TYPE_STRING
for getting page contents.

* UIProcess/API/efl/ewk_view.cpp:
(Ewk_Page_Contents_Context):
(ewkViewPageContentsAsMHTMLCallback):
(ewkViewPageContentsAsStringCallback):
(ewk_view_page_contents_get):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(PageContentsAsMHTMLCallback):
(PageContentsAsStringCallback):
(TEST_F):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147700 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoChange class_as_selector-expected.html to be a ref-test
benjamin@webkit.org [Fri, 5 Apr 2013 02:51:23 +0000 (02:51 +0000)]
Change class_as_selector-expected.html to be a ref-test
https://bugs.webkit.org/show_bug.cgi?id=113970

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Geoffrey Garen.

The test checks style can be applied to text with a CSS class.
The reference is done by applying a style attribute directly
on each element.

* css1/basic/class_as_selector-expected.html: Added.
* platform/efl/css1/basic/class_as_selector-expected.png: Removed.
* platform/efl/css1/basic/class_as_selector-expected.txt: Removed.
* platform/gtk/css1/basic/class_as_selector-expected.txt: Removed.
* platform/mac/css1/basic/class_as_selector-expected.png: Removed.
* platform/mac/css1/basic/class_as_selector-expected.txt: Removed.
* platform/qt/css1/basic/class_as_selector-expected.png: Removed.
* platform/qt/css1/basic/class_as_selector-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUnskip 3 backface-visibility tests on OS X
benjamin@webkit.org [Fri, 5 Apr 2013 02:48:14 +0000 (02:48 +0000)]
Unskip 3 backface-visibility tests on OS X

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04

* platform/mac/TestExpectations:
The 3 pixel tests pass on WebKit1 and WebKit2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147698 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUpdate WebKit.org's contact page
benjamin@webkit.org [Fri, 5 Apr 2013 02:43:56 +0000 (02:43 +0000)]
Update WebKit.org's contact page
https://bugs.webkit.org/show_bug.cgi?id=113968

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-04
Reviewed by Geoffrey Garen.

* contact.html:
-Add a direct link to our archives on Gmane.
-References the ports mailing-lists. This may reduces the emails
 erroneously sent to webkit-dev.
-Add a link to our "reporting bug page".
-Get rid of the link to CIA. The website is dead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147697 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemove the rebaseline queue server since nobody except maybe one person from Google...
rniwa@webkit.org [Fri, 5 Apr 2013 02:39:17 +0000 (02:39 +0000)]
Remove the rebaseline queue server since nobody except maybe one person from Google uses it.

Rubber stamped by Benjamin Poulain.

* RebaselineQueueServer: Removed.
* RebaselineQueueServer/app.yaml: Removed.
* RebaselineQueueServer/handlers: Removed.
* RebaselineQueueServer/handlers/__init__.py: Removed.
* RebaselineQueueServer/handlers/builderqueue.py: Removed.
* RebaselineQueueServer/handlers/pages.py: Removed.
* RebaselineQueueServer/index.yaml: Removed.
* RebaselineQueueServer/main.py: Removed.
* RebaselineQueueServer/model: Removed.
* RebaselineQueueServer/model/__init__.py: Removed.
* RebaselineQueueServer/model/queueentry.py: Removed.
* RebaselineQueueServer/static: Removed.
* RebaselineQueueServer/static/builder-frame-empty.html: Removed.
* RebaselineQueueServer/static/styles.css: Removed.
* RebaselineQueueServer/templates: Removed.
* RebaselineQueueServer/templates/builder-picker.html: Removed.
* RebaselineQueueServer/templates/builder-queue-edit.html: Removed.
* RebaselineQueueServer/templates/builder-queue-list.html: Removed.
* RebaselineQueueServer/templates/home.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147696 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFix setup-commit-queue and temporarily disable testing on commit-queue
rniwa@webkit.org [Fri, 5 Apr 2013 02:35:53 +0000 (02:35 +0000)]
Fix setup-commit-queue and temporarily disable testing on commit-queue
https://bugs.webkit.org/show_bug.cgi?id=113979

Reviewed by Benjamin Poulain.

Use commit-queue@webkit.org instead of webkit.bot.review@gmail.com in commit-queue,
and temporarily disable tests in commit-queue as we don't have enough resources at the moment.

* EWSTools/setup-commit-queue.sh:
* Scripts/webkitpy/tool/bot/commitqueuetask.py:
(CommitQueueTask.run):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147695 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoWork around a bug in the bindings generation script.
andersca@apple.com [Fri, 5 Apr 2013 01:29:57 +0000 (01:29 +0000)]
Work around a bug in the bindings generation script.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoDon't dispatch delayed click if snapshotted plugin was triggered by a click on the...
dino@apple.com [Fri, 5 Apr 2013 01:25:05 +0000 (01:25 +0000)]
Don't dispatch delayed click if snapshotted plugin was triggered by a click on the label
https://bugs.webkit.org/show_bug.cgi?id=113982

Reviewed by Tim Horton.

We regressed the way clicks were sent on to restarted plugins when we moved to a
Shadow Root - we were always sending the click. We should only send the click
on if the user clicked on the main plugin content, and not send it when you
click directly on the label.

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot): Keep a reference to the container and label.
(WebCore::HTMLPlugInImageElement::partOfSnapshotLabel): New method that detects if a Node was part
    of the snapshot label.
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Only record the event if you should forward it on.
* html/HTMLPlugInImageElement.h:
(HTMLPlugInImageElement): New parameter to userDidClickSnapshot and member variables for shadow content.
* rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::handleEvent): Ask the plugin if the clicked target was the snapshot label.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUnreviewed EFL build fix.
ch.dumez@sisa.samsung.com [Fri, 5 Apr 2013 00:59:25 +0000 (00:59 +0000)]
Unreviewed EFL build fix.

Add missing include for FloatRect.h.

* platform/efl/PlatformScreenEfl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUnreviewed build fix.
timothy_horton@apple.com [Fri, 5 Apr 2013 00:54:47 +0000 (00:54 +0000)]
Unreviewed build fix.

* platform/graphics/GlyphPageTreeNode.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147691 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoUnreviewed EFL build fix.
ch.dumez@sisa.samsung.com [Fri, 5 Apr 2013 00:44:28 +0000 (00:44 +0000)]
Unreviewed EFL build fix.

We had undefined reference to `JSC::CodeOrigin::maximumBytecodeIndex'.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::findClosureCallForReturnPC):
(JSC::CodeBlock::bytecodeOffset):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoAnother build fix.
andersca@apple.com [Fri, 5 Apr 2013 00:37:08 +0000 (00:37 +0000)]
Another build fix.

* platform/graphics/FontCache.cpp:
* platform/graphics/SimpleFontData.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoFix build.
andersca@apple.com [Fri, 5 Apr 2013 00:28:58 +0000 (00:28 +0000)]
Fix build.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147688 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years ago[BlackBerry] Adjust fatfinger result priority
commit-queue@webkit.org [Fri, 5 Apr 2013 00:26:29 +0000 (00:26 +0000)]
[BlackBerry] Adjust fatfinger result priority
https://bugs.webkit.org/show_bug.cgi?id=113957

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-04-04
Reviewed by Rob Buis.

RIM PR 224781
Internally Reviewed by Genevieve Mak.

Change fatfigner algorithm, return the clickable element rather than
its parent anchor. Modify taphighlight and context menu node selection
accordingly.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::findBestPoint):
* WebKitSupport/FatFingers.h:
* WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::elementForTapHighlight):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agoRemoved empty files from the build
ggaren@apple.com [Fri, 5 Apr 2013 00:15:10 +0000 (00:15 +0000)]
Removed empty files from the build
https://bugs.webkit.org/show_bug.cgi?id=113978

Reviewed by Anders Carlsson.

Anders made a list of all the empty files that are slowing down the Mac
build, and I grepped them away.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147686 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 years agotemporarily make flakiness dashboard work again webkit.org bots
dpranke@chromium.org [Fri, 5 Apr 2013 00:08:27 +0000 (00:08 +0000)]
temporarily make flakiness dashboard work again webkit.org bots
https://bugs.webkit.org/show_bug.cgi?id=113972

Reviewed by Ojan Vafai.

This patch disables the chromium.org layout test bots TestExpectations
parsing temporarily until we can work out the right way to split into
two instances for webkit.org and chromium.org and figure out which
code to delete where :).

* TestResultServer/static-dashboards/flakiness_dashboard.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147685 268f45cc-cd09-0410-ab3c-d52691b4dbfc