1. 22 Aug, 2013 1 commit
    • ch.dumez@sisa.samsung.com's avatar
      Introduce a SVGUnknownElement class for unknown SVG elements · eebecacc
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120155
      
      Reviewed by Andreas Kling.
      
      Introduce a SVGUnknownElement class and have it override rendererIsNeeded() to return false.
      We now use SVGUnknownElement type (instead of SVGElement) for unknown SVG elements:
      - Unknown Elements in SVG namespace
      - Registered custom tag elements in SVG namespace:
        http://www.w3.org/TR/2013/WD-custom-elements-20130514/#registering-custom-elements
      
      As a consequence, SVGElement::rendererIsNeeded() is not longer required to return false and
      it will be able to behave as SVGStyledElement::rendererIsNeeded() once we merge
      SVGStyledElement into SVGElement.
      
      This is a pre-requirement to merging SVGStyledElement into SVGElement.
      
      No new tests, no behavior change.
      
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * dom/CustomElementConstructor.cpp:
      (WebCore::CustomElementConstructor::createElementInternal):
      * dom/make_names.pl:
      (defaultParametersHash):
      (printJSElementIncludes):
      (printWrapperFunctions):
      (printWrapperFactoryCppFile):
      * svg/SVGElement.cpp:
      * svg/SVGElement.h:
      * svg/SVGUnknownElement.h: Added.
      (WebCore::SVGUnknownElement::create):
      (WebCore::SVGUnknownElement::SVGUnknownElement):
      * svg/svgtags.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eebecacc
  2. 21 Aug, 2013 1 commit
  3. 20 Aug, 2013 1 commit
    • achristensen@apple.com's avatar
      Use PlatformArchitecture to distinguish between 32-bit and 64-bit builds on Windows. · 64923f13
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119512
      
      Reviewed by Brent Fulgham.
      
      Source/JavaScriptCore: 
      
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
      * JavaScriptCore.vcxproj/JavaScriptCoreCommon.props:
      * JavaScriptCore.vcxproj/LLInt/LLIntAssembly/LLIntAssembly.vcxproj:
      * JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj:
      * JavaScriptCore.vcxproj/LLInt/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj:
      * JavaScriptCore.vcxproj/LLInt/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.props:
      Replaced obj32, bin32, and lib32 with macros for 64-bit build.
      
      Source/ThirdParty: 
      
      * gtest/msvc/gtest-md.vcxproj:
      Replaced obj32, bin32, and lib32 with macros for 64-bit build.
      
      Source/WebCore: 
      
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.vcxproj/WebCoreCommon.props:
      * WebCore.vcxproj/WebCoreGeneratedCommon.props:
      * WebCore.vcxproj/WebCoreTestSupport.vcxproj:
      * WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters:
      Replaced obj32, bin32, and lib32 with macros for 64-bit build.
      
      Source/WebKit: 
      
      * WebKit.vcxproj/Interfaces/InterfacesCommon.props:
      * WebKit.vcxproj/WebKit/WebKit.vcxproj:
      * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
      * WebKit.vcxproj/WebKit/WebKitCommon.props:
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGenerator.vcxproj:
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExportGenerator.vcxproj.filters:
      * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj:
      * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj.filters:
      * WebKit.vcxproj/WebKitGUID/WebKitGUIDCommon.props:
      Replaced obj32, bin32, and lib32 with macros for 64-bit build.
      
      Source/WTF: 
      
      * WTF.vcxproj/WTFGeneratedCommon.props:
      Replaced obj32, bin32, and lib32 with macros for 64-bit build.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64923f13
  4. 19 Aug, 2013 1 commit
  5. 18 Aug, 2013 1 commit
    • darin@apple.com's avatar
      <https://webkit.org/b/119993> Remove most remaining platform-specific code from Clipboard class · e1f9f084
      darin@apple.com authored
      Reviewed by Sam Weinig.
      
      * GNUmakefile.list.am: Removed ClipboardGtk.cpp.
      * PlatformEfl.cmake: Removed ClipboardEfl.cpp.
      * PlatformGTK.cmake: Removed ClipboardGtk.cpp.
      * PlatformWinCE.cmake: Removed ClipboardWin.cpp.
      * Target.pri: Removed ClipboardQt.cpp.
      * WebCore.vcxproj/WebCore.vcxproj: Removed ClipboardWin.cpp and ClipboardWin.h.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Removed ClipboardWin.cpp and ClipboardWin.h.
      
      * dom/Clipboard.cpp:
      (WebCore::Clipboard::createDragImage): Added. Version that works for all platforms
      other than Mac, identical to the old one used in GTK and Qt, and close to the one used
      on Windows.
      
      * platform/mac/ClipboardMac.mm: Trimmed includes down, and added a FIXME about next steps.
      
      * platform/qt/DataTransferItemListQt.h: Removed "friend class ClipboardQt", which refers
      to a now-nonexistent class.
      
      * platform/efl/ClipboardEfl.cpp: Removed.
      * platform/gtk/ClipboardGtk.cpp: Removed.
      * platform/qt/ClipboardQt.cpp: Removed.
      * platform/win/ClipboardWin.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1f9f084
  6. 17 Aug, 2013 1 commit
    • darin@apple.com's avatar
      <https://webkit.org/b/119939> Remove some unused clipboard and pasteboard code · ab9ea81f
      darin@apple.com authored
      Reviewed by Andreas Kling.
      
      * PlatformWinCE.cmake: Removed EditorWin.cpp.
      * WebCore.vcxproj/WebCore.vcxproj: Removed EditorWin.cpp.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Removed EditorWin.cpp.
      * WebCore.xcodeproj/project.pbxproj: Removed ClipboardIOS.h and
      ClipboardIOS.mm, and also let Xcode edit/reorder this file.
      
      * editing/Editor.cpp:
      (WebCore::Editor::dispatchCPPEvent): Removed some LEGACY_STYLE_ABSTRACT_CLIPBOARD
      class code. Will remove the rest later.
      
      * editing/Editor.h: Removed declaration of newGeneralClipboard.
      
      * platform/Pasteboard.h: Removed declaration of writeClipboard. Also updated a
      comment to make it clearer.
      
      * platform/blackberry/PasteboardBlackBerry.cpp: Removed Pasteboard::writeClipboard.
      * platform/efl/PasteboardEfl.cpp: Ditto.
      * platform/ios/PasteboardIOS.mm: Ditto.
      * platform/win/PasteboardWin.cpp: Ditto.
      
      * platform/ios/ClipboardIOS.h: Removed. Was an empty file.
      * platform/ios/ClipboardIOS.mm: Removed. Was an empty file.
      * platform/win/EditorWin.cpp: Removed. Had only newGeneralClipboard in the file,
      a function that is never called.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab9ea81f
  7. 15 Aug, 2013 2 commits
    • bfulgham@apple.com's avatar
      ../WebCore: [Windows] Consolidate WebKit Bundle Handling · fd5391e4
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119869
      
      Reviewed by Tim Horton.
      
      * WebCore.vcxproj/WebCore.vcxproj: Add new WebCoreBundleWin files.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::certificatePath): Use correct bundle handling logic.
      * platform/win/LocalizedStringsWin.cpp: Move bundle implementation to
      new WebCoreBundleWin.cpp file.
      * platform/win/WebCoreBundleWin.cpp: Added.
      (WebCore::createWebKitBundle):
      (WebCore::webKitBundle):
      * platform/win/WebCoreBundleWin.h: Added.
      
      ../WebKit/win: [Windows] Consolidate WebKit Bundle handling
      https://bugs.webkit.org/show_bug.cgi?id=119869
      
      Reviewed by Tim Horton.
      
      * WebCoreSupport/WebInspectorClient.cpp:
      (WebInspectorClient::openInspectorFrontend): Switch to new
      WebCore::webkitBundle() method.
      (WebInspectorFrontendClient::localizedStringsURL): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd5391e4
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed build fix after r15417. · fb71ce76
      bfulgham@apple.com authored
      * DerivedSources.cpp: Remove classes that now live in JSC.
      * WebCore.vcxproj/WebCore.vcxproj: Remove classes no longer included in WebCore.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * bindings/js/WebCoreTypedArrayController.cpp: Add explicit namespace to avoid conflict
      with Windows 'Unknown' type.
      (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
      (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb71ce76
  8. 14 Aug, 2013 1 commit
    • timothy_horton@apple.com's avatar
      Un-inline dataLog dumpers for IntSize and IntPoint · d52234f1
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119697
      
      Reviewed by Sam Weinig.
      
      .:
      
      Avoid regressing build performance by moving IntSize::dump and IntPoint::dump elsewhere.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Avoid regressing build performance by moving IntSize::dump and IntPoint::dump elsewhere.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/graphics/IntPoint.cpp: Added.
      (WebCore::IntPoint::dump):
      * platform/graphics/IntPoint.h:
      * platform/graphics/IntSize.cpp: Added.
      (WebCore::IntSize::dump):
      * platform/graphics/IntSize.h:
      
      Tools:
      
      * TestWebKitAPI/GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d52234f1
  9. 13 Aug, 2013 2 commits
    • weinig@apple.com's avatar
      [Re-land] Cleanup MediaQueryListListener · f571f791
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119664
      
      Reviewed by Andreas Kling.
      
      Source/WebCore: 
      
      Make MediaQueryListListener a proper WebIDL callback.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      Update project files.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateCallbackHeader):
      (GenerateCallbackImplementation):
      (JSValueToNative):
      * bindings/scripts/IDLAttributes.txt:
      Add support for CallbackNeedsOperatorEqual, which adds an operator==.
      
      * css/MediaAllInOne.cpp:
      Remove MediaQueryListListener.cpp.
      
      * css/MediaQueryListListener.cpp:
      Removed.
      
      * css/MediaQueryListListener.h:
      (WebCore::MediaQueryListListener::~MediaQueryListListener):
      (WebCore::MediaQueryListListener::MediaQueryListListener):
      * css/MediaQueryListListener.idl:
      Convert to a proper WebIDL callback.
      
      * css/MediaQueryMatcher.cpp:
      (WebCore::MediaQueryMatcher::Listener::evaluate):
      (WebCore::MediaQueryMatcher::styleResolverChanged):
      * css/MediaQueryMatcher.h:
      Remove all traces of the ScriptState.
      
      LayoutTests: 
      
      * fast/media/media-query-list-07-expected.txt:
      * fast/media/media-query-list-07.html:
      * platform/mac/TestExpectations:
      Update test to reflect that we are supposed to throw exceptions when when not passing a callback
      object to addListener/removeListener. Also update the test to use the internals interface that is
      supported by more ports.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f571f791
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r153925. · d1096b36
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/153925
      https://bugs.webkit.org/show_bug.cgi?id=119768
      
      broke fast/media/media-query-list-07.html (Requested by kling
      on #webkit).
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateCallbackHeader):
      (GenerateCallbackImplementation):
      (JSValueToNative):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/test/JS/JSTestCallback.cpp:
      (WebCore::JSTestCallback::JSTestCallback):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
      (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
      * css/MediaAllInOne.cpp:
      * css/MediaQueryListListener.cpp: Copied from Source/WebCore/css/MediaQueryListListener.idl.
      (WebCore::MediaQueryListListener::queryChanged):
      * css/MediaQueryListListener.h:
      (WebCore::MediaQueryListListener::create):
      (WebCore::MediaQueryListListener::operator==):
      (WebCore::MediaQueryListListener::MediaQueryListListener):
      * css/MediaQueryListListener.idl:
      * css/MediaQueryMatcher.cpp:
      (WebCore::MediaQueryMatcher::Listener::evaluate):
      (WebCore::MediaQueryMatcher::styleResolverChanged):
      * css/MediaQueryMatcher.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1096b36
  10. 11 Aug, 2013 1 commit
    • weinig@apple.com's avatar
      Cleanup MediaQueryListListener · 2e687dd4
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119664
      
      Reviewed by Andreas Kling.
      
      Make MediaQueryListListener a proper WebIDL callback.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      Update project files.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateCallbackHeader):
      (GenerateCallbackImplementation):
      (JSValueToNative):
      * bindings/scripts/IDLAttributes.txt:
      Add support for CallbackNeedsOperatorEqual, which adds an operator==.
      
      * css/MediaAllInOne.cpp:
      Remove MediaQueryListListener.cpp.
      
      * css/MediaQueryListListener.cpp:
      Removed.
      
      * css/MediaQueryListListener.h:
      (WebCore::MediaQueryListListener::~MediaQueryListListener):
      (WebCore::MediaQueryListListener::MediaQueryListListener):
      * css/MediaQueryListListener.idl:
      Convert to a proper WebIDL callback.
      
      * css/MediaQueryMatcher.cpp:
      (WebCore::MediaQueryMatcher::Listener::evaluate):
      (WebCore::MediaQueryMatcher::styleResolverChanged):
      * css/MediaQueryMatcher.h:
      Remove all traces of the ScriptState.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e687dd4
  11. 08 Aug, 2013 1 commit
    • achristensen@apple.com's avatar
      Work towards WebGL on AppleWin port. · 85318397
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119562
      
      Reviewed by Brent Fulgham.
      
      * WebCore.vcxproj/WebCore.vcxproj:
      Build GLContext.cpp and GraphicsContext3DPrivate.cpp on AppleWin port.
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      Moved GLContext and GraphicsContext3DPrivate from Cairo filter to graphics.
      * platform/graphics/GraphicsContext3D.h:
      Added m_webGLLayer for AppleWin port.
      * platform/graphics/GraphicsContext3DPrivate.cpp:
      Protected inclusion of PlatformContextCairo.h in USE(CAIRO) macro for non-cairo ports.
      * platform/graphics/win/GraphicsContext3DWin.cpp:
      Removed stub GraphicsContext3DPrivate implementation in favor of GraphicsContext3DPrivate.cpp.
      (WebCore::GraphicsContext3D::GraphicsContext3D):
      Added GraphicsContext3DPrivate and PlatformCALayer initialization.
      (WebCore::GraphicsContext3D::makeContextCurrent):
      (WebCore::GraphicsContext3D::platformGraphicsContext3D):
      Added implementation based on Cairo ports' to be refactored soon.
      (WebCore::GraphicsContext3D::platformLayer):
      Return PlatformCALayer's PlatformLayer instead of 0.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85318397
  12. 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
      Moved GraphicsContext3DPrivate out of cairo directory to be used by the AppleWin port. · 174ffdce
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119525
      
      Reviewed by Dean Jackson.
      
      * GNUmakefile.list.am:
      * PlatformGTK.cmake:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      Changed location of GraphicsContext3DPrivate.cpp and GraphicsContext3DPrivate.h.
      * platform/graphics/GraphicsContext3DPrivate.cpp: Copied from WebCore/platform/graphics/cairo/GraphicsContext3DPrivate.cpp.
      * platform/graphics/GraphicsContext3DPrivate.h: Copied from WebCore/platform/graphics/cairo/GraphicsContext3DPrivate.h.
      * platform/graphics/cairo/GraphicsContext3DPrivate.cpp: Removed.
      * platform/graphics/cairo/GraphicsContext3DPrivate.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      174ffdce
  13. 01 Aug, 2013 1 commit
  14. 29 Jul, 2013 2 commits
  15. 26 Jul, 2013 1 commit
  16. 22 Jul, 2013 1 commit
  17. 18 Jul, 2013 1 commit
  18. 17 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r152701, r152703, r152739, r152754, · eab043f9
      commit-queue@webkit.org authored
      and r152756.
      http://trac.webkit.org/changeset/152701
      http://trac.webkit.org/changeset/152703
      http://trac.webkit.org/changeset/152739
      http://trac.webkit.org/changeset/152754
      http://trac.webkit.org/changeset/152756
      https://bugs.webkit.org/show_bug.cgi?id=118821
      
      this was a buggy fix and we're going to try something
      different (Requested by thorton on #webkit).
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * WebCore.exp.in:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSDefaultStyleSheets.cpp:
      (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
      * css/unavailablePlugIns.css: Removed.
      * dom/EventListener.h:
      * html/HTMLAppletElement.cpp:
      (WebCore::HTMLAppletElement::updateWidget):
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::defaultEventHandler):
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
      * loader/SubframeLoader.cpp:
      (WebCore::SubframeLoader::createJavaAppletWidget):
      * page/ChromeClient.h:
      (WebCore::ChromeClient::shouldUnavailablePluginMessageBeButton):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::replacementTextRoundedRectPressedColor):
      (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
      (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason):
      (WebCore::RenderEmbeddedObject::setUnavailablePluginIndicatorIsPressed):
      (WebCore::RenderEmbeddedObject::paint):
      (WebCore::RenderEmbeddedObject::paintReplaced):
      (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
      (WebCore::RenderEmbeddedObject::replacementTextRect):
      (WebCore::RenderEmbeddedObject::isReplacementObscured):
      (WebCore::RenderEmbeddedObject::layout):
      (WebCore::RenderEmbeddedObject::isInUnavailablePluginIndicator):
      (WebCore::shouldUnavailablePluginMessageBeButton):
      (WebCore::RenderEmbeddedObject::handleUnavailablePluginIndicatorEvent):
      (WebCore::RenderEmbeddedObject::getCursor):
      (WebCore::RenderEmbeddedObject::canHaveChildren):
      * rendering/RenderEmbeddedObject.h:
      * rendering/RenderWidget.h:
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::shouldUnavailablePluginMessageBeButton):
      
      Source/WebKit2:
      
      * Platform/CoreIPC/HandleMessage.h:
      * Shared/APIClientTraits.cpp:
      * Shared/APIClientTraits.h:
      * UIProcess/API/C/WKPage.h:
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::pluginLoadPolicy):
      * UIProcess/WebLoaderClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::findPlugin):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * WebProcess/Plugins/PluginProcessConnection.cpp:
      (WebKit::PluginProcessConnection::didClose):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::pluginProcessCrashed):
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::shouldUnavailablePluginMessageBeButton):
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::createPlugin):
      (WebKit::WebPage::canPluginHandleResponse):
      
      Tools:
      
      * MiniBrowser/mac/WK2BrowserWindowController.m:
      (-[WK2BrowserWindowController awakeFromNib]):
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::createWebViewWithOptions):
      
      LayoutTests:
      
      * editing/pasteboard/paste-noplugin-expected.txt:
      * http/tests/security/contentSecurityPolicy/object-src-url-blocked-expected.txt:
      * platform/mac/accessibility/plugin-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eab043f9
  19. 15 Jul, 2013 1 commit
    • timothy_horton@apple.com's avatar
      Update blocked/missing plug-in UI · 7a561711
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118347
      <rdar://problem/14209318>
      
      Reviewed by Sam Weinig.
      Patch by Anders Carlsson, Antoine Quint, Sam Weinig, and myself.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * WebCore.exp.in:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSDefaultStyleSheets.cpp:
      * css/unavailablePlugIns.css: Added.
      Add new Source/WebCore/css/unavailablePlugIns.css stylesheet.
      
      * dom/EventListener.h:
      New event listener type to support the creation of an event listener
      for the label and icon for missing / blocked plug-in UI.
      
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::defaultEventHandler):
      Remove explicit event handling since we're now using a DOM event handler
      on the label and icon in the shadow root.
      
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot):
      Don't populate the shadow root with plugin snapshotting elements
      if we're not planning on showing a snapshot, because this means that
      the shadow root was created for the unavailable plugin indicator instead.
      
      * page/ChromeClient.h:
      (WebCore::ChromeClient::shouldUnavailablePluginMessageIncludeButton):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
      (WebCore::shouldUnavailablePluginMessageIncludeButton):
      Rename from shouldUnavailablePluginMessageBeButton to
      shouldUnavailablePluginMessageIncludeButton for accuracy.
      
      (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonDescription):
      Set custom text to be displayed in the unavailability indicator.
      
      (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason):
      (WebCore::RenderEmbeddedObject::handleUnavailablePluginButtonClickEvent):
      (WebCore::RenderEmbeddedObject::willBeDestroyed):
      (WebCore::RenderEmbeddedObject::isReplacementObscured):
      (WebCore::RenderEmbeddedObjectEventListener::handleEvent):
      (WebCore::RenderEmbeddedObjectEventListener::operator==):
      Remove the old code used to render the missing / blocked plug-in UI in C++ in favor
      of populating a shadow root in setPluginUnavailabilityReason(). We add a DOM event
      listener in the shadow root to eventually call into unavailablePluginButtonClicked()
      on the ChromeClient.
      
      (WebCore::RenderEmbeddedObject::paint):
      (WebCore::RenderEmbeddedObject::layout):
      Paint and lay out UA shadow root children.
      
      (WebCore::RenderEmbeddedObject::canHaveChildren):
      canHaveChildren can use the existence of a UA shadow root to decide
      whether a RenderEmbeddedObject can have children.
      
      * rendering/RenderEmbeddedObject.h:
      (WebCore::RenderEmbeddedObjectEventListener::create):
      (WebCore::RenderEmbeddedObjectEventListener::cast):
      (WebCore::RenderEmbeddedObjectEventListener::RenderEmbeddedObjectEventListener):
      Create the new event listener class necessary to handle events in the shadow root.
      
      (WebCore::RenderEmbeddedObject::pluginUnavailabilityReasonDescription): Added.
      
      * rendering/RenderWidget.h:
      Promote willBeDestroyed() to be public so we may override it in the RenderEmbeddedObject subclass.
      
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::shouldUnavailablePluginMessageIncludeButton):
      Rename from shouldUnavailablePluginMessageBeButton to
      shouldUnavailablePluginMessageIncludeButton for accuracy.
      
      * Platform/CoreIPC/HandleMessage.h:
      (CoreIPC::callMemberFunction):
      Add a 6 argument -> 4 reply message handler.
      (It seems that FindPlugin is getting a little out of hand.)
      
      * Shared/APIClientTraits.cpp:
      * Shared/APIClientTraits.h:
      * UIProcess/API/C/WKPage.h:
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::pluginLoadPolicy):
      * UIProcess/WebLoaderClient.h:
      Add an unavailability description out-argument to a new version of
      pluginLoadPolicy, so clients can override the text of the unavailable
      plugin indicator. Bump the WKPageLoaderClient version and update APIClientTraits.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::findPlugin):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      Plumb the unavailability description through to the WebProcess via
      the FindPlugin message.
      
      * WebProcess/Plugins/PluginProcessConnection.cpp:
      (WebKit::PluginProcessConnection::didClose):
      Make a strongly referencing copy of the list of PluginProxies, so we can
      throw them away without the HashMap being mutated underneath us (see the comment).
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::pluginProcessCrashed):
      Invalidate the plug-in's widget before setting the plugin unavailability reason,
      because doing so would cause the plug-in's renderer to be torn down, making
      invalidate() crash.
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::shouldUnavailablePluginMessageIncludeButton):
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      Rename from shouldUnavailablePluginMessageBeButton to
      shouldUnavailablePluginMessageIncludeButton for accuracy.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::createPlugin):
      Acquire the unavailability description from the client
      (via FindPlugin) and hand it to the RenderEmbeddedObject.
      (WebKit::WebPage::canPluginHandleResponse):
      Re-acquire the plugin's renderer, in case setPluginUnavailabilityReason destroyed it.
      
      * MiniBrowser/mac/WK2BrowserWindowController.m:
      (-[WK2BrowserWindowController awakeFromNib]):
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::createWebViewWithOptions):
      Match new WKPageLoaderClient entry.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a561711
  20. 11 Jul, 2013 1 commit
    • ch.dumez@sisa.samsung.com's avatar
      Get rid of SVGPathSeg* special casing in the bindings generator · 7af23ba0
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118525
      
      Reviewed by Kentaro Hara.
      
      Have one header per SVGPathSeg* type so that we no longer need special casing
      for them in the JSC bindings generator.
      
      No new tests, no behavior change.
      
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSSVGPathSegCustom.cpp:
      * bindings/scripts/CodeGeneratorJS.pm:
      (AddIncludesForType):
      (NativeToJSValue):
      * svg/SVGPathElement.cpp:
      * svg/SVGPathSegArc.h:
      * svg/SVGPathSegArcAbs.h: Added.
      (WebCore::SVGPathSegArcAbs::create):
      (WebCore::SVGPathSegArcAbs::SVGPathSegArcAbs):
      (WebCore::SVGPathSegArcAbs::pathSegType):
      (WebCore::SVGPathSegArcAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegArcRel.h: Added.
      (WebCore::SVGPathSegArcRel::create):
      (WebCore::SVGPathSegArcRel::SVGPathSegArcRel):
      (WebCore::SVGPathSegArcRel::pathSegType):
      (WebCore::SVGPathSegArcRel::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoCubic.h:
      * svg/SVGPathSegCurvetoCubicAbs.h: Added.
      (WebCore::SVGPathSegCurvetoCubicAbs::create):
      (WebCore::SVGPathSegCurvetoCubicAbs::SVGPathSegCurvetoCubicAbs):
      (WebCore::SVGPathSegCurvetoCubicAbs::pathSegType):
      (WebCore::SVGPathSegCurvetoCubicAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoCubicRel.h: Added.
      (WebCore::SVGPathSegCurvetoCubicRel::create):
      (WebCore::SVGPathSegCurvetoCubicRel::SVGPathSegCurvetoCubicRel):
      (WebCore::SVGPathSegCurvetoCubicRel::pathSegType):
      (WebCore::SVGPathSegCurvetoCubicRel::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoCubicSmooth.h:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.h: Copied from Source/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h.
      (WebCore::SVGPathSegCurvetoCubicSmoothAbs::create):
      (WebCore::SVGPathSegCurvetoCubicSmoothAbs::SVGPathSegCurvetoCubicSmoothAbs):
      (WebCore::SVGPathSegCurvetoCubicSmoothAbs::pathSegType):
      (WebCore::SVGPathSegCurvetoCubicSmoothAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoCubicSmoothRel.h: Copied from Source/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h.
      (WebCore::SVGPathSegCurvetoCubicSmoothRel::create):
      (WebCore::SVGPathSegCurvetoCubicSmoothRel::SVGPathSegCurvetoCubicSmoothRel):
      (WebCore::SVGPathSegCurvetoCubicSmoothRel::pathSegType):
      (WebCore::SVGPathSegCurvetoCubicSmoothRel::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoQuadratic.h:
      * svg/SVGPathSegCurvetoQuadraticAbs.h: Copied from Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h.
      (WebCore::SVGPathSegCurvetoQuadraticAbs::create):
      (WebCore::SVGPathSegCurvetoQuadraticAbs::SVGPathSegCurvetoQuadraticAbs):
      (WebCore::SVGPathSegCurvetoQuadraticAbs::pathSegType):
      (WebCore::SVGPathSegCurvetoQuadraticAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoQuadraticRel.h: Copied from Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h.
      (WebCore::SVGPathSegCurvetoQuadraticRel::create):
      (WebCore::SVGPathSegCurvetoQuadraticRel::SVGPathSegCurvetoQuadraticRel):
      (WebCore::SVGPathSegCurvetoQuadraticRel::pathSegType):
      (WebCore::SVGPathSegCurvetoQuadraticRel::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h: Copied from Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h.
      (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::create):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::SVGPathSegCurvetoQuadraticSmoothAbs):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::pathSegType):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.h: Renamed from Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h.
      (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::create):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::SVGPathSegCurvetoQuadraticSmoothRel):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::pathSegType):
      (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoAbs.h: Copied from Source/WebCore/svg/SVGPathSegLineto.h.
      (WebCore::SVGPathSegLinetoAbs::create):
      (WebCore::SVGPathSegLinetoAbs::SVGPathSegLinetoAbs):
      (WebCore::SVGPathSegLinetoAbs::pathSegType):
      (WebCore::SVGPathSegLinetoAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoHorizontal.h:
      * svg/SVGPathSegLinetoHorizontalAbs.h: Copied from Source/WebCore/svg/SVGPathSegLinetoHorizontal.h.
      (WebCore::SVGPathSegLinetoHorizontalAbs::create):
      (WebCore::SVGPathSegLinetoHorizontalAbs::SVGPathSegLinetoHorizontalAbs):
      (WebCore::SVGPathSegLinetoHorizontalAbs::pathSegType):
      (WebCore::SVGPathSegLinetoHorizontalAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoHorizontalRel.h: Copied from Source/WebCore/svg/SVGPathSegLinetoHorizontal.h.
      (WebCore::SVGPathSegLinetoHorizontalRel::create):
      (WebCore::SVGPathSegLinetoHorizontalRel::SVGPathSegLinetoHorizontalRel):
      (WebCore::SVGPathSegLinetoHorizontalRel::pathSegType):
      (WebCore::SVGPathSegLinetoHorizontalRel::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoRel.h: Renamed from Source/WebCore/svg/SVGPathSegLineto.h.
      (WebCore::SVGPathSegLinetoRel::create):
      (WebCore::SVGPathSegLinetoRel::SVGPathSegLinetoRel):
      (WebCore::SVGPathSegLinetoRel::pathSegType):
      (WebCore::SVGPathSegLinetoRel::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoVertical.h:
      * svg/SVGPathSegLinetoVerticalAbs.h: Copied from Source/WebCore/svg/SVGPathSegLinetoVertical.h.
      (WebCore::SVGPathSegLinetoVerticalAbs::create):
      (WebCore::SVGPathSegLinetoVerticalAbs::SVGPathSegLinetoVerticalAbs):
      (WebCore::SVGPathSegLinetoVerticalAbs::pathSegType):
      (WebCore::SVGPathSegLinetoVerticalAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegLinetoVerticalRel.h: Copied from Source/WebCore/svg/SVGPathSegLinetoVertical.h.
      (WebCore::SVGPathSegLinetoVerticalRel::create):
      (WebCore::SVGPathSegLinetoVerticalRel::SVGPathSegLinetoVerticalRel):
      (WebCore::SVGPathSegLinetoVerticalRel::pathSegType):
      (WebCore::SVGPathSegLinetoVerticalRel::pathSegTypeAsLetter):
      * svg/SVGPathSegListBuilder.cpp:
      * svg/SVGPathSegMovetoAbs.h: Copied from Source/WebCore/svg/SVGPathSegMoveto.h.
      (WebCore::SVGPathSegMovetoAbs::create):
      (WebCore::SVGPathSegMovetoAbs::SVGPathSegMovetoAbs):
      (WebCore::SVGPathSegMovetoAbs::pathSegType):
      (WebCore::SVGPathSegMovetoAbs::pathSegTypeAsLetter):
      * svg/SVGPathSegMovetoRel.h: Renamed from Source/WebCore/svg/SVGPathSegMoveto.h.
      (WebCore::SVGPathSegMovetoRel::create):
      (WebCore::SVGPathSegMovetoRel::SVGPathSegMovetoRel):
      (WebCore::SVGPathSegMovetoRel::pathSegType):
      (WebCore::SVGPathSegMovetoRel::pathSegTypeAsLetter):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7af23ba0
  21. 10 Jul, 2013 2 commits
    • ch.dumez@sisa.samsung.com's avatar
      Reduce number of header includes in SVG · e033cb4e
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118474
      
      Reviewed by Rob Buis.
      
      Reduce number of header includes in SVG. In particular, SVGAnimatedPropertyMacros.h
      no longer brings SVGElement.h header include. This means that the SVGElement
      class can now have animated properties.
      
      This patch is a prerequirement to merge SVGStyledElement into SVGElement.
      
      No new tests, no behavior change.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * svg/GradientAttributes.h:
      * svg/SVGAllInOne.cpp:
      * svg/SVGAnimateMotionElement.cpp:
      * svg/SVGAnimateMotionElement.h:
      * svg/SVGAnimatedTypeAnimator.cpp: Added.
      (WebCore::SVGElementAnimatedProperties::SVGElementAnimatedProperties):
      (WebCore::SVGAnimatedTypeAnimator::SVGAnimatedTypeAnimator):
      (WebCore::SVGAnimatedTypeAnimator::~SVGAnimatedTypeAnimator):
      (WebCore::SVGAnimatedTypeAnimator::calculateFromAndToValues):
      (WebCore::S...
      e033cb4e
    • ch.dumez@sisa.samsung.com's avatar
      Remove ElementTimeControl and expose SVGAnimationElement · 9b9b0e88
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118349
      
      Reviewed by Rob Buis.
      
      Source/WebCore:
      
      Remove ElementTimeControl IDL interface and move its attributes
      to the SVGAnimationElement IDL interface as per the latest SVG2
      specification:
      https://svgwg.org/svg2-draft/animate.html#InterfaceSVGAnimationElement
      
      Also remove [NoInterfaceObject] IDL extended attribute from
      SVGAnimationElement as it is not present in the specification.
      
      This is one step towards removing IDL multiple inheritance in SVG and
      complying with the latest SVG2 specification.
      
      No new tests, covered by existing test cases.
      
      * DerivedSources.make:
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/scripts/CodeGeneratorObjC.pm:
      * svg/ElementTimeControl.h: Removed.
      * svg/ElementTimeControl.idl: Removed.
      * svg/SVGAnimationElement.h:
      * svg/SVGAnimationElement.idl:
      
      LayoutTests:
      
      Rebaseline several t...
      9b9b0e88
  22. 02 Jul, 2013 2 commits
    • achristensen@apple.com's avatar
      Preparing Windows WebGL build system. · 4355d2a2
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118325
      
      Reviewed by Brent Fulgham.
      
      * WebCore.vcxproj/WebCore.vcxproj: Added EGL files, removed unused GraphicsContext3DOpenGL.cpp.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Added EGL filter and files, removed unused GraphicsContext3DOpenGL.cpp.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4355d2a2
    • ch.dumez@sisa.samsung.com's avatar
      Remove SVGStyledLocatableElement class · d089d7b1
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118283
      
      Reviewed by Dirk Schulze.
      
      Remove SVGStyledLocatableElement class and have SVGGraphicsElement
      inherit SVGStyledElement directly instead. SVGStyledLocatableElement
      is no longer needed and according to the specification, SVGGraphicsElement
      should inherit SVGStyledElement (actually SVGElement once we merge
      SVGStyledElement into SVGElement).
      
      No new tests, no behavior change.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.order:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GetGnuVTableOffsetForType):
      * svg/SVGAllInOne.cpp:
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::getBoundingBox):
      * svg/SVGElement.h:
      * svg/SVGGraphicsElement.cpp:
      (WebCore::SVGGraphicsElement::SVGGraphicsElement):
      (WebCore::SVGGraphicsElement::parseAttribute):
      (WebCore::SVGGraphicsElement::svgAttributeChanged):
      * svg/SVGGraphicsElement.h:
      * svg/SVGLocatable.cpp:
      (WebCore::SVGLocatable::getTransformToElement):
      * svg/SVGStyledElement.cpp:
      (WebCore::SVGStyledElement::localCoordinateSpaceTransform):
      * svg/SVGStyledLocatableElement.cpp: Removed.
      * svg/SVGStyledLocatableElement.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d089d7b1
  23. 01 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Add Support for mspace element · 4496a299
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115610
      
      Patch by Frédéric Wang <fred.wang@free.fr> on 2013-07-01
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      This patch adds basic support for the MathML mspace element. This is
      important to let people control spacing of mathematical formulas.
      Attributes width, height and depth are implemented. For the moment,
      only nonnegative width are accepted.
      
      * CMakeLists.txt: add references to the RenderMathMLSpace files.
      * GNUmakefile.list.am: ditto.
      * Target.pri: ditto.
      * WebCore.vcxproj/WebCore.vcxproj: ditto.
      * WebCore.vcxproj/WebCore.vcxproj.filters: ditto.
      * WebCore.xcodeproj/project.pbxproj: ditto.
      * css/mathml.css:
      (mtable[columnlines="dashed"] > mtr > mtd + mtd): remove the obsolete linebreaking rule.
      * mathml/MathMLTextElement.cpp:
      (WebCore::MathMLTextElement::createRenderer): map mspaceTag to RenderMathMLSpace.
      * mathml/mathattrs.in: add width, height and depth attributes
      * mathml/mathtags.in: add mspace element
      * rendering/mathml/RenderMathMLBlock.cpp:
      (WebCore::parseMathMLLength): fix int to float conversion.
      * rendering/mathml/RenderMathMLBlock.h: declare isRenderMathMLSpace.
      (WebCore::RenderMathMLBlock::isRenderMathMLSpace):
      * rendering/mathml/RenderMathMLSpace.cpp: Added.
      (WebCore::RenderMathMLSpace::RenderMathMLSpace):
      (WebCore::RenderMathMLSpace::isChildAllowed):
      (WebCore::RenderMathMLSpace::computePreferredLogicalWidths):
      (WebCore::RenderMathMLSpace::updateFromElement):
      (WebCore::RenderMathMLSpace::updateLogicalWidth):
      (WebCore::RenderMathMLSpace::updateLogicalHeight):
      (WebCore::RenderMathMLSpace::layout):
      (WebCore::RenderMathMLSpace::styleDidChange):
      (WebCore::RenderMathMLSpace::firstLineBoxBaseline):
      * rendering/mathml/RenderMathMLSpace.h: Added.
      (WebCore::RenderMathMLSpace::isRenderMathMLSpace):
      (WebCore::RenderMathMLSpace::renderName):
      (WebCore::toRenderMathMLSpace):
      
      LayoutTests:
      
      Add a reftest for the mspace element (width, height and depth) and
      the parsing of MathML lengths. Import a reftest from Gecko to check
      positive namedspace values.
      
      * mathml/presentation/mspace-expected.html: Added.
      * mathml/presentation/mspace-units-expected.html: Added.
      * mathml/presentation/mspace-units.html: Added.
      * mathml/presentation/mspace.html: Added.
      * mathml/presentation/positive-namedspace-expected.html: Added.
      * mathml/presentation/positive-namedspace.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4496a299
  24. 28 Jun, 2013 2 commits
    • achristensen@apple.com's avatar
      Added WebGL files to Windows build. · b64f9777
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118200
      
      Reviewed by Brent Fulgham.
      
      * WebCore.vcxproj/WebCore.vcxproj: Added WebGL files, removed unused GraphicsContext3DOpenGLES.cpp.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Added WebGL files, removed unused GraphicsContext3DOpenGLES.cpp.
      * platform/graphics/cairo/GLContext.cpp: Only include GLContextEGL.h or GLContextGLX.h if they're needed.
      * platform/graphics/cg/GraphicsContext3DCG.cpp: Only include GraphicsContext3DNEON.h if it's needed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64f9777
    • ch.dumez@sisa.samsung.com's avatar
      Introduce SVGGraphicsElement IDL interface · a47b618f
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118178
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Introduce SVGGraphicsElement IDL interface as per the latest SVG
      specification:
      - https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement
      
      SVGGraphicsElement is a merge of SVGLocatable and SVGTransformable.
      This is one step towards simplifying inheritance in SVG and matching
      the latest SVG2 specification.
      
      No new tests, already covered by existing tests.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.order:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GetGnuVTableOffsetForType):
      * rendering/svg/RenderSVGEllipse.cpp:
      (WebCore::RenderSVGEllipse::RenderSVGEllipse):
      * rendering/svg/RenderSVGEllipse.h:
      * rendering/svg/RenderSVGPath.cpp:
      (WebCore::RenderSVGPath::RenderSVGPath...
      a47b618f
  25. 27 Jun, 2013 1 commit
    • ch.dumez@sisa.samsung.com's avatar
      Rename WorkerContext to WorkerGlobalScope · 14792a6b
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118059
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Rename WorkerContext / SharedWorkerContext / DedicatedWorkerContext to
      WorkerGlobalScope / SharedWorkerGlobalScope / DedicatedWorkerGlobalScope
      to match the latest specification:
      http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerglobalscope
      
      Those interfaces have [NoInterfaceObject] IDL extended attribute so the
      name did not matter much so far. However, the specification was updated
      and [NoInterfaceObject] was removed. We should therefore rename those
      interfaces as a preparation for this change.
      
      No new tests, no behavior change as these interfaces are not exposed to
      JavaScript yet.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Modules/filesystem/WorkerGlobalScopeFileSystem.cpp: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.cpp.
      (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystem):
      (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystemSync):
      (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemURL):
      (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemSyncURL):
      * Modules/filesystem/WorkerGlobalScopeFileSystem.h: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.h.
      * Modules/filesystem/WorkerGlobalScopeFileSystem.idl: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.idl.
      * Modules/indexeddb/IDBFactory.cpp:
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.cpp.
      (WebCore::WorkerGlobalScopeIndexedDatabase::WorkerGlobalScopeIndexedDatabase):
      (WebCore::WorkerGlobalScopeIndexedDatabase::~WorkerGlobalScopeIndexedDatabase):
      (WebCore::WorkerGlobalScopeIndexedDatabase::supplementName):
      (WebCore::WorkerGlobalScopeIndexedDatabase::from):
      (WebCore::WorkerGlobalScopeIndexedDatabase::indexedDB):
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.h.
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.idl.
      * Modules/notifications/Notification.cpp:
      * Modules/notifications/NotificationCenter.cpp:
      * Modules/notifications/WorkerGlobalScopeNotifications.cpp: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.cpp.
      (WebCore::WorkerGlobalScopeNotifications::WorkerGlobalScopeNotifications):
      (WebCore::WorkerGlobalScopeNotifications::~WorkerGlobalScopeNotifications):
      (WebCore::WorkerGlobalScopeNotifications::supplementName):
      (WebCore::WorkerGlobalScopeNotifications::from):
      (WebCore::WorkerGlobalScopeNotifications::webkitNotifications):
      * Modules/notifications/WorkerGlobalScopeNotifications.h: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.h.
      * Modules/notifications/WorkerGlobalScopeNotifications.idl: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.idl.
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::allowDatabaseAccess):
      (WebCore::DatabaseContext::databaseExceededQuota):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp.
      (WebCore::WorkerGlobalScopeWebDatabase::openDatabase):
      (WebCore::WorkerGlobalScopeWebDatabase::openDatabaseSync):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h.
      (WebCore::WorkerGlobalScopeWebDatabase::WorkerGlobalScopeWebDatabase):
      (WebCore::WorkerGlobalScopeWebDatabase::~WorkerGlobalScopeWebDatabase):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.idl.
      * Modules/websockets/ThreadableWebSocketChannel.cpp:
      (WebCore::ThreadableWebSocketChannel::create):
      * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
      (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback):
      * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
      (WebCore::WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel):
      (WebCore::workerGlobalScopeDidSend):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::send):
      (WebCore::workerGlobalScopeDidGetBufferedAmount):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::bufferedAmount):
      (WebCore::workerGlobalScopeDidConnect):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect):
      (WebCore::workerGlobalScopeDidReceiveMessage):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage):
      (WebCore::workerGlobalScopeDidReceiveBinaryData):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
      (WebCore::workerGlobalScopeDidUpdateBufferedAmount):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount):
      (WebCore::workerGlobalScopeDidStartClosingHandshake):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didStartClosingHandshake):
      (WebCore::workerGlobalScopeDidClose):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didClose):
      (WebCore::workerGlobalScopeDidReceiveMessageError):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::Bridge):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::create):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::~WorkerGlobalScopeDidInitializeTask):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::WorkerGlobalScopeDidInitializeTask):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::waitForMethodCompletion):
      * Modules/websockets/WorkerThreadableWebSocketChannel.h:
      (WebCore::WorkerThreadableWebSocketChannel::create):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::create):
      * Target.pri:
      * UseJSC.cmake:
      * WebCore.order:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/cpp/WebDOMEventTarget.cpp:
      (toWebKit):
      * bindings/cpp/WebDOMEventTarget.h:
      * bindings/generic/ActiveDOMCallback.cpp:
      * bindings/js/DOMRequestState.h:
      (WebCore::DOMRequestState::DOMRequestState):
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSDOMBinding.h:
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::scriptExecutionContext):
      (WebCore::toJSDOMGlobalObject):
      * bindings/js/JSDedicatedWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSDedicatedWorkerContextCustom.cpp.
      (WebCore::JSDedicatedWorkerGlobalScope::postMessage):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSEventTargetCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSWorkerGlobalScopeBase.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.cpp.
      (WebCore::JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase):
      (WebCore::JSWorkerGlobalScopeBase::finishCreation):
      (WebCore::JSWorkerGlobalScopeBase::destroy):
      (WebCore::JSWorkerGlobalScopeBase::scriptExecutionContext):
      (WebCore::toJS):
      (WebCore::toJSDedicatedWorkerGlobalScope):
      (WebCore::toJSSharedWorkerGlobalScope):
      (WebCore::toJSWorkerGlobalScope):
      * bindings/js/JSWorkerGlobalScopeBase.h: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.h.
      (WebCore::JSWorkerGlobalScopeBase::impl):
      (WebCore::JSWorkerGlobalScopeBase::createStructure):
      * bindings/js/JSWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextCustom.cpp.
      (WebCore::JSWorkerGlobalScope::visitChildren):
      (WebCore::JSWorkerGlobalScope::getOwnPropertySlotDelegate):
      (WebCore::JSWorkerGlobalScope::getOwnPropertyDescriptorDelegate):
      (WebCore::JSWorkerGlobalScope::importScripts):
      (WebCore::JSWorkerGlobalScope::setTimeout):
      (WebCore::JSWorkerGlobalScope::setInterval):
      * bindings/js/ScheduledAction.cpp:
      (WebCore::ScheduledAction::execute):
      * bindings/js/ScheduledAction.h:
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::startForWorkerGlobalScope):
      (WebCore::ScriptProfiler::stopForWorkerGlobalScope):
      * bindings/js/ScriptProfiler.h:
      * bindings/js/ScriptState.cpp:
      (WebCore::scriptStateFromWorkerGlobalScope):
      * bindings/js/ScriptState.h:
      * bindings/js/WorkerScriptController.cpp:
      (WebCore::WorkerScriptController::WorkerScriptController):
      (WebCore::WorkerScriptController::~WorkerScriptController):
      (WebCore::WorkerScriptController::initScript):
      (WebCore::WorkerScriptController::evaluate):
      (WebCore::WorkerScriptController::setException):
      (WebCore::WorkerScriptController::forbidExecution):
      (WebCore::WorkerScriptController::isExecutionForbidden):
      (WebCore::WorkerScriptController::disableEval):
      (WebCore::WorkerScriptController::attachDebugger):
      (WebCore::WorkerScriptController::detachDebugger):
      * bindings/js/WorkerScriptController.h:
      (WebCore::WorkerScriptController::workerGlobalScopeWrapper):
      (WebCore::WorkerScriptController::initScriptIfNeeded):
      * bindings/js/WorkerScriptDebugServer.cpp:
      (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
      (WebCore::WorkerScriptDebugServer::addListener):
      (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
      (WebCore::WorkerScriptDebugServer::removeListener):
      (WebCore::WorkerScriptDebugServer::runEventLoopWhilePaused):
      * bindings/js/WorkerScriptDebugServer.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/preprocess-idls.pl:
      * dom/ActiveDOMObject.cpp:
      * dom/EventTarget.h:
      * dom/EventTargetFactory.in:
      * dom/MessagePort.cpp:
      (WebCore::MessagePort::dispatchMessages):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::createdMessagePort):
      (WebCore::ScriptExecutionContext::destroyedMessagePort):
      (WebCore::ScriptExecutionContext::vm):
      * dom/ScriptExecutionContext.h:
      (WebCore::ScriptExecutionContext::isWorkerGlobalScope):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::createForWorker):
      (WebCore::InjectedScriptManager::canAccessInspectedWorkerGlobalScope):
      * inspector/InjectedScriptManager.h:
      * inspector/InspectorConsoleInstrumentation.h:
      (WebCore::InspectorInstrumentation::addMessageToConsole):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didStartWorkerGlobalScopeImpl):
      (WebCore::InspectorInstrumentation::willEvaluateWorkerScript):
      (WebCore::InspectorInstrumentation::workerGlobalScopeTerminatedImpl):
      (WebCore::InspectorInstrumentation::instrumentingAgentsForWorkerGlobalScope):
      (WebCore::InspectorInstrumentation::instrumentingAgentsForNonDocumentContext):
      * inspector/InspectorInstrumentation.h:
      (WebCore::InspectorInstrumentation::didStartWorkerGlobalScope):
      (WebCore::InspectorInstrumentation::workerGlobalScopeTerminated):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
      (WebCore::WorkerProfilerAgent::startProfiling):
      (WebCore::WorkerProfilerAgent::stopProfiling):
      (WebCore::InspectorProfilerAgent::create):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorRuntimeAgent.h:
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::WorkerFrontendChannel):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::~WorkerFrontendChannel):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::proxy):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::connectToWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::disconnectFromWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::connectToWorker):
      (WebCore::InspectorWorkerAgent::disconnectFromWorker):
      (WebCore::InspectorWorkerAgent::didStartWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::workerGlobalScopeTerminated):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannel):
      * inspector/InspectorWorkerAgent.h:
      * inspector/InstrumentingAgents.cpp:
      (WebCore::instrumentationForWorkerGlobalScope):
      * inspector/InstrumentingAgents.h:
      * inspector/WorkerDebuggerAgent.cpp:
      (WebCore::WorkerDebuggerAgent::create):
      (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
      (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
      (WebCore::WorkerDebuggerAgent::interruptAndDispatchInspectorCommands):
      (WebCore::WorkerDebuggerAgent::injectedScriptForEval):
      * inspector/WorkerDebuggerAgent.h:
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      (WebCore::WorkerInspectorController::connectFrontend):
      * inspector/WorkerInspectorController.h:
      * inspector/WorkerRuntimeAgent.cpp:
      (WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent):
      (WebCore::WorkerRuntimeAgent::injectedScriptForEval):
      (WebCore::WorkerRuntimeAgent::pauseWorkerGlobalScope):
      * inspector/WorkerRuntimeAgent.h:
      (WebCore::WorkerRuntimeAgent::create):
      * loader/ThreadableLoader.cpp:
      (WebCore::ThreadableLoader::create):
      (WebCore::ThreadableLoader::loadResourceSynchronously):
      * loader/WorkerThreadableLoader.cpp:
      (WebCore::WorkerThreadableLoader::WorkerThreadableLoader):
      (WebCore::WorkerThreadableLoader::loadResourceSynchronously):
      (WebCore::workerGlobalScopeDidSendData):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didSendData):
      (WebCore::workerGlobalScopeDidReceiveResponse):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
      (WebCore::workerGlobalScopeDidReceiveData):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
      (WebCore::workerGlobalScopeDidFinishLoading):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading):
      (WebCore::workerGlobalScopeDidFail):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFail):
      (WebCore::workerGlobalScopeDidFailAccessControlCheck):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailAccessControlCheck):
      (WebCore::workerGlobalScopeDidFailRedirectCheck):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck):
      * loader/WorkerThreadableLoader.h:
      (WebCore::WorkerThreadableLoader::create):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeRequestFromCache):
      * platform/blackberry/LocalFileSystemBlackBerry.cpp:
      (WebCore::openFileSystem):
      (WebCore::LocalFileSystem::deleteFileSystem):
      * platform/blackberry/WorkerAsyncFileSystemBlackBerry.cpp:
      (WebCore::WorkerAsyncFileSystemBlackBerry::WorkerAsyncFileSystemBlackBerry):
      (WebCore::WorkerAsyncFileSystemBlackBerry::openFileSystem):
      (WebCore::WorkerAsyncFileSystemBlackBerry::deleteFileSystem):
      * platform/blackberry/WorkerAsyncFileSystemBlackBerry.h:
      (WebCore::WorkerAsyncFileSystemBlackBerry::create):
      * platform/blackberry/WorkerAsyncFileWriterBlackBerry.h:
      * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.cpp:
      (WebCore::WorkerPlatformAsyncFileSystemCallbacks::postTaskToWorkerThread):
      * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.h:
      * platform/blackberry/WorkerPlatformFileWriterClient.cpp:
      (WebCore::WorkerPlatformFileWriterClient::postTaskToWorkerThreadIfNeeded):
      * platform/blackberry/WorkerPlatformFileWriterClient.h:
      * workers/DedicatedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/DedicatedWorkerContext.cpp.
      (WebCore::DedicatedWorkerGlobalScope::create):
      (WebCore::DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope):
      (WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope):
      (WebCore::DedicatedWorkerGlobalScope::interfaceName):
      (WebCore::DedicatedWorkerGlobalScope::postMessage):
      (WebCore::DedicatedWorkerGlobalScope::importScripts):
      (WebCore::DedicatedWorkerGlobalScope::thread):
      * workers/DedicatedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/DedicatedWorkerContext.h.
      * workers/DedicatedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/DedicatedWorkerContext.idl.
      * workers/DedicatedWorkerThread.cpp:
      (WebCore::DedicatedWorkerThread::createWorkerGlobalScope):
      (WebCore::DedicatedWorkerThread::runEventLoop):
      * workers/DedicatedWorkerThread.h:
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::SharedWorkerProxy::postTaskForModeToWorkerGlobalScope):
      (WebCore::SharedWorkerProxy::workerGlobalScopeClosed):
      (WebCore::SharedWorkerProxy::workerGlobalScopeDestroyed):
      (WebCore::SharedWorkerConnectTask::performTask):
      (WebCore::SharedWorkerScriptLoader::notifyFinished):
      (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
      * workers/SharedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/SharedWorkerContext.cpp.
      (WebCore::createConnectEvent):
      (WebCore::SharedWorkerGlobalScope::create):
      (WebCore::SharedWorkerGlobalScope::SharedWorkerGlobalScope):
      (WebCore::SharedWorkerGlobalScope::~SharedWorkerGlobalScope):
      (WebCore::SharedWorkerGlobalScope::interfaceName):
      (WebCore::SharedWorkerGlobalScope::thread):
      (WebCore::SharedWorkerGlobalScope::logExceptionToConsole):
      * workers/SharedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/SharedWorkerContext.h.
      (WebCore::SharedWorkerGlobalScope::name):
      * workers/SharedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/SharedWorkerContext.idl.
      * workers/SharedWorkerThread.cpp:
      (WebCore::SharedWorkerThread::createWorkerGlobalScope):
      * workers/SharedWorkerThread.h:
      * workers/Worker.cpp:
      (WebCore::Worker::Worker):
      (WebCore::Worker::postMessage):
      (WebCore::Worker::terminate):
      (WebCore::Worker::notifyFinished):
      * workers/Worker.h:
      * workers/WorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/WorkerContext.cpp.
      (WebCore::CloseWorkerGlobalScopeTask::create):
      (WebCore::CloseWorkerGlobalScopeTask::performTask):
      (WebCore::CloseWorkerGlobalScopeTask::isCleanupTask):
      (WebCore::WorkerGlobalScope::WorkerGlobalScope):
      (WebCore::WorkerGlobalScope::~WorkerGlobalScope):
      (WebCore::WorkerGlobalScope::applyContentSecurityPolicyFromString):
      (WebCore::WorkerGlobalScope::scriptExecutionContext):
      (WebCore::WorkerGlobalScope::virtualURL):
      (WebCore::WorkerGlobalScope::virtualCompleteURL):
      (WebCore::WorkerGlobalScope::completeURL):
      (WebCore::WorkerGlobalScope::userAgent):
      (WebCore::WorkerGlobalScope::disableEval):
      (WebCore::WorkerGlobalScope::location):
      (WebCore::WorkerGlobalScope::close):
      (WebCore::WorkerGlobalScope::navigator):
      (WebCore::WorkerGlobalScope::hasPendingActivity):
      (WebCore::WorkerGlobalScope::postTask):
      (WebCore::WorkerGlobalScope::setTimeout):
      (WebCore::WorkerGlobalScope::clearTimeout):
      (WebCore::WorkerGlobalScope::clearInspector):
      (WebCore::WorkerGlobalScope::setInterval):
      (WebCore::WorkerGlobalScope::clearInterval):
      (WebCore::WorkerGlobalScope::importScripts):
      (WebCore::WorkerGlobalScope::errorEventTarget):
      (WebCore::WorkerGlobalScope::logExceptionToConsole):
      (WebCore::WorkerGlobalScope::addConsoleMessage):
      (WebCore::WorkerGlobalScope::addMessage):
      (WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
      (WebCore::WorkerGlobalScope::isContextThread):
      (WebCore::WorkerGlobalScope::isJSExecutionForbidden):
      (WebCore::WorkerGlobalScope::eventTargetData):
      (WebCore::WorkerGlobalScope::ensureEventTargetData):
      (WebCore::WorkerGlobalScope::Observer::Observer):
      (WebCore::WorkerGlobalScope::Observer::~Observer):
      (WebCore::WorkerGlobalScope::Observer::stopObserving):
      (WebCore::WorkerGlobalScope::registerObserver):
      (WebCore::WorkerGlobalScope::unregisterObserver):
      (WebCore::WorkerGlobalScope::notifyObserversOfStop):
      (WebCore::WorkerGlobalScope::eventQueue):
      * workers/WorkerGlobalScope.h: Renamed from Source/WebCore/workers/WorkerContext.h.
      (WebCore::WorkerGlobalScope::isSharedWorkerGlobalScope):
      (WebCore::WorkerGlobalScope::isDedicatedWorkerGlobalScope):
      (WebCore::WorkerGlobalScope::url):
      (WebCore::WorkerGlobalScope::groupSettings):
      (WebCore::WorkerGlobalScope::script):
      (WebCore::WorkerGlobalScope::clearScript):
      (WebCore::WorkerGlobalScope::thread):
      (WebCore::WorkerGlobalScope::self):
      (WebCore::WorkerGlobalScope::workerInspectorController):
      (WebCore::WorkerGlobalScope::optionalNavigator):
      (WebCore::WorkerGlobalScope::optionalLocation):
      (WebCore::WorkerGlobalScope::isClosing):
      * workers/WorkerGlobalScope.idl: Renamed from Source/WebCore/workers/WorkerContext.idl.
      * workers/WorkerGlobalScopeProxy.h: Renamed from Source/WebCore/workers/WorkerContextProxy.h.
      (WebCore::WorkerGlobalScopeProxy::~WorkerGlobalScopeProxy):
      (WebCore::WorkerGlobalScopeProxy::PageInspector::~PageInspector):
      (WebCore::WorkerGlobalScopeProxy::connectToInspector):
      (WebCore::WorkerGlobalScopeProxy::disconnectFromInspector):
      (WebCore::WorkerGlobalScopeProxy::sendMessageToInspector):
      * workers/WorkerLoaderProxy.h:
      * workers/WorkerMessagingProxy.cpp:
      (WebCore::MessageWorkerGlobalScopeTask::create):
      (WebCore::MessageWorkerGlobalScopeTask::MessageWorkerGlobalScopeTask):
      (WebCore::MessageWorkerGlobalScopeTask::performTask):
      (WebCore::WorkerGlobalScopeDestroyedTask::create):
      (WebCore::WorkerGlobalScopeDestroyedTask::WorkerGlobalScopeDestroyedTask):
      (WebCore::WorkerGlobalScopeDestroyedTask::performTask):
      (WebCore::WorkerTerminateTask::performTask):
      (WebCore::PostMessageToPageInspectorTask::performTask):
      (WebCore::WorkerGlobalScopeProxy::create):
      (WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
      (WebCore::WorkerMessagingProxy::~WorkerMessagingProxy):
      (WebCore::WorkerMessagingProxy::startWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::workerObjectDestroyedInternal):
      (WebCore::connectToWorkerGlobalScopeInspectorTask):
      (WebCore::WorkerMessagingProxy::connectToInspector):
      (WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
      (WebCore::WorkerMessagingProxy::disconnectFromInspector):
      (WebCore::dispatchOnInspectorBackendTask):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyed):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeClosed):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyedInternal):
      (WebCore::WorkerMessagingProxy::terminateWorkerGlobalScope):
      * workers/WorkerMessagingProxy.h:
      * workers/WorkerObjectProxy.h:
      * workers/WorkerReportingProxy.h:
      * workers/WorkerRunLoop.cpp:
      (WebCore::WorkerRunLoop::run):
      (WebCore::WorkerRunLoop::runInMode):
      (WebCore::WorkerRunLoop::runCleanupTasks):
      (WebCore::WorkerRunLoop::Task::performTask):
      * workers/WorkerRunLoop.h:
      * workers/WorkerScriptLoader.cpp:
      (WebCore::WorkerScriptLoader::loadSynchronously):
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::workerThread):
      (WebCore::WorkerThread::runEventLoop):
      (WebCore::WorkerThreadShutdownFinishTask::performTask):
      (WebCore::WorkerThreadShutdownStartTask::performTask):
      (WebCore::WorkerThread::stop):
      * workers/WorkerThread.h:
      (WebCore::WorkerThread::workerGlobalScope):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::usesDashboardBackwardCompatibilityMode):
      (WebCore::XMLHttpRequest::responseXML):
      
      Source/WebKit/qt:
      
      Update calls to ScriptExecutionContext::isWorkerContext() as it was
      renamed to ScriptExecutionContext::isWorkerGlobalScope().
      
      * WebCoreSupport/NotificationPresenterClientQt.cpp:
      (WebCore::NotificationPresenterClientQt::show):
      (WebCore::NotificationPresenterClientQt::toPage):
      (WebCore::NotificationPresenterClientQt::toFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14792a6b
  26. 26 Jun, 2013 1 commit
  27. 21 Jun, 2013 1 commit
    • achristensen@apple.com's avatar
      Added WebGL source files to Windows build and made Windows build successfully with them. · d8dccfff
      achristensen@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=117853
      
      Reviewed by Brent Fulgham.
      
      * WebCore.vcxproj/WebCore.vcxproj: Added WebGL source files.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Added platform\graphics\opengl and platform\graphics\gpu filters.
      * WebCore.vcxproj/WebCorePreBuild.cmd: Copy ANGLE headers and glext.h before building WebCore (which now uses them).
      * platform/graphics/ANGLEWebKitBridge.h: Look in newly copied directory for ShaderLang.h.
      * platform/graphics/OpenGLShims.h: Include GL/glext.h.
      * platform/graphics/gpu/LoopBlinnShader.cpp:
      (WebCore::LoopBlinnShader::use): Fixed parameter ordering in call to uniformMatrix4fv.
      * platform/graphics/opengl/GLPlatformSurface.cpp:
      (WebCore::GLPlatformSurface::createOffScreenSurface): Added notImplemented for non-EGL builds for now.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8dccfff
  28. 19 Jun, 2013 4 commits
  29. 18 Jun, 2013 1 commit
  30. 13 Jun, 2013 1 commit