[chromium] Remove dead transitional code from WebViewImpl
https://bugs.webkit.org/show_bug.cgi?id=107889

Patch by James Robinson <jamesr@chromium.org> on 2013-01-31
Reviewed by Adam Barth.

Source/WebKit/chromium:

The chromium side of this landed at r178256 and seems stable.

* public/WebWidget.h:
(WebKit::WebWidget::setCompositorSurfaceReady):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::~WebViewImpl):
(WebKit):
(WebKit::WebViewImpl::setIsTransparent):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
* src/WebViewImpl.h:
* tests/ScrollingCoordinatorChromiumTest.cpp:
(WebKit::FakeWebViewClient::initializeLayerTreeView):
(FakeWebViewClient):
(WebKit::FakeWebViewClient::layerTreeView):
(WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
(ScrollingCoordinatorChromiumTest):

Tools:

ScrollingCoordinatorChromiumTests need to initialize compositing, so its implementation of
WebWidgetClient has to support the new compositor initialization path.

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::initializeLayerTreeView):
(WebViewHost::setWebWidget):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
On Linux, can't get spelling suggestions without selection when unified text checker is enabled
https://bugs.webkit.org/show_bug.cgi?id=107684

Reviewed by Ryosuke Niwa.

No new tests, covered by context-menu-suggestions.html.

* editing/Editor.cpp:
(WebCore::Editor::guessesForMisspelledOrUngrammatical):
For Linux, extend selection range to the closest word to get
the spelling suggestions when unified text checker is enabled.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Make it possible to compile WebKit2 Qt related files without access to internal WK2 C++ API
https://bugs.webkit.org/show_bug.cgi?id=108472

Reviewed by Andreas Kling.

.:

When linking WebKit2, also link the WebKit2QML module.

* Source/api.pri:

Source/WebKit2:

Add a new module to the qmake build system that represents the part of the WebKit2 Qt integration
that doesn't depend on WebKit2 internals.

Changed qwebnavigationhistory.cpp to not use any internal headers and compile it as part of the
internals-free module.

* Target.pri:
* UIProcess/API/qt/qwebnavigationhistory.cpp:
* WebKit2.pro:
* WebKit2QML.pri: Added.

Tools:

Add a new module to the qmake build system that represents the part of the WebKit2 Qt integration
that doesn't depend on WebKit2 internals.

* qmake/mkspecs/features/webkit_modules.prf:
* qmake/mkspecs/modules/webkit2qml.prf: Copied from Source/WebKit2/WebKit2.pro.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DatabaseContext needs to outlive the ScriptExecutionContext.
https://bugs.webkit.org/show_bug.cgi?id=108355.

Reviewed by Geoffrey Garen.

Added a RefPtr<DatabaseContext> in ScriptExecutionContext to keep the
DatabaseContext alive until after ScriptExecutionContext destructs.

No new tests.

* Modules/webdatabase/DatabaseContext.cpp:
(WebCore::DatabaseContext::DatabaseContext):
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::setDatabaseContext):
* dom/ScriptExecutionContext.h:
(ScriptExecutionContext):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Stop using OutgoingMessage
https://bugs.webkit.org/show_bug.cgi?id=108495

Reviewed by Sam Weinig.

* Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::sendMessage):
(CoreIPC::Connection::sendOutgoingMessages):
* Platform/CoreIPC/Connection.h:
(Connection):
* Shared/ChildProcessProxy.cpp:
(WebKit::ChildProcessProxy::~ChildProcessProxy):
(WebKit::ChildProcessProxy::sendMessage):
(WebKit::ChildProcessProxy::didFinishLaunching):
* Shared/ChildProcessProxy.h:
(ChildProcessProxy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        <rdar://problem/12695827> PPT: Make loading file URLs work with a sandboxed NetworkProcess

        Address review comments.

        * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
        * WebProcess/com.apple.WebProcess.sb.in:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Adding a flaky crasher expectation for fast/css-generated-content/block-and-box-hit-testing.html.
Removing failure expectations for SVGViewSpec tests.

* platform/gtk-wk1/TestExpectations:
* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Disable force_static_libs_as_shared in developer builds if wk2 is enabled

Reviewed by Jocelyn Turcotte.

This is a temporary workaround during the development of #108471, where we move files around
but some link time dependencies might remain.

* qmake/mkspecs/features/default_post.prf:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: searching for <u> in elements panel finds all tags containing "u"
https://bugs.webkit.org/show_bug.cgi?id=108176

Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-01-31
Reviewed by Pavel Feldman.

When searching for tag name check that tag name must either start from
search query, or must end with it.

Source/WebCore:

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

LayoutTests:

* inspector/elements/elements-panel-search-expected.txt:
* inspector/elements/elements-panel-search.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed, land baselines with textarea resizer enabled.
https://bugs.webkit.org/show_bug.cgi?id=108383

* platform/chromium-linux/fast/block/float/overhanging-tall-block-expected.png: Removed.
* platform/chromium-mac-lion/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac-lion/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac-lion/fast/forms/basic-textareas-expected.png:
* platform/chromium-mac-lion/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac-lion/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac-lion/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac-lion/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac-lion/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac-lion/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-align-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-width-expected.png:
* platform/chromium-mac-lion/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac-lion/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac-lion/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac-lion/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac-lion/fast/table/003-expected.png:
* platform/chromium-mac-lion/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac-lion/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-mac-snowleopard/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-align-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-width-expected.png:
* platform/chromium-mac-snowleopard/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/table/003-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-mac/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac/fast/forms/textarea-align-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-mac/fast/forms/textarea-width-expected.png:
* platform/chromium-mac/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac/fast/repaint/textarea-set-disabled-expected.png:
* platform/chromium-mac/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac/fast/table/003-expected.png:
* platform/chromium-mac/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-win/editing/inserting/4960120-1-expected.png:
* platform/chromium-win/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-win/fast/block/float/overhanging-tall-block-expected.png:
* platform/chromium-win/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-win/fast/forms/basic-textareas-expected.png:
* platform/chromium-win/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-win/fast/forms/form-element-geometry-expected.png:
* platform/chromium-win/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-win/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-win/fast/forms/placeholder-position-expected.png:
* platform/chromium-win/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-win/fast/forms/textarea-align-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-win/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-win/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-win/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-win/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-win/fast/forms/textarea-width-expected.png:
* platform/chromium-win/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-win/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-win/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-win/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-win/fast/table/003-expected.png:
* platform/chromium-win/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-win/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
https://bugs.webkit.org/show_bug.cgi?id=108399

Reviewed by Dimitri Glazkov.

Cleanup now that chromium proxies the new signatures through.

* src/IDBCallbacksProxy.cpp:
(WebKit::IDBCallbacksProxy::onSuccess):
(WebKit::IDBCallbacksProxy::onUpgradeNeeded):
* src/IDBCallbacksProxy.h:
(IDBCallbacksProxy):
* src/WebIDBCallbacksImpl.cpp:
* src/WebIDBCallbacksImpl.h:
(WebIDBCallbacksImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Disable Web Intents
https://bugs.webkit.org/show_bug.cgi?id=108457

Patch by Christophe Dumez <dchris@gmail.com> on 2013-01-31
Reviewed by Alexey Proskuryakov.

.:

Turn off WEB_INTENTS flag in EFL CMake project.

* Source/cmake/OptionsEfl.cmake:

Source/WebKit:

Remove intents files from EFL CMake project.

* PlatformEfl.cmake:

Source/WebKit/efl:

Remove code related to Web Intents from EFL
WebKit.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
* WebCoreSupport/DumpRenderTreeSupportEfl.h:
* WebCoreSupport/FrameLoaderClientEfl.cpp:
* WebCoreSupport/FrameLoaderClientEfl.h:
(FrameLoaderClientEfl):
* ewk/EWebKit.h:
* ewk/ewk_frame.cpp:
* ewk/ewk_frame.h:
* ewk/ewk_frame_private.h:
* ewk/ewk_intent.cpp: Removed.
* ewk/ewk_intent.h: Removed.
* ewk/ewk_intent_private.h: Removed.
* ewk/ewk_intent_request.cpp: Removed.
* ewk/ewk_intent_request.h: Removed.

Source/WebKit2:

Remove code related to Web Intents from EFL
WebKit2.

* CMakeLists.txt:
* PlatformEfl.cmake:
* UIProcess/API/efl/EWebKit2.h:
* UIProcess/API/efl/EwkViewCallbacks.h:
* UIProcess/API/efl/ewk_intent.cpp: Removed.
* UIProcess/API/efl/ewk_intent.h: Removed.
* UIProcess/API/efl/ewk_intent_private.h: Removed.
* UIProcess/API/efl/ewk_intent_service.cpp: Removed.
* UIProcess/API/efl/ewk_intent_service.h: Removed.
* UIProcess/API/efl/ewk_intent_service_private.h: Removed.
* UIProcess/API/efl/ewk_view.cpp:
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/tests/resources/intent-request.html: Removed.
* UIProcess/API/efl/tests/resources/intent-service.html: Removed.
* UIProcess/API/efl/tests/test_ewk2_intents.cpp: Removed.
* UIProcess/efl/PageLoadClientEfl.cpp:
(WebKit::PageLoadClientEfl::PageLoadClientEfl):
* UIProcess/efl/PageLoadClientEfl.h:
(PageLoadClientEfl):

Tools:

Remove EFL DRT code related to Web intents.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createView):
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
(DumpRenderTreeChrome::onFrameCreated):
* DumpRenderTree/efl/DumpRenderTreeChrome.h:
(DumpRenderTreeChrome):
* DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::sendWebIntentResponse):
(TestRunner::deliverWebIntent):
* Scripts/webkitperl/FeatureList.pm: Turn off WEB_INTENTS flag
for EFL port.

