Restrict WebAudio from playing when disallowed by page.
https://bugs.webkit.org/show_bug.cgi?id=117310

Reviewed by Eric Carlson.

Add a new behavior restriction which would mute WebAudio
when media playback is disallowed by the page.

* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::constructCommon): Set the RequirePageConsentForAudioStartRestriction
    restriction for the Mac port
(WebCore::AudioContext::document): Cast the execution context to a document.
(WebCore::AudioContext::lazyInitialize): Call startRendering() instead of
    m_destinationNode->startRendering() directly.
(WebCore::AudioContext::startRendering): If media loading is disabled, add
    a mediaCanStart listener.
(WebCore::AudioContext::mediaCanStart): Remove the RequirePageConsentForAudioStartRestriction.
* Modules/webaudio/AudioContext.h:
(WebCore::AudioContext::pageConsentRequiredForAudioStart): Added; simple wrapper.
* Modules/webaudio/AudioDestinationNode.cpp:
(WebCore::AudioDestinationNode::render): Mute output if pageConsentRequiredForAudioStart().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Build configuration fix. WebKitExportGenerator's include path should fall back to 
$(WebKit_Libraries)\include\WebCore if $(ConfigurationBuildDir)\include\WebCore doesn't exist.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExportGeneratorCommon.props:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Completely initialize ChildProcess state on launch
https://bugs.webkit.org/show_bug.cgi?id=117328

Reviewed by Sam Weinig.

Use setProcessSuppressionEnabledInternal to avoid setProcessSuppressionEnabled
"optimizing" our initialization away.

* Shared/mac/ChildProcessMac.mm:
(WebKit::ChildProcess::platformInitialize):

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