2014-12-19 Matthew Hanson Merge r176725. rdar://problem/19300244 2014-12-03 Jer Noble [Mac] Hang when calling -[AVAsset resolvedURL]. https://bugs.webkit.org/show_bug.cgi?id=139223 Reviewed by Eric Carlson. On a particularly slow-loading site, a call to -[AVAsset resolvedURL] can take an arbitrarily long time. Treat this AVAsset property similar to other "metadata" properties, and check the load status of the property before requesting it. * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::hasSingleSecurityOrigin): Check the load state of -resolvedURL. (WebCore::MediaPlayerPrivateAVFoundationObjC::resolvedURL): Ditto. (WebCore::assetMetadataKeyNames): Add @"resolvedURL". 2014-12-18 Matthew Hanson Build fix. Unreviewed. * WebCore.exp.in: Added missing symbol. 2014-12-18 Matthew Hanson Merge r177522. rdar://problem/19288547 2014-12-18 Timothy Horton Change page preview loading order, and add a TextIndicator https://bugs.webkit.org/show_bug.cgi?id=139793 Reviewed by Beth Dakin. * WebCore.exp.in: * platform/spi/mac/NSPopoverSPI.h: Add an export and some SPI. 2014-12-17 Matthew Hanson Merge r177427. rdar://problem/19237945 2014-12-16 Timothy Horton Implement and adopt two new TextIndicator presentation animations https://bugs.webkit.org/show_bug.cgi?id=139715 Reviewed by Anders Carlsson. * WebCore.exp.in: Adjust one symbol and export another. * page/TextIndicator.cpp: (WebCore::TextIndicator::createWithSelectionInFrame): Take a blue-highlight snapshot if we're doing a crossfade without a bounce. * page/TextIndicator.h: (WebCore::TextIndicator::presentationTransition): Add FadeIn and Crossfade transition types. * page/mac/TextIndicatorWindow.h: * page/mac/TextIndicatorWindow.mm: (-[WebTextIndicatorView initWithFrame:textIndicator:margin:]): (createBounceAnimation): (createContentCrossfadeAnimation): (createShadowFadeAnimation): (createFadeInAnimation): (-[WebTextIndicatorView _textIndicatorWantsBounce]): (-[WebTextIndicatorView _textIndicatorWantsContentCrossfade]): (-[WebTextIndicatorView _textIndicatorWantsFadeIn]): Factor out the animation construction. (-[WebTextIndicatorView _animationDuration]): Factor out the duration computation. (-[WebTextIndicatorView present]): (-[WebTextIndicatorView setAnimationProgress:]): Implement FadeIn and Crossfade transitions. They can be driven externally and then continue from where they left off when the progress reaches 100%. FadeIn changes the opacity of the whole bubble, Crossfade crossfades the content (from blue to yellow). (WebCore::TextIndicatorWindow::TextIndicatorWindow): (WebCore::TextIndicatorWindow::~TextIndicatorWindow): Don't immediately destroy the window if it is crossfades or fades in. Fade it out, instead. (WebCore::TextIndicatorWindow::setAnimationProgress): Drive the paused animation manually. If progress hits 100%, start running it automatically from where it last left off. (WebCore::TextIndicatorWindow::setTextIndicator): (WebCore::TextIndicatorWindow::startFadeOut): (-[WebTextIndicatorView presentWithCompletionHandler:]): Deleted. (WebCore::TextIndicatorWindow::startFadeOutTimerFired): Deleted. Remove the completion block from -present. * platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h: Add some SPI. 2014-12-17 Matthew Hanson Merge r177409. rdar://problem/19271854 2014-12-16 Beth Dakin REGRESSION: Preview popovers obscure the link, look wrong https://bugs.webkit.org/show_bug.cgi?id=139711 -and corresponding- rdar://problem/19271854 Reviewed by Tim Horton. New SPI. * WebCore.xcodeproj/project.pbxproj: * platform/spi/mac/NSPopoverSPI.h: Added. 2014-12-16 Dana Burkart Merged r177326. 2014-12-15 Beth Dakin Speculative build fix. * platform/spi/mac/LookupSPI.h: 2014-12-16 Dana Burkart Merged r177325. 2014-12-15 Beth Dakin Speculative build fix. * platform/spi/mac/LookupSPI.h: 2014-12-15 Jer Noble Switching src of