1. 21 Nov, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Remove ENABLE_WORKERS · f0eff209
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105784
      
      .:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/WebCore:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      Source/WebKit:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      Source/WebKit/efl:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_memory_cache_clear):
      
      Source/WebKit/win:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * WebWorkersPrivate.cpp:
      (WebWorkersPrivate::workerThreadCount):
      
      Source/WTF:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * wtf/FeatureDefines.h:
      * wtf/nix/FeatureDefinesNix.h:
      
      Tools:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * Scripts/webkitperl/FeatureList.pm:
      
      WebKitLibraries:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * win/tools/vsprops/FeatureDefines.props:
      * win/tools/vsprops/FeatureDefinesCairo.props:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0eff209
  2. 06 Nov, 2013 2 commits
    • dbates@webkit.org's avatar
      [iOS] Upstream Letterpress effect · 5c168d75
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123932
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore:
      
      Add feature define ENABLE_LETTERPRESS disabled by default. We only enable
      letterpress on iOS.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Test: platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress.html
      
      * Configurations/FeatureDefines.xcconfig: Add feature define ENABLE_LETTERPRESS disabled
      by default. We only enable letterpress on iOS.
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::renderTextDecorationFlagsToCSSValue): Add support for CSS value -webkit-letterpress.
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseTextDecoration): Ditto.
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::operator TextDecoration): Ditto.
      * css/CSSValueKeywords.in: Added CSS value -webkit-letterpress.
      * platform/graphics/GraphicsContext.h:
      * platform/graphics/mac/FontMac.mm:
      (WebCore::fillVectorWithHorizontalGlyphPositions): Added.
      (WebCore::shouldUseLetterpressEffect): Added.
      (WebCore::showLetterpressedGlyphsWithAdvances): Added.
      (WebCore::showGlyphsWithAdvances): Modified to call showLetterpressedGlyphsWithAdvances()
      to show a letterpressed glyph. I also included additional iOS-specific changes.
      (WebCore::Font::drawGlyphs):
      * rendering/TextPaintStyle.cpp:
      (WebCore::TextPaintStyle::TextPaintStyle):
      (WebCore::computeTextPaintStyle): Modified to compute letterpress effect style.
      (WebCore::updateGraphicsContext): Modified to apply/unapply letterpress effect drawing mode.
      * rendering/TextPaintStyle.h:
      * rendering/style/RenderStyleConstants.h:
      
      Source/WebKit/mac:
      
      Add feature define ENABLE_LETTERPRESS disabled by default. We only enable
      letterpress on iOS.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add feature define ENABLE_LETTERPRESS disabled by default. We only enable
      letterpress on iOS.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Add feature define ENABLE_LETTERPRESS disabled by default. We only enable
      letterpress on iOS.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress-expected.txt: Added.
      * platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress.html: Added.
      * platform/iphone-simulator/iphone/resources/getComputedStyle-text-decoration-letterpress.js: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c168d75
    • dbates@webkit.org's avatar
      Add ENABLE(TEXT_SELECTION) · d7426cd9
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123827
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Add compile-time guard, ENABLE(TEXT_SELECTION), to enable or
      disable selection painting in WebCore (enabled by default).
      
      On iOS we disable WebCore selection painting and have UIKit
      paint the selection.
      
      * rendering/InlineTextBox.cpp:
      (WebCore::InlineTextBox::paintSelection): Only paint selection when
      TEXT_SELECTION is enabled.
      * rendering/LogicalSelectionOffsetCaches.h:
      (WebCore::LogicalSelectionOffsetCaches::LogicalSelectionOffsetCaches):
      For now, add a ENABLE(TEXT_SELECTION)-guard around an assertion. Added
      a FIXME comment to investigate the callers and either move the assertion
      to the appropriate callers or structure the code such that we can remove
      the assertion.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::paintSelection): Only paint selection when
      TEXT_SELECTION is enabled.
      * rendering/TextPaintStyle.cpp:
      (WebCore::computeTextSelectionPaintStyle): Only compute the selection
      paint style when TEXT_SELECTION is enabled. Otherwise, return a paint
      style identical to the text paint style. Also, substitute nullptr for 0.
      
      Source/WTF:
      
      Enable selection painting by default on all ports except iOS.
      
      * wtf/FeatureDefines.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7426cd9
  3. 29 Oct, 2013 2 commits
  4. 28 Oct, 2013 1 commit
  5. 25 Oct, 2013 1 commit
    • joepeck@webkit.org's avatar
      Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac · 1367d77a
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123111
      
      Reviewed by Timothy Hatcher.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.exp.in:
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/cf:
      
      * WebCoreSupport/WebInspectorClientCF.cpp:
      
      Source/WebKit/ios:
      
      iOS does not have a local inspector, only remote. So give it a custom
      implementation separate from the WebKit/mac WebInspectorClient
      implementation which handles an attaching/detaching local inspector.
      
      * WebKit.xcodeproj/project.pbxproj:
      * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
      (WebInspectorClient::WebInspectorClient):
      (WebInspectorClient::inspectorDestroyed):
      (WebInspectorClient::openInspectorFrontend):
      (WebInspectorClient::bringFrontendToFront):
      (WebInspectorClient::closeInspectorFrontend):
      (WebInspectorClient::didResizeMainFrame):
      (WebInspectorClient::highlight):
      (WebInspectorClient::hideHighlight):
      (WebInspectorClient::didSetSearchingForNode):
      (WebInspectorClient::sendMessageToFrontend):
      (WebInspectorClient::sendMessageToBackend):
      (WebInspectorClient::setupRemoteConnection):
      (WebInspectorClient::teardownRemoteConnection):
      (WebInspectorClient::hasLocalSession):
      (WebInspectorClient::canBeRemotelyInspected):
      (WebInspectorClient::inspectedWebView):
      (WebInspectorFrontendClient::WebInspectorFrontendClient):
      (WebInspectorFrontendClient::attachAvailabilityChanged):
      (WebInspectorFrontendClient::frontendLoaded):
      (WebInspectorFrontendClient::localizedStringsURL):
      (WebInspectorFrontendClient::bringToFront):
      (WebInspectorFrontendClient::closeWindow):
      (WebInspectorFrontendClient::disconnectFromBackend):
      (WebInspectorFrontendClient::attachWindow):
      (WebInspectorFrontendClient::detachWindow):
      (WebInspectorFrontendClient::setAttachedWindowHeight):
      (WebInspectorFrontendClient::setAttachedWindowWidth):
      (WebInspectorFrontendClient::setToolbarHeight):
      (WebInspectorFrontendClient::inspectedURLChanged):
      (WebInspectorFrontendClient::updateWindowTitle):
      (WebInspectorFrontendClient::save):
      (WebInspectorFrontendClient::append):
      
      Source/WebKit/mac:
      
      The actual implementation at the WebCoreSupport/WebInspectorClient level
      is the same as INSPECTOR_SERVER. Give debuggable pages a pageIdentifer.
      
      * Configurations/FeatureDefines.xcconfig:
      * Misc/WebKitLogging.h:
      Misc.
      
      * WebCoreSupport/WebInspectorClient.h:
      (WebInspectorClient::pageId):
      (WebInspectorClient::setPageId):
      Give WebInspectorClient's a page identifier.
      
      * WebCoreSupport/WebInspectorClient.mm:
      (WebInspectorClient::WebInspectorClient):
      (WebInspectorClient::inspectorDestroyed):
      (WebInspectorClient::sendMessageToFrontend):
      (WebInspectorClient::sendMessageToBackend):
      (WebInspectorClient::setupRemoteConnection):
      (WebInspectorClient::teardownRemoteConnection):
      (WebInspectorClient::hasLocalSession):
      (WebInspectorClient::canBeRemotelyInspected):
      (WebInspectorClient::inspectedWebView):
      A WebInspectorClient can be either local or remote. Add handling
      for remote connections.
      
      * WebInspector/remote/WebInspectorClientRegistry.h: Added.
      * WebInspector/remote/WebInspectorClientRegistry.mm: Added.
      (+[WebInspectorClientRegistry sharedRegistry]):
      (-[WebInspectorClientRegistry init]):
      (-[WebInspectorClientRegistry _getNextAvailablePageId]):
      (-[WebInspectorClientRegistry registerClient:]):
      (-[WebInspectorClientRegistry unregisterClient:]):
      (-[WebInspectorClientRegistry clientForPageId:]):
      (-[WebInspectorClientRegistry inspectableWebViews]):
      Registry for all potentially debuggable pages. All WebInspectorClient instances.
      
      * WebInspector/remote/WebInspectorRelayDefinitions.h: Added.
      Constants (message keys) shared between WebKit and the XPC process.
      
      * WebInspector/remote/WebInspectorServer.h: Added.
      * WebInspector/remote/WebInspectorServer.mm: Added.
      (-[WebInspectorServer init]):
      (-[WebInspectorServer dealloc]):
      (-[WebInspectorServer start]):
      (-[WebInspectorServer stop]):
      (-[WebInspectorServer isEnabled]):
      (-[WebInspectorServer xpcConnection]):
      (-[WebInspectorServer setupXPCConnectionIfNeeded]):
      (-[WebInspectorServer pushListing]):
      (-[WebInspectorServer hasActiveDebugSession]):
      (-[WebInspectorServer setHasActiveDebugSession:]):
      (-[WebInspectorServer xpcConnection:receivedMessage:userInfo:]):
      (-[WebInspectorServer xpcConnectionFailed:]):
      (-[WebInspectorServer didRegisterClient:]):
      (-[WebInspectorServer didUnregisterClient:]):
      Singleton to start/stop remote inspection. Handles the connection to the XPC
      and hands off connections to the connection controller.
      
      * WebInspector/remote/WebInspectorServerWebViewConnection.h: Added.
      * WebInspector/remote/WebInspectorServerWebViewConnection.mm: Added.
      (-[WebInspectorServerWebViewConnection initWithController:connectionIdentifier:destination:identifier:]):
      (-[WebInspectorServerWebViewConnection setupChannel]):
      (-[WebInspectorServerWebViewConnection dealloc]):
      (-[WebInspectorServerWebViewConnection connectionIdentifier]):
      (-[WebInspectorServerWebViewConnection identifier]):
      (-[WebInspectorServerWebViewConnection clearChannel]):
      (-[WebInspectorServerWebViewConnection sendMessageToFrontend:]):
      (-[WebInspectorServerWebViewConnection sendMessageToBackend:]):
      (-[WebInspectorServerWebViewConnection receivedData:]):
      (-[WebInspectorServerWebViewConnection receivedDidClose:]):
      An individual remote debug session connection.
      
      * WebInspector/remote/WebInspectorServerWebViewConnectionController.h: Added.
      * WebInspector/remote/WebInspectorServerWebViewConnectionController.mm: Added.
      (-[WebInspectorServerWebViewConnectionController initWithServer:]):
      (-[WebInspectorServerWebViewConnectionController dealloc]):
      (-[WebInspectorServerWebViewConnectionController closeAllConnections]):
      (-[WebInspectorServerWebViewConnectionController _listingForWebView:pageId:registry:]):
      (-[WebInspectorServerWebViewConnectionController _pushListing:]):
      (-[WebInspectorServerWebViewConnectionController pushListing:]):
      (-[WebInspectorServerWebViewConnectionController pushListing]):
      (-[WebInspectorServerWebViewConnectionController _receivedSetup:]):
      (-[WebInspectorServerWebViewConnectionController _receivedData:]):
      (-[WebInspectorServerWebViewConnectionController _receivedDidClose:]):
      (-[WebInspectorServerWebViewConnectionController _receivedGetListing:]):
      (-[WebInspectorServerWebViewConnectionController _receivedIndicate:]):
      (-[WebInspectorServerWebViewConnectionController _receivedConnectionDied:]):
      (-[WebInspectorServerWebViewConnectionController receivedMessage:userInfo:]):
      (-[WebInspectorServerWebViewConnectionController connectionClosing:]):
      (-[WebInspectorServerWebViewConnectionController sendMessageToFrontend:userInfo:]):
      ConnectionController:
        - Holds all the current ongoing remote debug connections.
        - Simplifies multi-threaded work on iOS.
        - Dispatches incoming messages from the remote connection.
      
      * WebInspector/remote/WebInspectorRemoteChannel.h: Added.
      * WebInspector/remote/WebInspectorRemoteChannel.mm: Added.
      (+[WebInspectorRemoteChannel createChannelForPageId:connection:]):
      (-[WebInspectorRemoteChannel initWithRemote:local:]):
      (-[WebInspectorRemoteChannel closeFromLocalSide]):
      (-[WebInspectorRemoteChannel closeFromRemoteSide]):
      (-[WebInspectorRemoteChannel sendMessageToFrontend:]):
      (-[WebInspectorRemoteChannel sendMessageToBackend:]):
      Thin interface between the remote connection and web inspector client.
      This simplifies breaking the connection from either side, e.g. the
      page closing, or the remote connection disconnecting.
      
      * WebInspector/remote/WebInspectorXPCWrapper.h: Added.
      * WebInspector/remote/WebInspectorXPCWrapper.m: Added.
      (-[WebInspectorXPCWrapper initWithConnection:]):
      (-[WebInspectorXPCWrapper close]):
      (-[WebInspectorXPCWrapper dealloc]):
      (-[WebInspectorXPCWrapper _deserializeMessage:]):
      (-[WebInspectorXPCWrapper _handleEvent:]):
      (-[WebInspectorXPCWrapper sendMessage:userInfo:]):
      (-[WebInspectorXPCWrapper available]):
      * WebKit.exp:
      XPC Connection wrapper handling a simple message format.
      
      * WebView/WebViewData.h:
      * WebView/WebViewData.mm:
      (-[WebViewPrivate init]):
      (-[WebViewPrivate dealloc]):
      * WebView/WebViewInternal.h:
      * WebView/WebViewPrivate.h:
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (+[WebView sharedWebInspectorServer]):
      (+[WebView _enableRemoteInspector]):
      (+[WebView _disableRemoteInspector]):
      (+[WebView _disableAutoStartRemoteInspector]):
      (+[WebView _isRemoteInspectorEnabled]):
      (+[WebView _hasRemoteInspectorSession]):
      (-[WebView canBeRemotelyInspected]):
      (-[WebView allowsRemoteInspection]):
      (-[WebView setAllowsRemoteInspection:]):
      (-[WebView setIndicatingForRemoteInspector:]):
      (-[WebView setRemoteInspectorUserInfo:]):
      (-[WebView remoteInspectorUserInfo]):
      Remote inspector private API.
        - Enable / disable globally
        - Allow / disallow per webview
        - Optionally attach a userInfo dictionary on the WebView that is published with listing.
        - Indicate a WebView (implementation to land later)
      
      (-[WebView _didCommitLoadForFrame:]):
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidReceiveTitle):
      Pages changed, pushed page listing.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1367d77a
  6. 19 Oct, 2013 2 commits
  7. 15 Oct, 2013 1 commit
  8. 11 Oct, 2013 1 commit
    • andersca@apple.com's avatar
      Remove gesture event support from WebCore · 0d0256bc
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122650
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/GestureEvent.cpp: Removed.
      * dom/GestureEvent.h: Removed.
      * dom/Node.cpp:
      * dom/Node.h:
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::clear):
      (WebCore::EventHandler::sendContextMenuEventForKey):
      * page/EventHandler.h:
      * platform/PlatformGestureEvent.h: Removed.
      * platform/Scrollbar.cpp:
      * platform/Scrollbar.h:
      * platform/mac/PlatformEventFactoryMac.h:
      * platform/mac/PlatformEventFactoryMac.mm:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      * wtf/nix/FeatureDefinesNix.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d0256bc
  9. 08 Oct, 2013 1 commit
  10. 02 Oct, 2013 1 commit
    • andersca@apple.com's avatar
      Remove Qt code from WTF · edaac513
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122221
      
      Reviewed by Antti Koivisto.
      
      I'm keeping the PLATFORM(QT) defines in Platform.h for now so we can assess if there are any
      Qt only features that we can remove later.
      
      * WTF.pri: Removed.
      * WTF.pro: Removed.
      * wtf/Assertions.cpp:
      * wtf/CurrentTime.cpp:
      * wtf/DisallowCType.h:
      * wtf/FastMalloc.cpp:
      * wtf/FeatureDefines.h:
      * wtf/qt/MainThreadQt.cpp: Removed.
      * wtf/qt/StringQt.cpp: Removed.
      * wtf/text/AtomicString.h:
      * wtf/text/StringImpl.cpp:
      (WTF::StringImpl::~StringImpl):
      * wtf/text/StringImpl.h:
      * wtf/text/WTFString.cpp:
      (WTF::String::format):
      * wtf/text/WTFString.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edaac513
  11. 30 Sep, 2013 2 commits
    • weinig@apple.com's avatar
      Remove support for DOMFileSystem · 7df82b33
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122137
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      * Files elided *
      
      Source/WebKit/blackberry: 
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::clearWebFileSystem):
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/efl: 
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_file_system_path_set):
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * Scripts/webkitperl/FeatureList.pm:
      * Scripts/webkitpy/style/checkers/cpp.py:
      (check_spacing):
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      (CppStyleTest.test_spacing_for_binary_ops):
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: 
      
      * fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
      * fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
      * fast/filesystem: Removed.
      * fast/filesystem/async-operations-expected.txt: Removed.
      * fast/filesystem/async-operations.html: Removed.
      * fast/filesystem/cross-filesystem-op-expected.txt: Removed.
      * fast/filesystem/cross-filesystem-op.html: Removed.
      * fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/directory-entry-to-uri.html: Removed.
      * fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
      * fast/filesystem/entry-points-missing-arguments.html: Removed.
      * fast/filesystem/file-after-reload-crash-expected.txt: Removed.
      * fast/filesystem/file-after-reload-crash.html: Removed.
      * fast/filesystem/file-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/file-entry-to-uri.html: Removed.
      * fast/filesystem/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/file-from-file-entry.html: Removed.
      * fast/filesystem/file-metadata-after-write-expected.txt: Removed.
      * fast/filesystem/file-metadata-after-write.html: Removed.
      * fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-continue.html: Removed.
      * fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-depth.html: Removed.
      * fast/filesystem/file-writer-abort-expected.txt: Removed.
      * fast/filesystem/file-writer-abort.html: Removed.
      * fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-empty-blob.html: Removed.
      * fast/filesystem/file-writer-events-expected.txt: Removed.
      * fast/filesystem/file-writer-events.html: Removed.
      * fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-gc-blob.html: Removed.
      * fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
      * fast/filesystem/filesystem-missing-arguments.html: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
      * fast/filesystem/filesystem-reference-expected.txt: Removed.
      * fast/filesystem/filesystem-reference.html: Removed.
      * fast/filesystem/filesystem-unserializable-expected.txt: Removed.
      * fast/filesystem/filesystem-unserializable.html: Removed.
      * fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
      * fast/filesystem/filesystem-uri-origin.html: Removed.
      * fast/filesystem/flags-passing-expected.txt: Removed.
      * fast/filesystem/flags-passing.html: Removed.
      * fast/filesystem/input-access-entries-expected.txt: Removed.
      * fast/filesystem/input-access-entries.html: Removed.
      * fast/filesystem/not-enough-arguments-expected.txt: Removed.
      * fast/filesystem/not-enough-arguments.html: Removed.
      * fast/filesystem/op-copy-expected.txt: Removed.
      * fast/filesystem/op-copy.html: Removed.
      * fast/filesystem/op-get-entry-expected.txt: Removed.
      * fast/filesystem/op-get-entry.html: Removed.
      * fast/filesystem/op-get-metadata-expected.txt: Removed.
      * fast/filesystem/op-get-metadata.html: Removed.
      * fast/filesystem/op-get-parent-expected.txt: Removed.
      * fast/filesystem/op-get-parent.html: Removed.
      * fast/filesystem/op-move-expected.txt: Removed.
      * fast/filesystem/op-move.html: Removed.
      * fast/filesystem/op-read-directory-expected.txt: Removed.
      * fast/filesystem/op-read-directory.html: Removed.
      * fast/filesystem/op-remove-expected.txt: Removed.
      * fast/filesystem/op-remove.html: Removed.
      * fast/filesystem/op-restricted-chars-expected.txt: Removed.
      * fast/filesystem/op-restricted-chars.html: Removed.
      * fast/filesystem/op-restricted-names-expected.txt: Removed.
      * fast/filesystem/op-restricted-names.html: Removed.
      * fast/filesystem/op-restricted-unicode-expected.txt: Removed.
      * fast/filesystem/op-restricted-unicode.html: Removed.
      * fast/filesystem/read-directory-expected.txt: Removed.
      * fast/filesystem/read-directory.html: Removed.
      * fast/filesystem/resources: Removed.
      * fast/filesystem/resources/async-operations.js: Removed.
      * fast/filesystem/resources/directory-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
      * fast/filesystem/resources/file-from-file-entry.js: Removed.
      * fast/filesystem/resources/file-writer-abort-continue.js: Removed.
      * fast/filesystem/resources/file-writer-abort-depth.js: Removed.
      * fast/filesystem/resources/file-writer-abort.js: Removed.
      * fast/filesystem/resources/file-writer-empty-blob.js: Removed.
      * fast/filesystem/resources/file-writer-events.js: Removed.
      * fast/filesystem/resources/file-writer-gc-blob.js: Removed.
      * fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
      * fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-utils.js: Removed.
      * fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
      * fast/filesystem/resources/fs-test-util.js: Removed.
      * fast/filesystem/resources/fs-worker-common.js: Removed.
      * fast/filesystem/resources/op-copy.js: Removed.
      * fast/filesystem/resources/op-get-entry.js: Removed.
      * fast/filesystem/resources/op-get-metadata.js: Removed.
      * fast/filesystem/resources/op-get-parent.js: Removed.
      * fast/filesystem/resources/op-move.js: Removed.
      * fast/filesystem/resources/op-read-directory.js: Removed.
      * fast/filesystem/resources/op-remove.js: Removed.
      * fast/filesystem/resources/op-restricted-chars.js: Removed.
      * fast/filesystem/resources/op-restricted-names.js: Removed.
      * fast/filesystem/resources/op-restricted-unicode.js: Removed.
      * fast/filesystem/resources/op-tests-helper.js: Removed.
      * fast/filesystem/resources/shared-worker-stub.js: Removed.
      * fast/filesystem/resources/simple-persistent-sync.js: Removed.
      * fast/filesystem/resources/simple-persistent.js: Removed.
      * fast/filesystem/resources/simple-readonly.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
      * fast/filesystem/resources/simple-temporary-sync.js: Removed.
      * fast/filesystem/resources/simple-temporary.js: Removed.
      * fast/filesystem/resources/sync-operations.js: Removed.
      * fast/filesystem/script-tests: Removed.
      * fast/filesystem/script-tests/TEMPLATE.html: Removed.
      * fast/filesystem/script-tests/filesystem-reference.js: Removed.
      * fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
      * fast/filesystem/script-tests/flags-passing.js: Removed.
      * fast/filesystem/script-tests/read-directory.js: Removed.
      * fast/filesystem/simple-persistent-expected.txt: Removed.
      * fast/filesystem/simple-persistent.html: Removed.
      * fast/filesystem/simple-readonly-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object.html: Removed.
      * fast/filesystem/simple-readonly.html: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
      * fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getfile.html: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
      * fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-remove.html: Removed.
      * fast/filesystem/simple-temporary-expected.txt: Removed.
      * fast/filesystem/simple-temporary.html: Removed.
      * fast/filesystem/workers: Removed.
      * fast/filesystem/workers/async-operations-expected.txt: Removed.
      * fast/filesystem/workers/async-operations.html: Removed.
      * fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
      * fast/filesystem/workers/detached-frame-crash.html: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry.html: Removed.
      * fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-empty-blob.html: Removed.
      * fast/filesystem/workers/file-writer-events-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
      * fast/filesystem/workers/file-writer-events.html: Removed.
      * fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-gc-blob.html: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/workers/resources: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
      * fast/filesystem/workers/simple-persistent-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync.html: Removed.
      * fast/filesystem/workers/simple-persistent.html: Removed.
      * fast/filesystem/workers/simple-temporary-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync.html: Removed.
      * fast/filesystem/workers/simple-temporary.html: Removed.
      * fast/filesystem/workers/sync-operations-expected.txt: Removed.
      * fast/filesystem/workers/sync-operations.html: Removed.
      * fast/forms/file/input-file-entries-expected.txt: Removed.
      * fast/forms/file/input-file-entries.html: Removed.
      * http/tests/filesystem: Removed.
      * http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
      * http/tests/filesystem/no-cache-filesystem-url.html: Removed.
      * http/tests/filesystem/resolve-uri-expected.txt: Removed.
      * http/tests/filesystem/resolve-uri.html: Removed.
      * http/tests/filesystem/resources: Removed.
      * http/tests/filesystem/resources/fs-test-util.js: Removed.
      * http/tests/filesystem/resources/fs-worker-common.js: Removed.
      * http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
      * http/tests/filesystem/script-tests: Removed.
      * http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/script-tests/resolve-uri.js: Removed.
      * http/tests/filesystem/workers: Removed.
      * http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync.html: Removed.
      * http/tests/filesystem/workers/resolve-url.html: Removed.
      * http/tests/filesystem/workers/script-tests: Removed.
      * http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
      * http/tests/inspector/filesystem: Removed.
      * http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
      * http/tests/inspector/filesystem/delete-entry.html: Removed.
      * http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
      * http/tests/inspector/filesystem/directory-tree.html: Removed.
      * http/tests/inspector/filesystem/filesystem-test.js: Removed.
      * http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-directory-content.html: Removed.
      * http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-file-content.html: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
      * http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-metadata.html: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
      * http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
      * http/tests/security/filesystem-iframe-from-remote.html: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
      * http/tests/workers/resources/sync-operations.js:
      (onmessage):
      * http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
      * http/tests/workers/terminate-during-sync-operation.html: Removed.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7df82b33
    • benjamin@webkit.org's avatar
      Remove the code guarded by STYLE_SCOPED · 32bbc4c1
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122123
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      Start cleaning the code related to <style scoped>. This patch
      only removes the code with #ifdef guards.
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.exp.in:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
      * bindings/generic/RuntimeEnabledFeatures.h:
      * css/DocumentRuleSets.cpp:
      (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
      * css/ElementRuleCollector.cpp:
      (WebCore::ElementRuleCollector::matchScopedAuthorRules):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::locateCousinList):
      (WebCore::StyleResolver::canShareStyleWithElement):
      (WebCore::StyleResolver::locateSharedStyle):
      * css/StyleResolver.h:
      (WebCore::StyleResolver::ensureScopeResolver):
      * css/StyleScopeResolver.cpp:
      * css/StyleScopeResolver.h:
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::ShadowRoot):
      * dom/ShadowRoot.h:
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::HTMLStyleElement):
      (WebCore::HTMLStyleElement::parseAttribute):
      (WebCore::HTMLStyleElement::insertedInto):
      (WebCore::HTMLStyleElement::removedFrom):
      * html/HTMLStyleElement.h:
      * html/HTMLStyleElement.idl:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      * testing/InternalSettings.h:
      * testing/InternalSettings.idl:
      * testing/Internals.cpp:
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit: 
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32bbc4c1
  12. 27 Sep, 2013 1 commit
    • jer.noble@apple.com's avatar
      [Mac] Implement the media controls in JavaScript. · b8744b36
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120895
      
      Reviewed by Dean Jackson.
      
      Source/JavaScriptCore:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Re-implement the existing MediaControls constellation of classes in JavaScript
      and CSS. This will allow different ports to configure their controls without
      dependencies on the layout requirements of any other port's controls.
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT:
      * Configurations/FeatureDefines.xcconfig:
      
      Add new source files to the project:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      
      Add a new class MediaControlsHost which the script controls can use to
      communicate with the HTMLMediaElement without exposing private interfaces
      to web facing scripts:
      * Modules/mediacontrols/MediaControlsHost.cpp: Added.
      (WebCore::MediaControlsHost::automaticKeyword): Static method.
      (WebCore::MediaControlsHost::forcedOnlyKeyword): Ditto.
      (WebCore::MediaControlsHost::alwaysOnKeyword): Ditto.
      (WebCore::MediaControlsHost::create): Simple factory.
      (WebCore::MediaControlsHost::MediaControlsHost): Simple constructor.
      (WebCore::MediaControlsHost::~MediaControlsHost): Simple destructor.
      (WebCore::MediaControlsHost::sortedTrackListForMenu): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::displayNameForTrack): Ditto.
      (WebCore::MediaControlsHost::captionMenuOffItem): Pass through to TextTrack.
      (WebCore::MediaControlsHost::captionMenuAutomaticItem): Ditto.
      (WebCore::MediaControlsHost::captionDisplayMode): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::setSelectedTextTrack): Pass through to HTMLMediaElement.
      (WebCore::MediaControlsHost::textTrackContainer): Lazily create a MediaControlTextTrackContainerElement.
      (WebCore::MediaControlsHost::updateTextTrackContainer): Pass through to MediaControlTextTrackContainerElement.
      * Modules/mediacontrols/MediaControlsHost.h: Added.
      * Modules/mediacontrols/MediaControlsHost.idl: Added.
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      
      Add convenience methods for adding a MediaControlsHost to a VM.
      * bindings/js/ScriptObject.cpp:
      (WebCore::ScriptGlobalObject::set):
      * bindings/js/ScriptObject.h:
      
      Add the new controller .js implementation:
      * Modules/mediacontrols/mediaControlsApple.js: Added.
      (createControls): Global method to create a new Controller object.
      (Controller): Constructor. Create and configure the default set of controls.
      (Controller.prototype.addListeners): Adds event listeners to the this.video object.
      (Controller.prototype.removeListeners): Removes listeners from same.
      (Controller.prototype.handleEvent): Makes Controller an EventHandler, making registration and
              deregistration simpler.
      (Controller.prototype.createBase): Creates the base controls object and the text track container.
      (Controller.prototype.createControls): Creates the controls panel object and controller UI.
      (Controller.prototype.setControlsType): Switches between Full Screen and Inline style of controller.
      (Controller.prototype.disconnectControls): Disconnects all UI elements from the DOM.
      (Controller.prototype.configureInlineControls): Configures existing controls for Inline mode.
      (Controller.prototype.configureFullScreenControls): Ditto, for Full Screen Mode.
      
      Add listeners for HTMLMediaElement events:
      (Controller.prototype.onloadstart): Update the status display.
      (Controller.prototype.onerror): Ditto.
      (Controller.prototype.onabort): Ditto.
      (Controller.prototype.onsuspend): Ditto.
      (Controller.prototype.onprogress): Ditto.
      (Controller.prototype.onstalled): Ditto.
      (Controller.prototype.onwaiting): Ditto.
      (Controller.prototype.onreadystatechange): Ditto.
      (Controller.prototype.ontimeupdate): Update the timeline and time displays.
      (Controller.prototype.ondurationchange): Ditto.
      (Controller.prototype.onplaying): Update the play button.
      (Controller.prototype.onplay): Ditto.
      (Controller.prototype.onpause): Ditto.
      (Controller.prototype.onratechange): Ditto.
      (Controller.prototype.onvolumechange): Update the volume and mute UI.
      (Controller.prototype.ontexttrackchange): Update the text track container and captions button.
      (Controller.prototype.ontexttrackadd): Ditto.
      (Controller.prototype.ontexttrackremove): Ditto.
      (Controller.prototype.ontexttrackcuechange): Ditto.
      (Controller.prototype.onfullscreenchange): Reconfigure the controls.
      
      Add listeners for UI element events:
      (Controller.prototype.onwrappermousemove): Show the controls and start the hide timer.
      (Controller.prototype.onwrappermouseout): Hide the controls and stop the hide timer.
      (Controller.prototype.onrewindbuttonclicked): Rewind.
      (Controller.prototype.onplaybuttonclicked): Toggle pause.
      (Controller.prototype.ontimelinechange): Update the currentTime.
      (Controller.prototype.ontimelinedown):
      (Controller.prototype.ontimelineup):
      (Controller.prototype.ontimelinemouseover): Show the thumbnail view if available.
      (Controller.prototype.ontimelinemouseout): Hide same.
      (Controller.prototype.ontimelinemousemove): Move the thumbnail view.
      (Controller.prototype.onmutebuttonclicked): Mute audio.
      (Controller.prototype.onminbuttonclicked): Increase volume to max.
      (Controller.prototype.onmaxbuttonclicked): Decrease volume to min.
      (Controller.prototype.onvolumesliderchange): Update the current volume.
      (Controller.prototype.oncaptionbuttonclicked): Show or hide the track menu.
      (Controller.prototype.onfullscreenbuttonclicked): Enter or exit fullscreen.
      (Controller.prototype.oncontrolschange): Show or hide the controls panel.
      (Controller.prototype.onseekbackmousedown): Start seeking and enable the seek timer.
      (Controller.prototype.onseekbackmouseup): Stop seeking and disable the seek timer.
      (Controller.prototype.onseekforwardmousedown): Start seekind and enable the seek timer.
      (Controller.prototype.onseekforwardmouseup): Stop seekind and disable the seek timer.
      
      Add action methods (which are mostly self explanatory):
      (Controller.prototype.updateDuration):
      (Controller.prototype.updatePlaying):
      (Controller.prototype.showControls):
      (Controller.prototype.hideControls):
      (Controller.prototype.removeControls):
      (Controller.prototype.addControls):
      (Controller.prototype.updateTime):
      (Controller.prototype.updateReadyState):
      (Controller.prototype.setStatusHidden):
      (Controller.prototype.updateThumbnailTrack):
      (Controller.prototype.updateCaptionButton):
      (Controller.prototype.updateCaptionContainer):
      (Controller.prototype.buildCaptionMenu):
      (Controller.prototype.captionItemSelected):
      (Controller.prototype.destroyCaptionMenu):
      (Controller.prototype.updateVolume):
      
      Add utility methods:
      (Controller.prototype.isFullScreen):
      (Controller.prototype.canPlay):
      (Controller.prototype.nextRate):
      (Controller.prototype.seekBackFaster):
      (Controller.prototype.seekForwardFaster):
      (Controller.prototype.formatTime):
      (Controller.prototype.trackHasThumbnails):
      
      Add the stylesheet for the javascript controls (which are mostly) copied from
      the (deleted) mediaControlsQuickTime.css and fullscreenQuickTime.css files:
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      * css/fullscreenQuickTime.css: Removed.
      * css/mediaControlsQuickTime.css: Removed.
      
      Inject new stylesheets into UA sheets:
      * css/CSSDefaultStyleSheets.cpp:
      (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
      
      Use the new javascript controls rather than MediaControls:
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::childShouldCreateRenderer): Use the javascript controls if available.
      (WebCore::HTMLMediaElement::updateTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::mediaControls): Ditto.
      (WebCore::HTMLMediaElement::hasMediaControls): Ditto.
      (WebCore::HTMLMediaElement::createMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::ensureIsolatedWorld): Create a new VM for the controls script.
      (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): Inject the media controls script into the VM.
      (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Inject the MediaControlsHost into the VM and call
              the scripts global factory function.
      * html/HTMLMediaElement.h:
      
      Remove most of the drawing code from RenderThemeMac and RenderThemeWin and
      add accessors for the new .js and .css file data:
      * rendering/RenderTheme.h:
      (WebCore::RenderTheme::mediaControlsStyleSheet): Empty virtual method.
      (WebCore::RenderTheme::mediaControlsScript): Ditto.
      * rendering/RenderThemeMac.h:
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::mediaControlsStyleSheet): Add accessor for mediaControlsApple.css.
      (WebCore::RenderThemeMac::mediaControlsScript): Add accessor for mediaControlsApple.js.
      (WebCore::RenderThemeMac::adjustSliderThumbSize): Remove the call to adjustMediaSliderThumbSize.
      * rendering/RenderThemeWin.cpp:
      (WebCore::RenderThemeWin::mediaControlsStyleSheet):
      (WebCore::RenderThemeWin::mediaControlsScript):
      * rendering/RenderThemeWin.h:
      
      Source/WebKit/mac:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Rebaseline changed tests and add new (failing) tests to
      TestExpectations.
      
      * media/audio-delete-while-slider-thumb-clicked.html:
      * platform/mac/TestExpectations:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.png:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt:
      * platform/mac/fast/layers/video-layer-expected.png:
      * platform/mac/fast/layers/video-layer-expected.txt:
      * platform/mac/fullscreen/video-controls-override-expected.txt: Added.
      * platform/mac/media/audio-controls-rendering-expected.png:
      * platform/mac/media/audio-controls-rendering-expected.txt:
      * platform/mac/media/controls-after-reload-expected.png:
      * platform/mac/media/controls-after-reload-expected.txt:
      * platform/mac/media/controls-strict-expected.png:
      * platform/mac/media/controls-strict-expected.txt:
      * platform/mac/media/controls-styling-strict-expected.png:
      * platform/mac/media/controls-styling-strict-expected.txt:
      * platform/mac/media/controls-without-preload-expected.png:
      * platform/mac/media/controls-without-preload-expected.txt:
      * platform/mac/media/media-controls-clone-expected.png:
      * platform/mac/media/media-controls-clone-expected.txt:
      * webarchive/loading/video-in-webarchive-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8744b36
  13. 10 Sep, 2013 1 commit
    • dbates@webkit.org's avatar
      [iOS] Upstream text autosizing · acb8f4f0
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121111
      
      Reviewed by Andy Estes and Sam Weinig.
      
      Source/WebCore:
      
      Tests: platform/iphone-simulator/text-autosizing/anonymous-block.html
             platform/iphone-simulator/text-autosizing/contenteditable.html
             platform/iphone-simulator/text-autosizing/first-letter.html
             platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html
             platform/iphone-simulator/text-autosizing/lists.html
             platform/iphone-simulator/text-autosizing/overflow.html
             platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html
             platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html
             platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::ComputedStyleExtractor::propertyValue):
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue):
      (WebCore::CSSParser::parseValue):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in: Add property -webkit-text-size-adjust.
      * css/DeprecatedStyleBuilder.cpp:
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInitialValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInheritValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::createHandler): Added.
      (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::updateFont):
      (WebCore::StyleResolver::applyProperties): Add COMPILE_ASSERT to ensure that
      all properties that affect font size, including -webkit-text-size-adjust, are
      resolved before properties that depend on them; see <rdar://problem/13522835>.
      (WebCore::StyleResolver::applyProperty):
      (WebCore::StyleResolver::checkForTextSizeAdjust): Added.
      * css/StyleResolver.h:
      * dom/Document.cpp:
      (WebCore::TextAutoSizingTraits::constructDeletedValue): Added.
      (WebCore::TextAutoSizingTraits::isDeletedValue): Added.
      (WebCore::Document::detach):
      (WebCore::Document::addAutoSizingNode): Added.
      (WebCore::Document::validateAutoSizingNodes): Added.
      (WebCore::Document::resetAutoSizingNodes): Added.
      * dom/Document.h:
      * editing/EditingStyle.cpp:
      * page/Frame.h: Add declarations for setTextAutosizingWidth(), textAutosizingWidth().
      * page/FrameView.cpp:
      (WebCore::FrameView::layout):
      * page/Settings.in: Generate setter and getter for setting minimumZoomFontSize.
      * platform/graphics/Font.h:
      (WebCore::Font::equalForTextAutoSizing): Added.
      * platform/graphics/FontDescription.cpp:
      (WebCore::FontDescription::familiesEqualForTextAutoSizing): Added.
      * platform/graphics/FontDescription.h:
      (WebCore::FontDescription::equalForTextAutoSizing): Added.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::RenderBlock):
      (WebCore::isVisibleRenderText): Added.
      (WebCore::resizeTextPermitted): Added.
      (WebCore::RenderBlock::immediateLineCount): Added.
      (WebCore::isNonBlocksOrNonFixedHeightListItems): Added.
      (WebCore::oneLineTextMultiplier): Added.
      (WebCore::textMultiplier): Added.
      (WebCore::RenderBlock::adjustComputedFontSizes): Added.
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::resetComputedFontSize): Added.
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::traverseNext): Added.
      (WebCore::includeNonFixedHeight): Added.
      (WebCore::RenderObject::adjustComputedFontSizesOnBlocks): Added.
      (WebCore::RenderObject::resetTextAutosizing): Added.
      * rendering/RenderObject.h:
      * rendering/RenderText.cpp:
      (WebCore::RenderText::RenderText):
      * rendering/RenderText.h:
      (WebCore::RenderText::candidateComputedTextSize): Added.
      (WebCore::RenderText::setCandidateComputedTextSize): Added.
      * rendering/style/RenderStyle.cpp:
      (WebCore::computeFontHash):
      (WebCore::RenderStyle::hashForTextAutosizing): Added.
      (WebCore::RenderStyle::equalForTextAutosizing): Added.
      (WebCore::RenderStyle::changeRequiresLayout):
      (WebCore::RenderStyle::specifiedLineHeight): Added; iOS-specific variant.
      We should reconcile this getter with the getter of the same name that is
      compiled when building with IOS_TEXT_AUTOSIZING disabled.
      (WebCore::RenderStyle::setSpecifiedLineHeight): Added.
      * rendering/style/RenderStyle.h:
      (WebCore::RenderStyle::initialSpecifiedLineHeight): Added.
      (WebCore::RenderStyle::initialTextSizeAdjust): Added.
      (WebCore::RenderStyle::setTextSizeAdjust): Added.
      (WebCore::RenderStyle::textSizeAdjust): Added.
      * rendering/style/StyleInheritedData.cpp:
      (WebCore::StyleInheritedData::StyleInheritedData):
      (WebCore::StyleInheritedData::operator==):
      * rendering/style/StyleInheritedData.h:
      * rendering/style/StyleRareInheritedData.cpp:
      (WebCore::StyleRareInheritedData::StyleRareInheritedData):
      (WebCore::StyleRareInheritedData::operator==):
      * rendering/style/StyleRareInheritedData.h:
      * rendering/style/TextSizeAdjustment.h: Added.
      (TextSizeAdjustment::TextSizeAdjustment):
      (TextSizeAdjustment::percentage):
      (TextSizeAdjustment::multiplier):
      (TextSizeAdjustment::isAuto):
      (TextSizeAdjustment::isNone):
      (TextSizeAdjustment::isPercentage):
      (TextSizeAdjustment::operator == ):
      (TextSizeAdjustment::operator != ):
      
      Source/WebKit/mac:
      
      * WebView/WebFrame.mm:
      (-[WebFrame resetTextAutosizingBeforeLayout]): Added.
      (-[WebFrame _setVisibleSize:]): Added.
      (-[WebFrame _setTextAutosizingWidth:]): Added.
      * WebView/WebFramePrivate.h:
      * WebView/WebPreferenceKeysPrivate.h:
      * WebView/WebPreferences.mm:
      (+[WebPreferences initialize]):
      (-[WebPreferences _setMinimumZoomFontSize:]): Added.
      (-[WebPreferences _minimumZoomFontSize]): Added.
      
      Source/WTF:
      
      Define iOS text autosizing to be enabled on iOS unless otherwise defined.
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      Implement infrastructure to test the iOS text autosizing code.
      
      * DumpRenderTree/TestRunner.cpp:
      (setTextAutosizingEnabledCallback): Added.
      (TestRunner::staticFunctions):
      * DumpRenderTree/TestRunner.h:
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::setTextAutosizingEnabled): Added.
      
      LayoutTests:
      
      Add tests to ensure we don't regress iOS text autosizing.
      
      * platform/iphone-simulator/text-autosizing/anonymous-block-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/anonymous-block.html: Added.
      * platform/iphone-simulator/text-autosizing/contenteditable-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/contenteditable.html: Added.
      * platform/iphone-simulator/text-autosizing/first-letter-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/first-letter.html: Added.
      * platform/iphone-simulator/text-autosizing/font-family-case-insensitive-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html: Added.
      * platform/iphone-simulator/text-autosizing/lists-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/lists.html: Added.
      * platform/iphone-simulator/text-autosizing/overflow-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/overflow.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acb8f4f0
  14. 30 Aug, 2013 1 commit
  15. 29 Aug, 2013 1 commit
  16. 20 Aug, 2013 1 commit
    • rniwa@webkit.org's avatar
      <https://webkit.org/b/120049> Delete code for Snow Leopard · 3feac41c
      rniwa@webkit.org authored
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Delete all the code for Mac OS 10.6. Nobody builds on Snow Leopard at this point.
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::pasteWithPasteboard):
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::populate):
      * platform/LocalizedStrings.cpp:
      (WebCore::truncatedStringForLookupMenuItem):
      (WebCore::contextMenuItemTagSearchWeb):
      (WebCore::contextMenuItemTagLookUpInDictionary):
      * platform/MemoryPressureHandler.cpp:
      * platform/audio/mac/AudioBusMac.mm:
      (WebCore::AudioBus::loadPlatformResource):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
      * platform/graphics/ca/PlatformCALayer.h:
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      (PlatformCALayer::acceleratesDrawing):
      (PlatformCALayer::setAcceleratesDrawing):
      (PlatformCALayer::contentsScale):
      (PlatformCALayer::setContentsScale):
      (PlatformCALayer::synchronouslyDisplayTilesInRect):
      * platform/graphics/ca/mac/TileController.mm:
      (WebCore::TileController::setScale):
      (WebCore::TileController::setAcceleratesDrawing):
      (WebCore::TileController::createTileLayer):
      * platform/graphics/cg/ImageBufferDataCG.cpp:
      (WebCore::ImageBufferData::getData):
      (WebCore::ImageBufferData::putData):
      * platform/graphics/cg/ImageBufferDataCG.h:
      * platform/graphics/cg/PathCG.cpp:
      (WebCore::Path::platformAddPathForRoundedRect):
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      (WebCore::FontPlatformData::FontPlatformData):
      (WebCore::FontPlatformData::setFont):
      * platform/graphics/mac/FontMac.mm:
      (WebCore::showGlyphsWithAdvances):
      * platform/graphics/mac/GraphicsContextMac.mm:
      (WebCore::GraphicsContext::drawLineForDocumentMarker):
      * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
      (WebCore::MediaPlayerPrivateQTKit::createQTMovie):
      (WebCore::MediaPlayerPrivateQTKit::layerHostChanged):
      * platform/graphics/mac/WebLayer.mm:
      (drawLayerContents):
      * platform/mac/CursorMac.mm:
      (WebCore::Cursor::ensurePlatformCursor):
      * platform/mac/EmptyProtocolDefinitions.h: Removed.
      * platform/mac/MemoryPressureHandlerMac.mm:
      (WebCore::MemoryPressureHandler::releaseMemory):
      * platform/mac/NSScrollerImpDetails.h:
      * platform/mac/PlatformEventFactoryMac.mm:
      (WebCore::momentumPhaseForEvent):
      (WebCore::phaseForEvent):
      * platform/mac/ScrollAnimatorMac.mm:
      * platform/mac/SharedTimerMac.mm:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      * platform/network/mac/ResourceHandleMac.mm:
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdateResourceRequest):
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/text/cf/HyphenationCF.cpp:
      * platform/text/mac/HyphenationMac.mm: Removed.
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::containsPaintedContent):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::shouldShowPlaceholderWhenFocused):
      
      Source/WebKit/mac:
      
      * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
      (-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]):
      (-[WebDefaultUIDelegate webView:contextMenuItemsForElement:defaultMenuItems:]):
      * Misc/WebNSControlExtras.m:
      (-[NSControl sizeToFitAndAdjustWindowHeight]):
      * Misc/WebNSFileManagerExtras.mm:
      * WebCoreSupport/WebEditorClient.mm:
      (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
      (WebEditorClient::getGuessesForWord):
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidLayout):
      (WebFrameLoaderClient::provisionalLoadStarted):
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      * WebKitPrefix.h:
      * WebView/WebDynamicScrollBarsView.mm:
      (-[WebDynamicScrollBarsView scrollWheel:]):
      * WebView/WebFullScreenController.mm:
      (convertRectToScreen):
      (-[WebFullScreenController finishedEnterFullScreenAnimation:]):
      (-[WebFullScreenController exitFullScreen]):
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
      (-[WebHTMLView removeMouseMovedObserver]):
      (-[WebHTMLView windowDidBecomeKey:]):
      (-[WebHTMLView windowDidResignKey:]):
      * WebView/WebView.mm:
      (-[WebView _deviceScaleFactor]):
      
      Source/WebKit2:
      
      * NetworkProcess/mac/NetworkProcessMac.mm:
      (WebKit::overrideSystemProxies):
      (WebKit::NetworkProcess::platformInitializeNetworkProcess):
      * WebKit2Prefix.h:
      
      Source/WTF:
      
      * wtf/FastMalloc.cpp:
      (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
      * wtf/FeatureDefines.h:
      * wtf/Platform.h:
      
      Tools:
      
      * DumpRenderTree/mac/CheckedMalloc.cpp:
      (protectionOfRegion):
      (makeLargeMallocFailSilently):
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
      (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
      * DumpRenderTree/mac/FrameLoadDelegate.mm:
      (testPathFromURL):
      (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
      * DumpRenderTree/mac/LayoutTestHelper.m:
      * DumpRenderTree/mac/TestRunnerMac.mm:
      * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
      (WTR::InjectedBundle::platformInitialize):
      * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
      (WTR::testPathFromURL):
      (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3feac41c
  17. 19 Aug, 2013 1 commit
    • joepeck@webkit.org's avatar
      <https://webkit.org/b/119905> [iOS] Upstream Source/WTF · 45ffc95e
      joepeck@webkit.org authored
      Reviewed by Benjamin Poulain.
      
      Upstream iOS WebKit Source/WTF.
      
      * Configurations/Base.xcconfig:
      JavaScriptCore.framework is a public framework.
      
      * wtf/Assertions.h:
      Define an export macro for iOS projects just including <wtf/Assertions.h>.
      
      * wtf/Platform.h:
      * wtf/FeatureDefines.h:
      iOS ENABLE and USE defines.
      
      * wtf/MainThread.h:
      * wtf/mac/MainThreadMac.mm:
      (WTF::initializeApplicationUIThreadIdentifier):
      (WTF::initializeWebThreadIdentifier):
      (WTF::canAccessThreadLocalDataForThread):
      * wtf/WeakPtr.h:
      (WTF::WeakReference::get):
      (WTF::WeakReference::clear):
      Shared WebThread and MainThread access to thread local data.
      
      * wtf/WTFThreadData.cpp:
      (WTF::WTFThreadData::WTFThreadData):
      Shared WebThread and MainThread identifier tables.
      
      * wtf/ThreadSpecific.h:
      (WTF::::replace):
      Used later on so that WebThread can share the MainThread's thread global data.
      
      * wtf/text/StringStatics.cpp:
      (WTF::AtomicString::init):
      When USE(WEB_THREAD) assert AtomicString::init is initialized on the realMainThread.
      
      * wtf/unicode/CharacterNames.h:
      * wtf/unicode/icu/UnicodeIcu.h:
      (WTF::Unicode::hasLineBreakingPropertyComplexContextOrIdeographic):
      Minor iOS constants and functions used later by WebCore.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45ffc95e
  18. 12 Aug, 2013 1 commit
  19. 06 Aug, 2013 2 commits
    • weinig@apple.com's avatar
      .: Remove support for HTML5 MicroData · b49e18e4
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/OptionsGTK.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: Remove support for HTML5 Microdata
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * UseJSC.cmake:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/gobject/GNUmakefile.am:
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSHTMLCollectionCustom.cpp:
      (WebCore::JSHTMLCollection::nameGetter):
      * bindings/js/JSHTMLElementCustom.cpp:
      * bindings/js/JSMicroDataItemValueCustom.cpp: Removed.
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      * dom/Document.cpp:
      * dom/Document.h:
      * dom/Document.idl:
      * dom/Element.cpp:
      (WebCore::Element::ensureCachedHTMLCollection):
      * dom/LiveNodeList.cpp:
      (WebCore::LiveNodeListBase::rootNode):
      (WebCore::LiveNodeListBase::invalidateCache):
      (WebCore::LiveNodeList::namedItem):
      * dom/LiveNodeList.h:
      (WebCore::LiveNodeListBase::shouldInvalidateTypeOnAttributeChange):
      * dom/MicroDataItemList.cpp: Removed.
      * dom/MicroDataItemList.h: Removed.
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/NodeRareData.cpp:
      * dom/NodeRareData.h:
      * dom/PropertyNodeList.cpp: Removed.
      * dom/PropertyNodeList.h: Removed.
      * dom/PropertyNodeList.idl: Removed.
      * html/CollectionType.h:
      * html/HTMLAnchorElement.cpp:
      * html/HTMLAnchorElement.h:
      * html/HTMLAreaElement.cpp:
      * html/HTMLAreaElement.h:
      * html/HTMLCollection.cpp:
      (WebCore::shouldOnlyIncludeDirectChildren):
      (WebCore::rootTypeFromCollectionType):
      (WebCore::invalidationTypeExcludingIdAndNameAttributes):
      (WebCore::isMatchingElement):
      (WebCore::LiveNodeListBase::item):
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::parseAttribute):
      (WebCore::HTMLElement::isURLAttribute):
      * html/HTMLElement.h:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.cpp:
      * html/HTMLEmbedElement.h:
      * html/HTMLIFrameElement.cpp:
      * html/HTMLIFrameElement.h:
      * html/HTMLImageElement.cpp:
      * html/HTMLImageElement.h:
      * html/HTMLLinkElement.cpp:
      * html/HTMLLinkElement.h:
      * html/HTMLMediaElement.cpp:
      * html/HTMLMediaElement.h:
      * html/HTMLMetaElement.cpp:
      * html/HTMLMetaElement.h:
      * html/HTMLObjectElement.cpp:
      * html/HTMLObjectElement.h:
      * html/HTMLPropertiesCollection.cpp: Removed.
      * html/HTMLPropertiesCollection.h: Removed.
      * html/HTMLPropertiesCollection.idl: Removed.
      * html/HTMLSourceElement.cpp:
      * html/HTMLSourceElement.h:
      * html/HTMLTrackElement.cpp:
      * html/HTMLTrackElement.h:
      * html/MicroDataAttributeTokenList.cpp: Removed.
      * html/MicroDataAttributeTokenList.h: Removed.
      * html/MicroDataItemValue.cpp: Removed.
      * html/MicroDataItemValue.h: Removed.
      * html/MicroDataItemValue.idl: Removed.
      
      Source/WebKit/blackberry: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * wtf/FeatureDefines.h:
      
      Tools: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * fast/dom/MicroData: Removed.
      * fast/dom/MicroData/001-expected.txt: Removed.
      * fast/dom/MicroData/001.html: Removed.
      * fast/dom/MicroData/002-expected.txt: Removed.
      * fast/dom/MicroData/002.html: Removed.
      * fast/dom/MicroData/003-expected.txt: Removed.
      * fast/dom/MicroData/003.html: Removed.
      * fast/dom/MicroData/004-expected.txt: Removed.
      * fast/dom/MicroData/004.html: Removed.
      * fast/dom/MicroData/005-expected.txt: Removed.
      * fast/dom/MicroData/005.html: Removed.
      * fast/dom/MicroData/006-expected.txt: Removed.
      * fast/dom/MicroData/006.html: Removed.
      * fast/dom/MicroData/007-expected.txt: Removed.
      * fast/dom/MicroData/007.html: Removed.
      * fast/dom/MicroData/008-expected.txt: Removed.
      * fast/dom/MicroData/008.html: Removed.
      * fast/dom/MicroData/009-expected.txt: Removed.
      * fast/dom/MicroData/009.html: Removed.
      * fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree-expected.txt: Removed.
      * fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree.html: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-add-token-expected.txt: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index-expected.txt: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html: Removed.
      * fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Removed.
      * fast/dom/MicroData/element-with-empty-itemprop.html: Removed.
      * fast/dom/MicroData/getitems-empty-string-as-arg-expected.txt: Removed.
      * fast/dom/MicroData/getitems-empty-string-as-arg.html: Removed.
      * fast/dom/MicroData/getitems-multiple-itemtypes-expected.txt: Removed.
      * fast/dom/MicroData/getitems-multiple-itemtypes.html: Removed.
      * fast/dom/MicroData/item-not-attached-to-domtree-expected.txt: Removed.
      * fast/dom/MicroData/item-not-attached-to-domtree.html: Removed.
      * fast/dom/MicroData/item-with-itemprop-attr-expected.txt: Removed.
      * fast/dom/MicroData/item-with-itemprop-attr.html: Removed.
      * fast/dom/MicroData/item-with-itemref-pointing-to-itself-expected.txt: Removed.
      * fast/dom/MicroData/item-with-itemref-pointing-to-itself.html: Removed.
      * fast/dom/MicroData/itemid-attribute-test-001-expected.txt: Removed.
      * fast/dom/MicroData/itemid-attribute-test-001.html: Removed.
      * fast/dom/MicroData/itemid-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemid-attribute-test.html: Removed.
      * fast/dom/MicroData/itemid-must-see-resolved-url-expected.txt: Removed.
      * fast/dom/MicroData/itemid-must-see-resolved-url.html: Removed.
      * fast/dom/MicroData/itemprop-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemprop-for-an-element-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html: Removed.
      * fast/dom/MicroData/itemprop-must-be-read-only-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-must-be-read-only.html: Removed.
      * fast/dom/MicroData/itemprop-names-override-builtin-properties-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-names-override-builtin-properties.html: Removed.
      * fast/dom/MicroData/itemprop-reflected-by-itemProp-property-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html: Removed.
      * fast/dom/MicroData/itemref-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemref-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property-expected.txt: Removed.
      * fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property.html: Removed.
      * fast/dom/MicroData/itemref-for-an-element-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/itemref-for-an-element-must-be-correct.html: Removed.
      * fast/dom/MicroData/itemref-must-be-read-only-expected.txt: Removed.
      * fast/dom/MicroData/itemref-must-be-read-only.html: Removed.
      * fast/dom/MicroData/itemref-pointing-to-root-node-expected.txt: Removed.
      * fast/dom/MicroData/itemref-pointing-to-root-node.html: Removed.
      * fast/dom/MicroData/itemref-refers-first-element-with-given-id-expected.txt: Removed.
      * fast/dom/MicroData/itemref-refers-first-element-with-given-id.html: Removed.
      * fast/dom/MicroData/itemscope-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemscope-attribute-test.html: Removed.
      * fast/dom/MicroData/itemscope-must-be-read-write-expected.txt: Removed.
      * fast/dom/MicroData/itemscope-must-be-read-write.html: Removed.
      * fast/dom/MicroData/itemtype-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemtype-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemtype-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemtype-attribute-test.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-href-attr-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-href-attr.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-src-attr-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-src-attr.html: Removed.
      * fast/dom/MicroData/itemvalue-returns-element-itself-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-returns-element-itself.html: Removed.
      * fast/dom/MicroData/itemvalue-returns-null-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-returns-null.html: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html: Removed.
      * fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/nameditem-must-be-case-sensitive-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-must-be-case-sensitive.html: Removed.
      * fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-must-return-correct-item-properties.html: Removed.
      * fast/dom/MicroData/nameditem-returns-propertynodelist-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-returns-propertynodelist.html: Removed.
      * fast/dom/MicroData/names-item-out-of-range-index-expected.txt: Removed.
      * fast/dom/MicroData/names-item-out-of-range-index.html: Removed.
      * fast/dom/MicroData/names-property-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/names-property-must-be-correct.html: Removed.
      * fast/dom/MicroData/names-property-test-expected.txt: Removed.
      * fast/dom/MicroData/names-property-test.html: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-itemref-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-itemref.html: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-property-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-property.html: Removed.
      * fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html: Removed.
      * fast/dom/MicroData/properties-collection-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-be-correct.html: Removed.
      * fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items.html: Removed.
      * fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref.html: Removed.
      * fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name.html: Removed.
      * fast/dom/MicroData/properties-collection-nameditem-test-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-nameditem-test.html: Removed.
      * fast/dom/MicroData/properties-collection-test-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-test.html: Removed.
      * fast/dom/MicroData/propertiescollection-crash-expected.txt: Removed.
      * fast/dom/MicroData/propertiescollection-crash.html: Removed.
      * fast/dom/MicroData/propertiescollection-on-changing-id-attr-expected.txt: Removed.
      * fast/dom/MicroData/propertiescollection-on-changing-id-attr.html: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html: Removed.
      * fast/dom/MicroData/propertynodelist-crash-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-crash.html: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element.html: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-test-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-test.html: Removed.
      * fast/dom/MicroData/propertynodelist-test-add-remove-element-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-test-add-remove-element.html: Removed.
      * fast/dom/MicroData/resources: Removed.
      * fast/dom/MicroData/resources/microdata-common.js: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b49e18e4
    • achristensen@apple.com's avatar
      Enabled WebGL on WinCairo port. · 82d30a4f
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119502
      
      Reviewed by Benjamin Poulain.
      
      Source/WebKit:
      
      * WebKit.vcxproj/WebKit.sln: Build ANGLE libraries.
      * WebKit.vcxproj/WebKit/WebKitCFLite.props: Link to ANGLE libraries.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h: Enabled WebGL.
      * wtf/Platform.h: Added definitions required for WebGL on Windows.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82d30a4f
  20. 05 Aug, 2013 1 commit
  21. 01 Aug, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [Forms: color] <input type='color'> popover color well implementation · 7231230f
      commit-queue@webkit.org authored
      <rdar://problem/14411008> and https://bugs.webkit.org/show_bug.cgi?id=119356
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-08-01
      Reviewed by Benjamin Poulain.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebKit2:
      
      This patch adds an popover implementation of <input type='color'>.
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::createColorPicker): Updated to pass the
        coordinates of the <input type='color'> element and the WKView
        object for the window.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::viewWillStartLiveResize): Close popover color
        picker when the view is resized.
      (WebKit::WebPageProxy::viewInWindowStateDidChange): Close popover color
        picker when the view is no longer in the window.
      (WebKit::WebPageProxy::showColorPicker): Updated to show either a color panel
        or a popover color picker depending on whether INPUT_TYPE_COLOR_POPOVER is enabled.
      
      * UIProcess/mac/WebColorPickerMac.h:
      * UIProcess/mac/WebColorPickerMac.mm:
      (WebKit::WebColorPickerMac::create):
      (WebKit::WebColorPickerMac::~WebColorPickerMac):
      (WebKit::WebColorPickerMac::WebColorPickerMac):
      (WebKit::WebColorPickerMac::endPicker):
      (WebKit::WebColorPickerMac::setSelectedColor):
      (WebKit::WebColorPickerMac::showColorPicker):
      Methods updated to handle both the color panel implementation and
        the popover implementation; also renamed m_panel to m_colorPickerUI.
      
      (-[WKColorPopoverMac initWithFrame:WebCore::inView:]):
      (-[WKColorPopoverMac setAndShowPicker:WebKit::withColor:]):
      (-[WKColorPopoverMac dealloc]):
      (-[WKColorPopoverMac invalidate]):
      (-[WKColorPopoverMac windowWillClose:]):
      (-[WKColorPopoverMac didChooseColor:]):
      (-[WKColorPopoverMac setColor:]):
      WKColorPopoverMac provides the popover implementation of <input type='color'>.
      
      (-[WKColorPanelMac didChooseColor:]): Updated to match the interface of
        WKColorPickerMac::didChooseColor.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7231230f
  22. 31 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      <input type=color> Mac UI behaviour · 23815488
      commit-queue@webkit.org authored
      <rdar://problem/10269922> and https://bugs.webkit.org/show_bug.cgi?id=61276
      
      Source/JavaScriptCore:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      
      Source/WebCore:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      This patch turns on INPUT_TYPE_COLOR and implements it using the native
      Mac color panel.
      
      No new tests added.
      
      Currently, there are no automated ways to test the types of changes made in this patch. (i.e. checking
      which color is being displayed in the color panel, checking which color element is currently
      associated to the color panel, checking the state of color elements after directing away and
      being directed back to its page, etc.)
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      
      * html/ColorInputType.cpp:
      (WebCore::ColorInputType::handleDOMActivateEvent): Reattaches the color picker if
        a color picker has already been shown for an element
      (WebCore::ColorInputType::shouldResetOnDocumentActivation): Always returns true, needed to
        detach the color picker when caching a page.
      * html/ColorInputType.h:
      
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::documentDidResumeFromPageCache): For <input type='color'>,
        don't reset the element.
      (WebCore::HTMLInputElement::documentWillSuspendForPageCache): For <input type='color'>, call detach().
      * html/HTMLInputElement.h:
      
      * platform/ColorChooser.h:
      (WebCore::ColorChooser::reattachColorChooser): Added definition.
      
      Source/WebKit/mac:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::createColorPicker): Added stub implementation.
      
      Source/WebKit2:
      
      Implemented <input type='color'> on Mac using the native color picker.
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      Code for WebColorPickerMac is derived from Chromium's color_chooser_mac.mm:
      https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/cocoa/color_chooser_mac.mm
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::createColorPicker): Replaced stub implementation
        and return a WebColorPickerMac object.
      
      * UIProcess/WebColorPicker.cpp:
      (WebKit::WebColorPicker::invalidate): Updated to call endChooser().
      (WebKit::WebColorPicker::showColorPicker): Added stub implementation.
      * UIProcess/WebColorPicker.h:
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::close): Removed invalidation of removed color picker objects.
      (WebKit::WebPageProxy::showColorPicker): Updated so that it works for
        multiple <input type='color'> elements on a page.
      (WebKit::WebPageProxy::didEndColorPicker): Removed cleanup of removed color picker objects.
      (WebKit::WebPageProxy::resetStateAfterProcessExited): Removed cleanup of removed color picker objects.
      
      * UIProcess/mac/WebColorPickerMac.h: Added.
      * UIProcess/mac/WebColorPickerMac.mm: Added.
      (WebKit::WebColorPickerMac::create):
      (WebKit::WebColorPickerMac::~WebColorPickerMac):
      (WebKit::WebColorPickerMac::WebColorPickerMac):
      (WebKit::WebColorPickerMac::endPicker):
      (WebKit::WebColorPickerMac::setSelectedColor):
      (WebKit::WebColorPickerMac::didChooseColor):
      (WebKit::WebColorPickerMac::showColorPicker):
      WebColorPickerMac contains a reference to a WKColorPanelMac object
        and is responsible for maintaining the color picker UI.
      
      (-[WKColorPanelMac setAndShowPicker:withColor:]):
      (-[WKColorPanelMac invalidate]):
      (-[WKColorPanelMac windowWillClose:]):
      (-[WKColorPanelMac didChooseColor:]):
      (-[WKColorPanelMac setColor:]):
      WKColorPanelMac is a wrapper for a NSColorPanel object and
        is responsible for the color picker UI.
      
      * WebKit2.xcodeproj/project.pbxproj:
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::createColorChooser): Updated to always create a
        WebColorChooser object.
      
      * WebProcess/WebCoreSupport/WebColorChooser.cpp:
      (WebKit::WebColorChooser::reattachColorChooser): Sets the page's
        active color chooser to the current object and pings the UIProcess
        to show the color picker.
      (WebKit::WebColorChooser::setSelectedColor): Only sets the color in the
        color picker if the WebColorChooser object is the active color element.
      * WebProcess/WebCoreSupport/WebColorChooser.h:
      
      Source/WTF:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * wtf/FeatureDefines.h: Enabled INPUT_TYPE_COLOR on Mac port.
      
      LayoutTests:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      Updated tests to reflect <input type='color'> being implemented with a native color picker.
      
      * fast/forms/color/input-color-onchange-event-expected.txt:
      
      * platform/mac/TestExpectations: Enabled fast/form/color tests on Mac.
      
      * platform/mac/accessibility/color-well-expected.txt:
      * platform/mac/accessibility/role-subrole-roledescription-expected.txt:
      * platform/mac/accessibility/role-subrole-roledescription.html:
      
      * platform/mac/fast/forms/color/input-appearance-color-expected.txt: Updated test expectations
      on Mac to reflect the fact that the list attribute for <input type='color'> is not yet supported.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23815488
  23. 13 Jun, 2013 1 commit
  24. 29 May, 2013 1 commit
    • tkent@chromium.org's avatar
      Remove ENABLE_INPUT_MULTIPLE_FIELDS_UI. · 42adbf94
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116796
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      This feature was used only by Chromium port.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * css/html.css:
      (input::-webkit-date-and-time-value):
      * dom/Element.cpp:
      * dom/Element.h:
      * html/BaseChooserOnlyDateAndTimeInputType.cpp:
      * html/BaseChooserOnlyDateAndTimeInputType.h:
      * html/BaseMultipleFieldsDateAndTimeInputType.cpp: Removed.
      * html/BaseMultipleFieldsDateAndTimeInputType.h: Removed.
      * html/DateInputType.cpp:
      * html/DateInputType.h:
      (DateInputType):
      * html/DateTimeFieldsState.cpp: Removed.
      * html/DateTimeFieldsState.h: Removed.
      * html/DateTimeInputType.cpp:
      * html/DateTimeInputType.h:
      (DateTimeInputType):
      * html/DateTimeLocalInputType.cpp:
      * html/DateTimeLocalInputType.h:
      (DateTimeLocalInputType):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::HTMLInputElement):
      (WebCore):
      * html/HTMLInputElement.h:
      (HTMLInputElement):
      * html/InputType.cpp:
      * html/InputType.h:
      (InputType):
      * html/MonthInputType.cpp:
      * html/MonthInputType.h:
      (MonthInputType):
      * html/TimeInputType.cpp:
      * html/TimeInputType.h:
      (TimeInputType):
      * html/WeekInputType.cpp:
      * html/WeekInputType.h:
      (WeekInputType):
      * html/shadow/ClearButtonElement.cpp: Removed.
      * html/shadow/ClearButtonElement.h: Removed.
      * html/shadow/DateTimeEditElement.cpp: Removed.
      * html/shadow/DateTimeEditElement.h: Removed.
      * html/shadow/DateTimeFieldElement.cpp: Removed.
      * html/shadow/DateTimeFieldElement.h: Removed.
      * html/shadow/DateTimeFieldElements.cpp: Removed.
      * html/shadow/DateTimeFieldElements.h: Removed.
      * html/shadow/DateTimeNumericFieldElement.cpp: Removed.
      * html/shadow/DateTimeNumericFieldElement.h: Removed.
      * html/shadow/DateTimeSymbolicFieldElement.cpp: Removed.
      * html/shadow/DateTimeSymbolicFieldElement.h: Removed.
      * html/shadow/PickerIndicatorElement.cpp: Removed.
      * html/shadow/PickerIndicatorElement.h: Removed.
      * page/ChromeClient.h:
      (ChromeClient):
      * platform/LocalizedStrings.h:
      (WebCore):
      * platform/text/PlatformLocale.cpp:
      * platform/text/PlatformLocale.h:
      (Locale):
      * rendering/RenderDetailsMarker.cpp:
      * rendering/RenderDetailsMarker.h:
      * rendering/RenderObject.h:
      (RenderObject):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-change-layout-by-value-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-change-layout-by-value.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-change-and-input-events.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-visibility-after-restore-expected.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-visibility-after-restore.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-fallback-format.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-focus-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-focus.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-mouse-events-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-stepup-stepdown-from-renderer.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-wheel-event-expected.txt: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-wheel-event.html: Removed.
      * fast/forms/date-multiple-fields/resources/preserve-value-after-history-back-frame.html: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-fallback-format.html: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/datetime-multiple-fields/datetime-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-aria-attributes-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-aria-attributes.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-blur-and-focus-events-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-blur-and-focus-events.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-change-layout-by-value-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-change-layout-by-value.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-change-and-input-events.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore-expected.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-fallback-format.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-readonly-subfield-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-readonly-subfield.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-reset-value-after-reloads-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-reset-value-after-reloads.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-spinbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-spinbutton-change-and-input-events.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-wheel-event-expected.txt: Removed.
      * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-wheel-event.html: Removed.
      * fast/forms/datetimelocal-multiple-fields/resources/preserve-value-after-history-back-frame.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-ax-aria-attributes-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-ax-aria-attributes.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-blur-and-focus-events-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-blur-and-focus-events.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-change-layout-by-value-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-change-layout-by-value.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-change-and-input-events.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-visibility-after-restore-expected.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-visibility-after-restore.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-fallback-format.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-mouse-events-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-mouse-events.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-preserve-value-after-history-back-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-preserve-value-after-history-back.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-readonly-subfield-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-readonly-subfield.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-reset-value-after-reloads-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-reset-value-after-reloads.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-spinbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-spinbutton-change-and-input-events.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-stepup-stepdown-from-renderer.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-wheel-event-expected.txt: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-wheel-event.html: Removed.
      * fast/forms/month-multiple-fields/resources/preserve-value-after-history-back-frame.html: Removed.
      * fast/forms/time-multiple-fields/resources/preserve-value-after-history-back-frame.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-ax-aria-attributes-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-ax-aria-attributes.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-blur-and-focus-events-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-blur-and-focus-events.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-layout-by-value-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-layout-by-value.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type-on-focus-2-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type-on-focus-2.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type-on-focus-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type-on-focus.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-change-type.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-change-and-input-events.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore-expected.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-crash-after-adoptnode-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-crash-after-adoptnode.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-fallback-format.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-focus-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-focus-style-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-focus-style.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-focus.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-localization.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-losing-renderer-on-click-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-losing-renderer-on-click.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-mouse-events-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-mouse-events.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-narrow-width-scroll-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-narrow-width-scroll.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-readonly-subfield-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-readonly-subfield.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-reset-value-after-reload-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-reset-value-after-reload.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-state-change-on-focus-or-blur-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-state-change-on-focus-or-blur.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-static-relayout-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-static-relayout.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-step-attribute-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-step-attribute.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-tabindex-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-tabindex.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-wheel-event-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-wheel-event.html: Removed.
      * fast/forms/week-multiple-fields/resources/preserve-value-after-history-back-frame.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-ax-aria-attributes-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-ax-aria-attributes.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-blur-and-focus-events-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-blur-and-focus-events.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-change-layout-by-value-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-change-layout-by-value.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-change-and-input-events.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore-expected.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-fallback-format-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-fallback-format.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-keyboard-events-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-keyboard-events.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-mouse-events-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-readonly-subfield-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-readonly-subfield.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-reset-value-after-reloads-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-reset-value-after-reloads.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-spinbutton-change-and-input-events-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-spinbutton-change-and-input-events.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-stepup-stepdown-from-renderer.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-validity-badinput-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-validity-badinput.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-value-set-empty-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-value-set-empty.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-wheel-event-expected.txt: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-wheel-event.html: Removed.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42adbf94
  25. 26 May, 2013 1 commit
    • tkent@chromium.org's avatar
      Remove ENABLE_CALENDAR_PICKER · 72ef607f
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116795
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      This feature was used only by Chromium port.
      
      * Resources/pagepopups/calendarPicker.css: Removed.
      * Resources/pagepopups/calendarPicker.js: Removed.
      * css/html.css:
      * platform/text/LocaleICU.cpp:
      (WebCore::LocaleICU::LocaleICU):
      (WebCore):
      * platform/text/LocaleICU.h:
      (LocaleICU):
      * platform/text/PlatformLocale.h:
      (Locale):
      * platform/text/mac/LocaleMac.h:
      (LocaleMac):
      * platform/text/mac/LocaleMac.mm:
      (WebCore::LocaleMac::monthLabels):
      * platform/text/win/LocaleWin.cpp:
      (WebCore::LocaleWin::LocaleWin):
      (WebCore::LocaleWin::monthLabels):
      * platform/text/win/LocaleWin.h:
      (LocaleWin):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      The list was wrong. Blackberry port doesn't use CALENDAR_PICKER code.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72ef607f
  26. 24 May, 2013 1 commit
    • andersca@apple.com's avatar
      Remove PagePopup code · 0b330ab8
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116732
      
      Reviewed by Andreas Kling.
      
      .:
      
      * Source/cmakeconfig.h.cmake:
      Remove ENABLE_PAGE_POPUP.
      
      Source/WebCore:
      
      Remove all page popup code.
      
      * GNUmakefile.list.am:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/ContextFeatures.cpp:
      * dom/ContextFeatures.h:
      * loader/EmptyClients.h:
      * page/ChromeClient.h:
      * page/DOMWindowPagePopup.cpp: Removed.
      * page/DOMWindowPagePopup.h: Removed.
      * page/DOMWindowPagePopup.idl: Removed.
      * page/PagePopup.h: Removed.
      * page/PagePopupClient.cpp: Removed.
      * page/PagePopupClient.h: Removed.
      * page/PagePopupController.cpp: Removed.
      * page/PagePopupController.h: Removed.
      * page/PagePopupController.idl: Removed.
      * page/PagePopupDriver.h: Removed.
      * testing/Internals.cpp:
      (WebCore::Internals::resetToConsistentState):
      (WebCore):
      * testing/Internals.h:
      (WebCore):
      (Internals):
      * testing/Internals.idl:
      * testing/MockPagePopupDriver.cpp: Removed.
      * testing/MockPagePopupDriver.h: Removed.
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      Remove PAGE_POPUP.
      
      Source/WTF:
      
      Remove ENABLE_PAGE_POPUP.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Remove tests that relied on the mock page popup driver.
      
      * fast/forms/date/no-page-popup-controller-expected.txt: Removed.
      * fast/forms/date/no-page-popup-controller.html: Removed.
      * fast/forms/resources/picker-common.js: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-open-picker-key-bindings-expected.txt: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-open-picker-key-bindings.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b330ab8
  27. 19 May, 2013 1 commit
    • andersca@apple.com's avatar
      Remove link prerendering code · a82aee4a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116415
      
      Reviewed by Darin Adler.
      
      .:
      
      This code was only used by Chromium and is dead now.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      * dom/Document.h:
      (WebCore):
      (Document):
      * dom/EventNames.h:
      (WebCore):
      * html/HTMLLinkElement.cpp:
      * html/HTMLLinkElement.h:
      * html/LinkRelAttribute.cpp:
      (WebCore::LinkRelAttribute::LinkRelAttribute):
      * html/LinkRelAttribute.h:
      (LinkRelAttribute):
      * loader/LinkLoader.cpp:
      (WebCore::LinkLoader::~LinkLoader):
      (WebCore::LinkLoader::loadLink):
      (WebCore::LinkLoader::released):
      * loader/LinkLoader.h:
      (WebCore):
      (LinkLoader):
      * loader/LinkLoaderClient.h:
      (LinkLoaderClient):
      * loader/Prerenderer.cpp: Removed.
      * loader/Prerenderer.h: Removed.
      * loader/PrerendererClient.cpp: Removed.
      * loader/PrerendererClient.h: Removed.
      * platform/PrerenderClient.h: Removed.
      * platform/PrerenderHandle.h: Removed.
      
      Source/WebKit/blackberry:
      
      This code was only used by Chromium and is dead now.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      This code was only used by Chromium and is dead now.
      
      * wtf/FeatureDefines.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a82aee4a
  28. 13 May, 2013 1 commit
    • commit-queue@webkit.org's avatar
      WebProcess consuming very high CPU on linkedin.com · 77cff30e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115601
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-05-13
      Reviewed by Andreas Kling.
      
      Disable WEB_TIMING_MINIMAL.
      Turn off window.performance and performance.now(). Some JS frameworks expect
      additional Web Timing APIs, when performance.now() is available.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * dom/EventTargetFactory.in:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::~DOMWindow):
      (WebCore::DOMWindow::resetDOMWindowProperties):
      (WebCore):
      * page/DOMWindow.h:
      (DOMWindow):
      * page/DOMWindow.idl:
      * page/Performance.cpp:
      (WebCore::Performance::timing):
      * page/Performance.h:
      (Performance):
      * page/Performance.idl:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * platform/mac/TestExpectations:
      * fast/js/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77cff30e
  29. 30 Apr, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Animations fail to start on http://www.google.com/insidesearch/howsearchworks/thestory/ · 0d670bbf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111244
      
      Source/JavaScriptCore:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      Test: fast/dom/Window/web-timing-minimal-performance-now.html
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/EventTargetFactory.in:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::~DOMWindow):
      (WebCore::DOMWindow::resetDOMWindowProperties):
      (WebCore):
      * page/DOMWindow.h:
      (DOMWindow):
      * page/DOMWindow.idl:
      * page/Performance.cpp:
      (WebCore):
      * page/Performance.h:
      (Performance):
      * page/Performance.idl:
      
      Source/WebKit/mac:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      We can test the monotonical behaviour of this API only. Checking whether the value
      actually represents the navigation start requires PerformanceTiming enabled.
      
      * fast/dom/Window/web-timing-minimal-performance-now-expected.txt: Added.
      * fast/dom/Window/web-timing-minimal-performance-now.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d670bbf
  30. 26 Apr, 2013 1 commit
  31. 25 Apr, 2013 1 commit
  32. 19 Apr, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Remove unmaintained feature REQUEST_AUTOCOMPLETE · 37eff9d8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114846
      
      Patch by Dan Beam <dbeam@chromium.org> on 2013-04-19
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      * GNUmakefile.list.am: Remove AutocompleteErrorEvent.h include.
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore): Remove requestAutocomplete() runtime feature.
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures): Remove requestAutocomplete() runtime feature.
      * dom/AutocompleteErrorEvent.h: Removed.
      * dom/AutocompleteErrorEvent.idl: Removed.
      * dom/EventNames.h: Remove `autocomplete` and `autocompleteerror` event names.
      (WebCore):
      * dom/EventNames.in: Remove `autocomplete` and `autocompleteerror` event names.
      * html/HTMLAttributeNames.in: Remove `onautocomplete` and `onautocompleteerror` form attributes.
      * html/HTMLFormElement.cpp: Remove requestAutocomplete() related code.
      (WebCore::HTMLFormElement::HTMLFormElement): Remove timer and event queue for requestAutocomplete() related events.
      (WebCore::HTMLFormElement::parseAttribute): Remove parsing of `onautocomplete` and `onautocompleterror`.
      * html/HTMLFormElement.h: Remove requestAutocomplete() related members.
      (HTMLFormElement):
      * html/HTMLFormElement.idl: Remove public requestAutocomplete() API method.
      * loader/EmptyClients.cpp: Remove stub implementation.
      (WebCore):
      * loader/EmptyClients.h: Remove stub interface.
      (EmptyFrameLoaderClient):
      * loader/FrameLoaderClient.h: Remove didRequestAutocomplete() from interface.
      (FrameLoaderClient):
      * page/DOMWindow.idl: Remove `AutocompleteErrorEvent` from window DOM interface.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h: Remove REQUEST_AUTOCOMPLETE as a feature definition.
      
      LayoutTests:
      
      * fast/events/constructors/autocomplete-error-event-constructor-expected.txt: Removed.
      * fast/events/constructors/autocomplete-error-event-constructor.html: Removed.
      * fast/events/event-creation.html: Remove AutocompleteErrorEvent test code.
      * fast/forms/form-request-autocomplete-expected.txt: Removed.
      * fast/forms/form-request-autocomplete.html: Removed.
      * fast/js/constructor-length.html: Remove AutocompleteErrorEvent test code.
      * fast/js/script-tests/global-constructors.js: Remove AutocompleteErrorEvent constructor.
      * platform/blackberry/fast/js/constructor-length-expected.txt: Remove test expectations.
      * platform/gtk/fast/js/constructor-length-expected.txt: Remove test expectations.
      * platform/mac/fast/js/constructor-length-expected.txt: Remove test expectations.
      * platform/qt/fast/js/constructor-length-expected.txt: Remove test expectations.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37eff9d8
  33. 10 Apr, 2013 1 commit
  34. 08 Apr, 2013 1 commit
    • benjamin@webkit.org's avatar
      Remove HTML Notification · de455ba7
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114231
      
      Reviewed by Ryosuke Niwa.
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      The feature is dead. It was only kept in the tree because of chromium.
      
      * Configurations/FeatureDefines.xcconfig:
      * Modules/notifications/Notification.cpp:
      (WebCore):
      (WebCore::Notification::Notification):
      * Modules/notifications/Notification.h:
      (Notification):
      * Modules/notifications/NotificationCenter.h:
      (NotificationCenter):
      * Modules/notifications/NotificationCenter.idl:
      * page/FeatureObserver.h:
      
      Source/WebKit/blackberry: 
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/NotificationPresenterClientQt.cpp:
      (WebCore::NotificationPresenterClientQt::displayNotification):
      (WebCore::NotificationPresenterClientQt::cancel):
      (WebCore::NotificationPresenterClientQt::notificationClicked):
      (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
      (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
      (WebCore::NotificationPresenterClientQt::dumpShowText):
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: 
      
      * fast/notifications/notifications-with-permission-expected.txt:
      * fast/notifications/notifications-with-permission.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de455ba7
  35. 07 Apr, 2013 1 commit
    • ddkilzer@apple.com's avatar
      Remove the rest of SVG_DOM_OBJC_BINDINGS · 0cd46787
      ddkilzer@apple.com authored
      <http://webkit.org/b/114112>
      
      Reviewed by Geoffrey Garen.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      - Remove references to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig:
      - Remove EXCLUDED_SOURCE_FILE_NAMES_SVG_DOM_OBJC_BINDINGS.  Note
        that DOMHTMLIFrameElementPrivate.h should not have been in
        this list because the class contained methods other than just
        -getSVGDocument.
      
      * WebCore.xcodeproj/project.pbxproj:
      - Remove DOMHTMLFrameElementPrivate.h since the only method it
        contained was -[DOMHTMLFrameElement getSVGDocument], which was
        part of the SVG DOM Objective-C bindings.
      
      * bindings/objc/DOM.mm:
      (kitClass):
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/ExceptionHandlers.mm:
      (WebCore::raiseDOMException):
      - Remove code in ENABLE(SVG_DOM_OBJC_BINDINGS).
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      - Remove reference to SVG_DOM_OBJC_BINDINGS.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      - Remove --svg-dom-objc-bindings switch.
      * qmake/mkspecs/features/features.pri:
      - Remove reference to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cd46787