LayoutTests:

Skip webintents/ test cases for EFL port now that
the feature is disabled.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r141402): incorrectly set injected bundle path when running GTK unit tests
https://bugs.webkit.org/show_bug.cgi?id=108496

Reviewed by Philippe Normand.

* Scripts/run-gtk-tests:
(TestRunner.__init__): Add the build type as a member on the TestRunner interface.
(TestRunner._setup_testing_environment): Use the build type member to determine correct path
to the injected bundle.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed trivial build fix: Pre C++11 the use of
>> in nested templates is ambiguous in the grammar and
requires the insertion of a space here. Since these files are
not Mac specific we don't require C++11 yet and a space
fixes the build.

* Platform/CoreIPC/Connection.h:
(Connection):
* Shared/ChildProcessProxy.h:
(ChildProcessProxy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Objective-C API: Fix insertion of values greater than the max index allowed by the spec
https://bugs.webkit.org/show_bug.cgi?id=108264

Reviewed by Oliver Hunt.

Fixed a bug, added a test to the API tests, cleaned up some code.

* API/JSValue.h: Changed some of the documentation on setValue:atIndex: to indicate that
setting values at indices greater than UINT_MAX - 1 wont' affect the length of JS arrays.
* API/JSValue.mm:
(-[JSValue valueAtIndex:]): We weren't returning when we should have been.
(-[JSValue setValue:atIndex:]): Added a comment about why we do the early check for being larger than UINT_MAX.
(objectToValueWithoutCopy): Removed two redundant cases that were already checked previously.
* API/tests/testapi.mm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
https://bugs.webkit.org/show_bug.cgi?id=108458

Source/Platform:

Only renames, no other code changes.

Reviewed by Adam Barth.

* Platform.gypi:
* chromium/public/WebMediaStream.h: Copied from Source/Platform/chromium/public/WebMediaStreamDescriptor.h.
(WebCore):
(WebKit):
(WebMediaStream):
(ExtraData):
(WebKit::WebMediaStream::ExtraData::~ExtraData):
(WebKit::WebMediaStream::WebMediaStream):
(WebKit::WebMediaStream::~WebMediaStream):
(WebKit::WebMediaStream::operator=):
(WebKit::WebMediaStream::isNull):
* chromium/public/WebMediaStreamCenter.h:
(WebKit):
(WebMediaStreamCenter):
(WebKit::WebMediaStreamCenter::didAddMediaStreamTrack):
(WebKit::WebMediaStreamCenter::didRemoveMediaStreamTrack):
* chromium/public/WebMediaStreamCenterClient.h:
(WebKit):
(WebMediaStreamCenterClient):
* chromium/public/WebMediaStreamComponent.h:
* chromium/public/WebMediaStreamDescriptor.h:
* chromium/public/WebMediaStreamTrack.h: Added.
(WebCore):
(WebKit):
(WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::operator=):
(WebKit::WebMediaStreamTrack::isNull):
* chromium/public/WebRTCPeerConnectionHandler.h:
(WebKit):
(WebRTCPeerConnectionHandler):
* chromium/public/WebRTCPeerConnectionHandlerClient.h:
(WebKit):
(WebRTCPeerConnectionHandlerClient):
* chromium/public/WebRTCStatsRequest.h:
(WebKit):
(WebRTCStatsRequest):

Source/WebCore:

Reviewed by Adam Barth.

Only renames, no other code changes.

* WebCore.gypi:
* platform/chromium/support/WebMediaStream.cpp: Added.
(WebKit::WebMediaStream::WebMediaStream):
(WebKit):
(WebKit::WebMediaStream::reset):
(WebKit::WebMediaStream::label):
(WebKit::WebMediaStream::id):
(WebKit::WebMediaStream::extraData):
(WebKit::WebMediaStream::setExtraData):
(WebKit::WebMediaStream::audioSources):
(WebKit::WebMediaStream::videoSources):
(WebKit::WebMediaStream::operator=):
(WebKit::WebMediaStream::operator PassRefPtr<WebCore::MediaStreamDescriptor>):
(WebKit::WebMediaStream::operator WebCore::MediaStreamDescriptor*):
(WebKit::WebMediaStream::initialize):
(WebKit::WebMediaStream::assign):
* platform/chromium/support/WebMediaStreamComponent.cpp: Removed.
* platform/chromium/support/WebMediaStreamDescriptor.cpp: Removed.
* platform/chromium/support/WebMediaStreamTrack.cpp: Added.
(WebKit):
(WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::operator=):
(WebKit::WebMediaStreamTrack::initialize):
(WebKit::WebMediaStreamTrack::reset):
(WebKit::WebMediaStreamTrack::operator PassRefPtr<MediaStreamComponent>):
(WebKit::WebMediaStreamTrack::operator MediaStreamComponent*):
(WebKit::WebMediaStreamTrack::isEnabled):
(WebKit::WebMediaStreamTrack::id):
(WebKit::WebMediaStreamTrack::stream):
(WebKit::WebMediaStreamTrack::source):
(WebKit::WebMediaStreamTrack::assign):
* platform/chromium/support/WebRTCStatsRequest.cpp:
(WebKit::WebRTCStatsRequest::stream):
(WebKit::WebRTCStatsRequest::component):
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):
(WebCore::MediaStreamCenterChromium::stopLocalMediaStream):
(WebCore::MediaStreamCenterChromium::addMediaStreamTrack):
(WebCore::MediaStreamCenterChromium::removeMediaStreamTrack):
* platform/mediastream/chromium/MediaStreamCenterChromium.h:
(WebKit):
(MediaStreamCenterChromium):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
(WebCore::RTCPeerConnectionHandlerChromium::didAddRemoteStream):
(WebCore::RTCPeerConnectionHandlerChromium::didRemoveRemoteStream):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(WebKit):
(RTCPeerConnectionHandlerChromium):

