Prune unneeded header #includes
https://bugs.webkit.org/show_bug.cgi?id=113973

Reviewed by Geoffrey Garen.

Reduce the amount of headers included by other headers by:
- Moving implicit and explicit constructors and destructors into .cpp files so member variable constructors/destructors
  don't have to be declared.
- Move CachedResourceClient subclasses out into separate headers so that their respective CachedResource subclasses don't
  have to be included by the classes that derive from those subclasses.
- Remove headers that were never needed in the first place.

* Modules/webaudio/AudioContext.h:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMWindowCustom.cpp:
* css/CSSFontFaceSource.h:
* html/canvas/CanvasPattern.cpp:
(WebCore::CanvasPattern::create):
(WebCore::CanvasPattern::CanvasPattern):
(WebCore::CanvasPattern::~CanvasPattern):
* html/canvas/CanvasPattern.h:
(WebCore::CanvasPattern::pattern):
(WebCore::CanvasPattern::originClean):
* html/parser/HTMLScriptRunner.h:
* loader/ImageLoader.h:
* loader/LinkLoader.h:
* loader/TextTrackLoader.h:
* loader/cache/CachedFont.cpp:
* loader/cache/CachedFont.h:
* loader/cache/CachedFontClient.h: Added.
(WebCore::CachedFontClient::~CachedFontClient):
(WebCore::CachedFontClient::expectedType):
(WebCore::CachedFontClient::resourceClientType):
(WebCore::CachedFontClient::fontLoaded):
* loader/cache/CachedResourceHandle.cpp:
(WebCore::CachedResourceHandleBase::CachedResourceHandleBase):
(WebCore::CachedResourceHandleBase::~CachedResourceHandleBase):
(WebCore::CachedResourceHandleBase::setResource):
* loader/cache/CachedResourceHandle.h:
(WebCore::CachedResourceHandleBase::get):
(WebCore::CachedResourceHandleBase::operator!):
(WebCore::CachedResourceHandleBase::operator UnspecifiedBoolType):
(WebCore::CachedResourceHandleBase::operator=):
(WebCore::CachedResourceHandle::CachedResourceHandle):
(WebCore::CachedResourceHandle::get):
(WebCore::CachedResourceHandle::operator->):
(WebCore::CachedResourceHandle::operator=):
(WebCore::CachedResourceHandle::operator==):
(WebCore::CachedResourceHandle::operator!=):
(WebCore::operator==):
(WebCore::operator!=):
* loader/cache/CachedSVGDocument.h:
* loader/cache/CachedSVGDocumentReference.h:
* loader/cache/CachedSVGDocumentClient.h: Added.
(WebCore::CachedSVGDocumentClient::~CachedSVGDocumentClient):
(WebCore::CachedSVGDocumentClient::expectedType):
(WebCore::CachedSVGDocumentClient::resourceClientType):
* loader/cache/CachedStyleSheetClient.h:
* platform/PlatformScreen.h:
* platform/audio/HRTFElevation.cpp:
* platform/audio/HRTFKernel.cpp:
(WebCore::HRTFKernel::fftSize):
* platform/audio/HRTFKernel.h:
* platform/audio/ReverbConvolverStage.cpp:
(WebCore::ReverbConvolverStage::~ReverbConvolverStage):
* platform/audio/ReverbConvolverStage.h:
* platform/graphics/FontPlatformData.h:
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/Path.cpp:
* platform/graphics/Path.h:
* platform/graphics/Pattern.cpp:
* platform/graphics/Pattern.h:
* platform/graphics/filters/FilterOperation.cpp:
(WebCore::ReferenceFilterOperation::ReferenceFilterOperation):
(WebCore::ReferenceFilterOperation::~ReferenceFilterOperation):
(WebCore::ReferenceFilterOperation::setCachedSVGDocumentReference):
* platform/graphics/filters/FilterOperation.h:
* platform/graphics/transforms/AffineTransform.h:
* plugins/DOMMimeType.h:
* rendering/RenderLayerFilterInfo.h:
* rendering/style/StyleCachedShader.h:
* svg/SVGFEImageElement.h:
* svg/SVGFontFaceUriElement.h:
* svg/SVGUseElement.h:
* xml/parser/XMLDocumentParser.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[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: http://svn.webkit.org/repository/webkit/trunk@147687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix build.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another build fix.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL build fix.

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

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix.

* platform/graphics/GlyphPageTreeNode.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL build fix.

Add missing include for FloatRect.h.

* platform/efl/PlatformScreenEfl.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Work around a bug in the bindings generation script.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[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: http://svn.webkit.org/repository/webkit/trunk@147700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[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: http://svn.webkit.org/repository/webkit/trunk@147701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147703 268f45cc-cd09-0410-ab3c-d52691b4dbfc