Source/WebKit/chromium:

Reviewed by Adam Barth.

Only renames, no other code changes.

* public/WebMediaStreamRegistry.h:
(WebKit):
(WebMediaStreamRegistry):
* public/WebUserMediaRequest.h:
(WebKit):
(WebUserMediaRequest):
* src/WebMediaStreamRegistry.cpp:
(WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
* src/WebUserMediaRequest.cpp:
(WebKit::WebUserMediaRequest::requestSucceeded):

Tools:

Reviewed by Adam Barth.

Only renames, no other code changes.

* DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp:
(MockWebMediaStreamCenter::didEnableMediaStreamTrack):
(MockWebMediaStreamCenter::didDisableMediaStreamTrack):
(MockWebMediaStreamCenter::didAddMediaStreamTrack):
(MockWebMediaStreamCenter::didRemoveMediaStreamTrack):
(MockWebMediaStreamCenter::didStopLocalMediaStream):
(MockWebMediaStreamCenter::didCreateMediaStream):
* DumpRenderTree/chromium/MockWebMediaStreamCenter.h:
(MockWebMediaStreamCenter):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
(MockWebRTCPeerConnectionHandler::addStream):
(MockWebRTCPeerConnectionHandler::removeStream):
(MockWebRTCPeerConnectionHandler::getStats):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):
* DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
(UserMediaRequestTask::UserMediaRequestTask):
(WebUserMediaClientMock::requestUserMedia):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        WebProcess sandbox profile overhaul.

        Reviewed by Sam Weinig.

        Moves some rules together by susbystem for easier maintenance.

        Addresses <rdar://problem/9276393>, <rdar://problem/10844321>, <rdar://problem/12408537>,
        <rdar://problem/12558524>.

        * WebProcess/com.apple.WebProcess.sb.in:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] CookieParser should ignore invalid/unsupported attributes instead of ignoring the cookie
https://bugs.webkit.org/show_bug.cgi?id=108494

PR 287832
Patch by Otto Derek Cheung <otcheung@rim.com> on 2013-01-31
Reviewed by Rob Buis.
Internally Reviewed by Liam Quinn.

A short-term fix for CookieParser to not blow up when a Set-Cookie header has an invalid
or unsupported cookie attribute.

We will ignore the attribute only, not the entire cookie.

Also, making sure the parser won't replace values of valid attributes when evaluating an unsupported
cookie with the same length and same first character as a supported attribute.

Tested using opera cookie and browser.swlab.rim.net cookies test suite. Tested using regular sites that
has a login mechanism.

* platform/blackberry/CookieParser.cpp:
(WebCore::CookieParser::parseOneCookie):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Lack of a log level string should not obliterate compiled in logging channel state.
https://bugs.webkit.org/show_bug.cgi?id=108502

Reviewed by Alexey Proskuryakov and Sam Weinig.

Source/WebKit/mac:

* Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.

Source/WebKit2:

* Platform/mac/Logging.mac.mm:
(WebKit::initializeLogChannel): If there's no log level string, leave the channel state alone.

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