1. 05 Sep, 2012 1 commit
  2. 06 Aug, 2012 1 commit
  3. 26 Jul, 2012 1 commit
    • yosin@chromium.org's avatar
      [Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week · 6381e934
      yosin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92339
      
      Reviewed by Kent Tamura.
      
      Source/WebCore: 
      
      To detect compilation errors and test failure earlier, I would like
      build and run tests for input type datetime, datetime-local, month,
      time and week with runtime feature flags to avoid behavior changes
      other than test shell.
      
      This patch adds runtime features for input types, datetime, datetime-local,
      month, time and week and integrates them into InputType::createInputTypeFactoryMap
      to follow runtime feature flags.
      
      At this time, these runtime features are enabled by default for all
      ports define ENABLE_INPUT_TYPE_XXX except for Chromium port other than
      Android. I'll remove these #if after I update Chromium browser for
      disabling them for non-Android.
      
      No new tests. Enabling disabled tests (fast/forms/datetime, fast/forms/dattimelocal,
      fast/forms/month, fast/forms/time, fast/forms/week)
      
      * bindings/generic/RuntimeEnabledFeatures.cpp: Added initializations of
      variables for runtime features of input types.
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::inputTypeDateTimeEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::inputTypeDateTimeLocalEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeLocalEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::inputTypeMonthEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeMonthEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::inputTypeTimeEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeTimeEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::inputTypeWeekEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeWeekEnabled): Added.
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap): Register input types datetime,
      datetime-local, month, time and week if corresponding runtime feature
      flag is enabled.
      * html/InputType.h: Changed indentation to force building *InputType.cpp for
      making Chromium-win bots to be happy.
      
      Source/WebKit/chromium: 
      
      To detect compilation errors and test failure earlier, I would like
      build and run tests for input type datetime, datetime-local, month,
      time and week with runtime feature flags to avoid behavior changes
      on chromium browser.
      
      This patch adds query and change functions for runtime features of
      input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
      class for exposing DRT and chromium browser expermental flags.
      
      * features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,
      ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
      (WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
      (WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
      (WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
      (WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.
      
      Tools: 
      
      This patch enables runtime features for input type datetime, datetime-local,
      month, time and week for Chromium DRT.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell): Call enableInputType{DateTime,DateTimeLocal,Month,Time,Week}.
      
      LayoutTests: 
      
      This patch enables tests for input type datetime, datetime-local,
      month, time and week for Chromium ports.
      
      * platform/chromium/TestExpectations: Removed disabled directives for
      input type datetime, datetime-local, month, time and week.
      * platform/chromium/fast/forms/datalist/input-list-expected.txt: Updated
      expecations for input type datetime, datetime-local, month, time and week
      to null for IDL list attribute. So far, these expectations specified
      HTMLDataListElement for input type "text" as unsupported input types.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6381e934
  4. 09 Jul, 2012 3 commits
    • commit-queue@webkit.org's avatar
      Add ENABLE_DIALOG_ELEMENT and skeleton files · e1bba8e6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90521
      
      Patch by Matt Falkenhagen <falken@chromium.org> on 2012-07-09
      Reviewed by Kent Tamura.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      This adds the ENABLE_DIALOG_ELEMENT feature flag and dummy implementation files for <dialog>. In addition, a runtime feature flag is added.
      The feature is diabled by default.
      
      No new tests, as there is no behavior change.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h: Added a runtime feature flag for dialog.
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::dialogElementEnabled):
      (WebCore::RuntimeEnabledFeatures::setDialogElementEnabled):
      * dom/ContextFeatures.cpp:
      (WebCore::ContextFeatures::dialogElementEnabled):
      (WebCore):
      * dom/ContextFeatures.h: Added a per-context flag for dialog so that dialog can be disabled in HTMLTagNames.in and DOMWindow.idl when the dialog runtime feature flag is off.
      * html/HTMLDialogElement.cpp: Added.
      (WebCore):
      (WebCore::HTMLDialogElement::HTMLDialogElement):
      (WebCore::HTMLDialogElement::create):
      (WebCore::HTMLDialogElement::close):
      (WebCore::HTMLDialogElement::show):
      * html/HTMLDialogElement.h: Added.
      (WebCore):
      (HTMLDialogElement):
      * html/HTMLDialogElement.idl: Added.
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLTagNames.in:
      * page/DOMWindow.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableDialogElement):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1bba8e6
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r122107. · fb3c9689
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/122107
      https://bugs.webkit.org/show_bug.cgi?id=90794
      
      Build failure on Mac debug bots (Requested by falken_ on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-09
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      * dom/ContextFeatures.cpp:
      * dom/ContextFeatures.h:
      * html/HTMLDialogElement.cpp: Removed.
      * html/HTMLDialogElement.h: Removed.
      * html/HTMLDialogElement.idl: Removed.
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLTagNames.in:
      * page/DOMWindow.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb3c9689
    • commit-queue@webkit.org's avatar
      Add ENABLE_DIALOG_ELEMENT and skeleton files · b46a45d5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90521
      
      Patch by Matt Falkenhagen <falken@chromium.org> on 2012-07-09
      Reviewed by Kent Tamura.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      This adds the ENABLE_DIALOG_ELEMENT feature flag and dummy implementation files for <dialog>. In addition, a runtime feature flag is added.
      The feature is diabled by default.
      
      No new tests, as there is no behavior change.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h: Added a runtime feature flag for dialog.
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::dialogElementEnabled):
      (WebCore::RuntimeEnabledFeatures::setDialogElementEnabled):
      * dom/ContextFeatures.cpp:
      (WebCore::ContextFeatures::dialogElementEnabled):
      (WebCore):
      * dom/ContextFeatures.h: Added a per-context flag for dialog so that dialog can be disabled in HTMLTagNames.in and DOMWindow.idl when the dialog runtime feature flag is off.
      * html/HTMLDialogElement.cpp: Added.
      (WebCore):
      (WebCore::HTMLDialogElement::HTMLDialogElement):
      (WebCore::HTMLDialogElement::create):
      (WebCore::HTMLDialogElement::close):
      (WebCore::HTMLDialogElement::show):
      * html/HTMLDialogElement.h: Added.
      (WebCore):
      (HTMLDialogElement):
      * html/HTMLDialogElement.idl: Added.
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLTagNames.in:
      * page/DOMWindow.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableDialogElement):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isDialogElementEnabled):
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b46a45d5
  5. 24 Apr, 2012 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Create a new flag for PeerConnection · 1d180f7c
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=84723
      
      Reviewed by Dimitri Glazkov.
      
      To allow Chrome to make the GetUserMedia functionality available by default we
      need another flag for the PeerConnection related parts. This new flag is in
      addition to the general media stream flag, and both need to be enabled for
      PeerConnection object creation.
      
      Source/WebCore:
      
      No code behavior changes.
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::peerConnectionEnabled):
      (WebCore::RuntimeEnabledFeatures::setPeerConnectionEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitDeprecatedPeerConnectionEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitPeerConnection00Enabled):
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enablePeerConnection):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled):
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d180f7c
  6. 13 Apr, 2012 1 commit
    • tkent@chromium.org's avatar
      Add a runtime flag for <input type=date> · ec34090c
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83853
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::inputTypeDateEnabled): Added.
      (WebCore::RuntimeEnabledFeatures::setInputTypeDateEnabled): Added.
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap):
      Don't register type=date if !RuntimeEnabledFeatures::inputTypeDateEnabled()
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures): Add enableInputTypeDate() and isInputTypeDateEnabled().
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableInputTypeDate): Added.
      (WebKit::WebRuntimeFeatures::isInputTypeDateEnabled): Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec34090c
  7. 10 Apr, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Add Encrypted Media Extensions methods to HTMLMediaElement · a2a07c04
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82971
      
      Patch by David Dorwin <ddorwin@chromium.org> on 2012-04-10
      Reviewed by Adam Barth.
      
      The extensions are behind the ENABLE(ENCRYPTED_MEDIA) feature define.
      Implementation is based on v0.1 of the draft proposal at
      http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html.
      
      Source/WebCore:
      
      Tests: media/encrypted-media/encrypted-media-not-loaded.html
             media/encrypted-media/encrypted-media-syntax.html
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::webkitEncryptedMediaEnabled):
      (WebCore::RuntimeEnabledFeatures::setWebkitEncryptedMediaEnabled):
      * html/HTMLMediaElement.cpp:
      (WebCore):
      (WebCore::exceptionCodeForMediaKeyException):
      (WebCore::HTMLMediaElement::webkitGenerateKeyRequest):
      (WebCore::HTMLMediaElement::webkitAddKey):
      (WebCore::HTMLMediaElement::webkitCancelKeyRequest):
      (WebCore::HTMLMediaElement::setVolume):
      (WebCore::HTMLMediaElement::togglePlayState):
      (WebCore::HTMLMediaElement::beginScrubbing):
      (WebCore::HTMLMediaElement::addTextTrack):
      (WebCore::HTMLMediaElement::textTracks):
      (WebCore::HTMLMediaElement::showingTrackWithSameKind):
      (WebCore::HTMLMediaElement::didAddTrack):
      * html/HTMLMediaElement.h:
      * html/HTMLMediaElement.idl:
      * platform/graphics/MediaPlayer.cpp:
      (NullMediaPlayerPrivate):
      (WebCore):
      (WebCore::MediaPlayer::generateKeyRequest):
      (WebCore::MediaPlayer::addKey):
      (WebCore::MediaPlayer::cancelKeyRequest):
      * platform/graphics/MediaPlayer.h:
      * platform/graphics/MediaPlayerPrivate.h:
      (MediaPlayerPrivateInterface):
      (WebCore::MediaPlayerPrivateInterface::addKey):
      (WebCore::MediaPlayerPrivateInterface::generateKeyRequest):
      (WebCore::MediaPlayerPrivateInterface::cancelKeyRequest):
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebMediaPlayer.h:
      (WebKit):
      (WebMediaPlayer):
      (WebKit::WebMediaPlayer::generateKeyRequest):
      (WebKit::WebMediaPlayer::addKey):
      (WebKit::WebMediaPlayer::cancelKeyRequest):
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/AssertMatchingEnums.cpp:
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit):
      (WebKit::WebMediaPlayerClientImpl::generateKeyRequest):
      (WebKit::WebMediaPlayerClientImpl::addKey):
      (WebKit::WebMediaPlayerClientImpl::cancelKeyRequest):
      * src/WebMediaPlayerClientImpl.h:
      (WebMediaPlayerClientImpl):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
      (WebKit::WebRuntimeFeatures::enableEncryptedMedia):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isEncryptedMediaEnabled):
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      * media/encrypted-media/encrypted-media-not-loaded-expected.txt: Added.
      * media/encrypted-media/encrypted-media-not-loaded.html: Added.
      * media/encrypted-media/encrypted-media-syntax-expected.txt: Added.
      * media/encrypted-media/encrypted-media-syntax.html: Added.
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2a07c04
  8. 03 Mar, 2012 1 commit
    • hans@chromium.org's avatar
      Implement Speech JavaScript API · 71874940
      hans@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80019
      
      Reviewed by Adam Barth.
      
      .:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * configure.ac:
      
      Source/JavaScriptCore:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Add ENABLE_SCRIPTED_SPEECH and runtime flag.
      
      No functionality yet, so no new tests.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * Target.pri:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::setScriptedSpeechEnabled):
      (WebCore::RuntimeEnabledFeatures::scriptedSpeechEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionErrorEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitSpeechGrammarEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitSpeechGrammarListEnabled):
      
      Source/WebKit/chromium:
      
      Add ENABLE_SCRIPTED_SPEECH and runtime flag.
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
      
      Source/WebKit/mac:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * Scripts/build-webkit:
      * qmake/mkspecs/features/features.prf:
      
      WebKitLibraries:
      
      Add ENABLE_SCRIPTED_SPEECH.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71874940
  9. 22 Feb, 2012 1 commit
    • rolandsteiner@chromium.org's avatar
      <style scoped>: Add runtime-flag · bf3276c7
      rolandsteiner@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79074
      
      Source/WebCore:
      
      Added runtime-flag.
      Query runtime flag when (un)registering a <style scoped> element, and when determineing a style sheet's scope.
      
      Reviewed by Dimitri Glazkov.
      
      No new tests. (no change in functionality)
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::styleScopedEnabled):
      (WebCore::RuntimeEnabledFeatures::setStyleScopedEnabled):
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::determineScopingElement):
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::registerWithScopingNode):
      (WebCore::HTMLStyleElement::unregisterWithScopingNode):
      * html/HTMLStyleElement.idl:
      
      Source/WebKit/chromium:
      
      Added a runtime-flag.
      Enable default STYLE_SCOPED compile-time flag for Chromium.
      
      Reviewed by Dimitri Glazkov.
      
      * features.gypi: enable STYLE_SCOPED
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableStyleScoped):
      (WebKit):
      (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
      
      Tools:
      
      Enable the runtime-flag for DRT.
      
      Reviewed by Dimitri Glazkov.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf3276c7
  10. 20 Jan, 2012 1 commit
    • hayato@chromium.org's avatar
      Add ShadowRoot.idl which is enabled by newly introduced SHADOW_DOM flag. · 00a0601d
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76353
      
      Reviewed by Hajime Morita.
      
      Add ShadowRoot.idl, which is enabled only on chromium port since this is
      under development feature.
      ShadowRoot.idl contains minimum API so that we can test it.
      Other APIs should be added on other changes so that we can isolate issues.
      
      Source/WebCore:
      
      Test: fast/dom/shadow/shadow-root-js-api.html
      
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::shadowDOMEnabled):
      (WebCore::RuntimeEnabledFeatures::setShadowDOMEnabled):
      * dom/ShadowRoot.h:
      (WebCore::ShadowRoot::host):
      * dom/ShadowRoot.idl: Added.
      * testing/Internals.cpp:
      (WebCore::Internals::ensureShadowRoot):
      (WebCore::Internals::shadowRoot):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableShadowDOM):
      (WebKit::WebRuntimeFeatures::isShadowDOMEnabled):
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      * fast/dom/shadow/shadow-root-js-api-expected.txt: Added.
      * fast/dom/shadow/shadow-root-js-api.html: Added.
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00a0601d
  11. 24 Nov, 2011 1 commit
    • abarth@webkit.org's avatar
      [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory · 3d24ece9
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73066
      
      Reviewed by Darin Fisher.
      
      This patch creates a new subdirectory in the Chromium WebKit API to
      house "platform" header files.  As with the other Platform directories
      in WebKit, the platform directory cannot depend on headers outside of
      platform, but headers outside of platform can depend on platform.
      
      This patch moves WebKitPlatformSupport and its dependencies into this
      new directory and creates forwarding headers to easy migration for
      embedders of this API.  Over time, we will migrate more headers into
      this folder, as appropriate.
      
      * public/WebAccessibilityObject.h:
      * public/WebAccessibilityRole.h:
      * public/WebAnimationController.h:
      * public/WebApplicationCacheHost.h:
      * public/WebApplicationCacheHostClient.h:
      * public/WebArrayBufferView.h:
      * public/WebAttribute.h:
      * public/WebAudioBus.h: Replaced.
      * public/WebAudioDevice.h: Replaced.
      * public/WebAudioSourceProvider.h:
      * public/WebBindings.h:
      * public/WebBlob.h:
      * public/WebBlobData.h:
      * public/WebBlobRegistry.h:
      * public/WebCString.h: Replaced.
      * public/WebCache.h:
      * public/WebCanvas.h:
      * public/WebClipboard.h:
      * public/WebColor.h:
      * public/WebCommon.h: Replaced.
      * public/WebCommonWorkerClient.h:
      * public/WebCompositor.h:
      * public/WebConsoleMessage.h:
      * public/WebContentLayer.h:
      * public/WebContextMenuData.h:
      * public/WebCookie.h:
      * public/WebCrossOriginPreflightResultCache.h:
      * public/WebDOMEvent.h:
      * public/WebDOMEventListener.h:
      * public/WebDOMStringList.h:
      * public/WebData.h: Replaced.
      * public/WebDataSource.h:
      * public/WebDatabase.h:
      * public/WebDevToolsAgent.h:
      * public/WebDevToolsAgentClient.h:
      * public/WebDevToolsFrontend.h:
      * public/WebDeviceOrientationClientMock.h:
      * public/WebDeviceOrientationController.h:
      * public/WebDocument.h:
      * public/WebDragData.h:
      * public/WebExternalPopupMenuClient.h:
      * public/WebExternalTextureLayer.h:
      * public/WebFileChooserParams.h:
      * public/WebFileInfo.h:
      * public/WebFileSystem.h:
      * public/WebFileSystemCallbacks.h:
      * public/WebFileSystemEntry.h:
      * public/WebFileUtilities.h:
      * public/WebFileWriter.h:
      * public/WebFileWriterClient.h:
      * public/WebFindOptions.h:
      * public/WebFloatPoint.h:
      * public/WebFloatQuad.h:
      * public/WebFloatRect.h:
      * public/WebFont.h:
      * public/WebFontCache.h:
      * public/WebFontDescription.h:
      * public/WebFormControlElement.h:
      * public/WebFormElement.h:
      * public/WebFrame.h:
      * public/WebFrameClient.h:
      * public/WebGamepad.h: Replaced.
      * public/WebGamepads.h: Replaced.
      * public/WebGeolocationClientMock.h:
      * public/WebGeolocationController.h:
      * public/WebGeolocationError.h:
      * public/WebGeolocationPermissionRequest.h:
      * public/WebGeolocationPermissionRequestManager.h:
      * public/WebGeolocationPosition.h:
      * public/WebGlyphCache.h:
      * public/WebGraphicsContext3D.h:
      * public/WebHTTPBody.h:
      * public/WebHTTPLoadInfo.h:
      * public/WebHistoryItem.h:
      * public/WebIDBCallbacks.h:
      * public/WebIDBCursor.h:
      * public/WebIDBDatabase.h:
      * public/WebIDBDatabaseCallbacks.h:
      * public/WebIDBDatabaseError.h:
      * public/WebIDBFactory.h:
      * public/WebIDBIndex.h:
      * public/WebIDBKey.h:
      * public/WebIDBKeyPath.h:
      * public/WebIDBKeyRange.h:
      * public/WebIDBObjectStore.h:
      * public/WebIDBTransaction.h:
      * public/WebIDBTransactionCallbacks.h:
      * public/WebIconURL.h:
      * public/WebImage.h:
      * public/WebInputEvent.h:
      * public/WebKit.h:
      * public/WebKitPlatformSupport.h: Replaced.
      * public/WebLayer.h:
      * public/WebLayerTreeView.h:
      * public/WebLocalizedString.h: Replaced.
      * public/WebMediaPlayer.h:
      * public/WebMediaStreamDescriptor.h:
      * public/WebMediaStreamRegistry.h:
      * public/WebMediaStreamSource.h:
      * public/WebMenuItemInfo.h:
      * public/WebMessagePortChannel.h:
      * public/WebMimeRegistry.h:
      * public/WebNamedNodeMap.h:
      * public/WebNetworkStateNotifier.h:
      * public/WebNode.h:
      * public/WebNodeCollection.h:
      * public/WebNodeList.h:
      * public/WebNotification.h:
      * public/WebNotificationPresenter.h:
      * public/WebOptionElement.h:
      * public/WebPageSerializer.h:
      * public/WebPasswordFormData.h:
      * public/WebPeerConnectionHandler.h:
      * public/WebPerformance.h:
      * public/WebPlugin.h:
      * public/WebPluginParams.h:
      * public/WebPoint.h:
      * public/WebPopupMenu.h:
      * public/WebPopupMenuInfo.h:
      * public/WebPrivateOwnPtr.h: Replaced.
      * public/WebPrivatePtr.h: Replaced.
      * public/WebRange.h:
      * public/WebRect.h:
      * public/WebRegularExpression.h:
      * public/WebRuntimeFeatures.h:
      * public/WebScriptController.h:
      * public/WebScriptSource.h:
      * public/WebScrollbar.h:
      * public/WebSearchableFormData.h:
      * public/WebSecurityOrigin.h:
      * public/WebSecurityPolicy.h:
      * public/WebSelectElement.h:
      * public/WebSerializedScriptValue.h: Replaced.
      * public/WebSettings.h:
      * public/WebSharedWorker.h:
      * public/WebSharedWorkerRepository.h:
      * public/WebSize.h:
      * public/WebSocket.h:
      * public/WebSocketClient.h:
      * public/WebSocketStreamError.h:
      * public/WebSocketStreamHandle.h:
      * public/WebSocketStreamHandleClient.h:
      * public/WebSpeechInputController.h:
      * public/WebSpeechInputResult.h:
      * public/WebSpellCheckClient.h:
      * public/WebStorageArea.h:
      * public/WebStorageEventDispatcher.h:
      * public/WebStorageNamespace.h:
      * public/WebString.h: Replaced.
      * public/WebTestingSupport.h:
      * public/WebTextCheckingCompletion.h:
      * public/WebTextCheckingResult.h:
      * public/WebTextRun.h:
      * public/WebThread.h:
      * public/WebThreadSafeData.h:
      * public/WebTouchPoint.h:
      * public/WebURL.h: Replaced.
      * public/WebURLError.h:
      * public/WebURLLoadTiming.h:
      * public/WebURLLoader.h:
      * public/WebURLRequest.h:
      * public/WebURLResponse.h:
      * public/WebUserMediaRequest.h:
      * public/WebVector.h: Replaced.
      * public/WebView.h:
      * public/WebViewClient.h:
      * public/WebWidget.h:
      * public/WebWidgetClient.h:
      * public/WebWindowFeatures.h:
      * public/android/WebInputEventFactory.h:
      * public/gtk/WebInputEventFactory.h:
      * public/linux/WebFontFamily.h:
      * public/linux/WebFontInfo.h:
      * public/linux/WebFontRenderStyle.h:
      * public/linux/WebFontRendering.h:
      * public/linux/WebRenderTheme.h:
      * public/linux/WebSandboxSupport.h:
      * public/mac/WebInputEventFactory.h:
      * public/mac/WebScreenInfoFactory.h:
      * public/platform: Added.
      * public/platform/WebAudioBus.h: Copied from Source/WebKit/chromium/public/WebAudioBus.h.
      * public/platform/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/WebAudioDevice.h.
      * public/platform/WebCString.h: Copied from Source/WebKit/chromium/public/WebCString.h.
      * public/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/WebCommon.h.
      * public/platform/WebData.h: Copied from Source/WebKit/chromium/public/WebData.h.
      * public/platform/WebGamepad.h: Copied from Source/WebKit/chromium/public/WebGamepad.h.
      * public/platform/WebGamepads.h: Copied from Source/WebKit/chromium/public/WebGamepads.h.
      * public/platform/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitPlatformSupport.h.
      * public/platform/WebLocalizedString.h: Copied from Source/WebKit/chromium/public/WebLocalizedString.h.
      * public/platform/WebPrivateOwnPtr.h: Copied from Source/WebKit/chromium/public/WebPrivateOwnPtr.h.
      * public/platform/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/WebPrivatePtr.h.
      * public/platform/WebSerializedScriptValue.h: Copied from Source/WebKit/chromium/public/WebSerializedScriptValue.h.
      * public/platform/WebString.h: Copied from Source/WebKit/chromium/public/WebString.h.
      * public/platform/WebURL.h: Copied from Source/WebKit/chromium/public/WebURL.h.
      * public/platform/WebVector.h: Copied from Source/WebKit/chromium/public/WebVector.h.
      * public/win/WebInputEventFactory.h:
      * public/win/WebScreenInfoFactory.h:
      * public/x11/WebScreenInfoFactory.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d24ece9
  12. 15 Nov, 2011 1 commit
  13. 14 Nov, 2011 1 commit
    • scheib@chromium.org's avatar
      Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags · f789a615
      scheib@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72303
      
      Reviewed by Darin Fisher.
      
      Source/WebCore:
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::webkitPointerLockEnabled):
      (WebCore::RuntimeEnabledFeatures::setWebkitPointerLockEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitPointerEnabled):
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setPointerLockEnabled):
      (WebCore::Settings::PointerLockEnabled):
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      * public/WebSettings.h:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enablePointerLock):
      (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setPointerLockEnabled):
      * src/WebSettingsImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f789a615
  14. 20 Oct, 2011 1 commit
    • scheib@chromium.org's avatar
      MouseLock compile and run time flags. · 80f6a414
      scheib@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70530
      
      Reviewed by Darin Fisher.
      
      Source/JavaScriptCore:
      
      * wtf/Platform.h:
      
      Source/WebCore:
      
      No new tests.
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::webkitMouseLockAPIEnabled):
      (WebCore::RuntimeEnabledFeatures::setWebkitMouseLockAPIEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitLockMouseEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitUnlockMouseEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitMouseLockedEnabled):
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setMouseLockEnabled):
      (WebCore::Settings::mouseLockEnabled):
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * public/WebRuntimeFeatures.h:
      * public/WebSettings.h:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
      (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setMouseLockEnabled):
      * src/WebSettingsImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80f6a414
  15. 05 Oct, 2011 1 commit
  16. 06 Sep, 2011 1 commit
  17. 07 Aug, 2011 1 commit
    • koz@chromium.org's avatar
      Make the fullscreen JS API enabled at runtime. · 2e190529
      koz@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65501
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::webkitFullScreenAPIEnabled):
      (WebCore::RuntimeEnabledFeatures::setWebkitFullScreenAPIEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitRequestFullScreenEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitIsFullScreenEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitFullScreenKeyboardInputAllowedEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitCurrentFullScreenElementEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitCancelFullScreenEnabled):
      * dom/Document.idl:
      * dom/Element.idl:
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
      (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e190529
  18. 03 Aug, 2011 1 commit
    • darin@chromium.org's avatar
      2011-08-03 Darin Fisher <darin@chromium.org> · 9fd4472d
      darin@chromium.org authored
              [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
              https://bugs.webkit.org/show_bug.cgi?id=65649
      
              Reviewed by Adam Barth.
      
              * README:
              * public/WebAccessibilityCache.h:
              * public/WebAccessibilityObject.h:
              * public/WebArrayBufferView.h:
              * public/WebAttribute.h:
              * public/WebAudioBus.h:
              * public/WebBindings.h:
              * public/WebBlobData.h:
              * public/WebBlobRegistry.h:
              * public/WebCString.h:
              * public/WebCache.h:
              * public/WebColor.h:
              * public/WebCommon.h:
              * public/WebCrossOriginPreflightResultCache.h:
              * public/WebDOMEvent.h:
              * public/WebDOMEventListener.h:
              * public/WebDOMMouseEvent.h:
              * public/WebDOMMutationEvent.h:
              * public/WebDOMStringList.h:
              * public/WebData.h:
              * public/WebDatabase.h:
              * public/WebDevToolsAgent.h:
              * public/WebDevToolsFrontend.h:
              * public/WebDeviceOrientationClientMock.h:
              * public/WebDeviceOrientationController.h:
              * public/WebDocument.h:
              * public/WebDocumentType.h:
              * public/WebDragData.h:
              * public/WebElement.h:
              * public/WebFont.h:
              * public/WebFontCache.h:
              * public/WebFormControlElement.h:
              * public/WebFormElement.h:
              * public/WebFrame.h:
              * public/WebGeolocationClientMock.h:
              * public/WebGeolocationController.h:
              * public/WebGeolocationError.h:
              * public/WebGeolocationPermissionRequest.h:
              * public/WebGeolocationPermissionRequestManager.h:
              * public/WebGeolocationPosition.h:
              * public/WebGlyphCache.h:
              * public/WebHTTPBody.h:
              * public/WebHTTPLoadInfo.h:
              * public/WebHistoryItem.h:
              * public/WebIDBDatabaseError.h:
              * public/WebIDBFactory.h:
              * public/WebIDBKey.h:
              * public/WebIDBKeyPath.h:
              * public/WebIDBKeyRange.h:
              * public/WebImage.h:
              * public/WebImageDecoder.h:
              * public/WebInputElement.h:
              * public/WebInputEvent.h:
              * public/WebKit.h:
              * public/WebLabelElement.h:
              * public/WebMediaElement.h:
              * public/WebNamedNodeMap.h:
              * public/WebNetworkStateNotifier.h:
              * public/WebNode.h:
              * public/WebNodeCollection.h:
              * public/WebNodeList.h:
              * public/WebNotification.h:
              * public/WebOptionElement.h:
              * public/WebPageSerializer.h:
              * public/WebPasswordFormData.h:
              * public/WebPerformance.h:
              * public/WebPluginDocument.h:
              * public/WebPopupMenu.h:
              * public/WebRange.h:
              * public/WebRegularExpression.h:
              * public/WebRuntimeFeatures.h:
              * public/WebScriptController.h:
              * public/WebScrollbar.h:
              * public/WebSearchableFormData.h:
              * public/WebSecurityOrigin.h:
              * public/WebSecurityPolicy.h:
              * public/WebSelectElement.h:
              * public/WebSerializedScriptValue.h:
              * public/WebSharedWorker.h:
              * public/WebSpeechInputControllerMock.h:
              * public/WebSpeechInputResult.h:
              * public/WebStorageEventDispatcher.h:
              * public/WebStorageNamespace.h:
              * public/WebString.h:
              * public/WebTestingSupport.h:
              * public/WebThreadSafeData.h:
              * public/WebURLLoadTiming.h:
              * public/WebURLRequest.h:
              * public/WebURLResponse.h:
              * public/WebView.h:
              * public/WebWorker.h:
              * public/gtk/WebFontInfo.h:
              * public/gtk/WebInputEventFactory.h:
              * public/linux/WebFontRenderStyle.h:
              * public/linux/WebFontRendering.h:
              * public/linux/WebRenderTheme.h:
              * public/mac/WebInputEventFactory.h:
              * public/mac/WebScreenInfoFactory.h:
              * public/mac/WebSubstringUtil.h:
              * public/win/WebInputEventFactory.h:
              * public/win/WebScreenInfoFactory.h:
              * public/x11/WebScreenInfoFactory.h:
              * tests/WebUnitTests.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fd4472d
  19. 22 Jun, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-06-22 Adam Barth <abarth@webkit.org> · 5167d116
      abarth@webkit.org authored
              Rollout 88332.
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/ContextMenuClientImpl.cpp:
              (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
              * src/WebRuntimeFeatures.cpp:
      2011-06-22  Adam Barth  <abarth@webkit.org>
      
              Rollout 88332.  As discussed on webkit-dev, we'd like to iterate on
              both the API and it's implementation a bit.
      
              * WebCore.gypi:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * dom/DocumentMarker.h:
              (WebCore::DocumentMarker::activeMatch):
              * dom/DocumentMarkerController.cpp:
              * dom/DocumentMarkerController.h:
              * html/HTMLDivElement.cpp:
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/SpellcheckRange.cpp: Removed.
              * html/SpellcheckRange.h: Removed.
              * html/SpellcheckRange.idl: Removed.
              * html/SpellcheckRangeList.cpp: Removed.
              * html/SpellcheckRangeList.h: Removed.
              * html/SpellcheckRangeList.idl: Removed.
              * rendering/InlineTextBox.cpp:
              (WebCore::textCheckingLineStyleForMarkerType):
              (WebCore::InlineTextBox::paintDocumentMarkers):
      2011-06-22  Adam Barth  <abarth@webkit.org>
      
              Rollout 88332.
      
              * editing/spelling/spellcheck-api-expected.txt: Removed.
              * editing/spelling/spellcheck-api-pixel.html: Removed.
              * editing/spelling/spellcheck-api.html: Removed.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5167d116
  20. 16 Jun, 2011 1 commit
  21. 08 Jun, 2011 1 commit
    • morrita@google.com's avatar
      2011-06-08 Hironori Bono <hbono@chromium.org> · 11a9f7bd
      morrita@google.com authored
              Reviewed by Brent Fulgham.
      
              Add SpellCheck API
              https://bugs.webkit.org/show_bug.cgi?id=59693
      
              This change adds two SpellCheck API functions (addSpellcheckRange and
              removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
              the public-webapps ML. This change is currently available only on Chromium.
      
              * editing/spelling/spellcheck-api-expected.txt: Added.
              * editing/spelling/spellcheck-api-pixel.html: Added.
              * editing/spelling/spellcheck-api.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-06-08  Hironori Bono  <hbono@chromium.org>
      
              Reviewed by Brent Fulgham.
      
              Add SpellCheck API
              https://bugs.webkit.org/show_bug.cgi?id=59693
      
              This change adds two SpellCheck API functions (addSpellcheckRange and
              removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
              the public-webapps ML. This change is currently available only on Chromium.
      
              Tests: editing/spelling/spellcheck-api-pixel.html
                     editing/spelling/spellcheck-api.html
      
              * WebCore.gypi:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled):
              (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled):
              * dom/DocumentMarker.h:
              (WebCore::DocumentMarker::length):
              * dom/DocumentMarkerController.cpp:
              (WebCore::DocumentMarkerController::userSpellingMarkersForNode):
              (WebCore::DocumentMarkerController::addUserSpellingMarker):
              (WebCore::DocumentMarkerController::removeUserSpellingMarker):
              (WebCore::DocumentMarkerController::userSpellingNode):
              * dom/DocumentMarkerController.h:
              * html/HTMLDivElement.cpp:
              (WebCore::HTMLDivElement::spellcheckRanges):
              (WebCore::HTMLDivElement::addSpellcheckRange):
              (WebCore::HTMLDivElement::removeSpellcheckRange):
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::spellcheckRanges):
              (WebCore::HTMLInputElement::addSpellcheckRange):
              (WebCore::HTMLInputElement::removeSpellcheckRange):
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLTextAreaElement.cpp:
              (WebCore::HTMLTextAreaElement::spellcheckRanges):
              (WebCore::HTMLTextAreaElement::addSpellcheckRange):
              (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/SpellcheckRange.cpp: Added.
              (WebCore::SpellcheckRange::SpellcheckRange):
              (WebCore::SpellcheckRange::~SpellcheckRange):
              * html/SpellcheckRange.h: Added.
              (WebCore::SpellcheckRange::create):
              (WebCore::SpellcheckRange::start):
              (WebCore::SpellcheckRange::length):
              (WebCore::SpellcheckRange::suggestions):
              (WebCore::SpellcheckRange::options):
              * html/SpellcheckRange.idl: Added.
              * html/SpellcheckRangeList.cpp: Added.
              (WebCore::SpellcheckRangeList::SpellcheckRangeList):
              (WebCore::SpellcheckRangeList::~SpellcheckRangeList):
              (WebCore::SpellcheckRangeList::item):
              * html/SpellcheckRangeList.h: Added.
              (WebCore::SpellcheckRangeList::create):
              (WebCore::SpellcheckRangeList::isEmpty):
              (WebCore::SpellcheckRangeList::clear):
              (WebCore::SpellcheckRangeList::append):
              (WebCore::SpellcheckRangeList::remove):
              (WebCore::SpellcheckRangeList::length):
              * html/SpellcheckRangeList.idl: Added.
              * rendering/InlineTextBox.cpp:
              (WebCore::textCheckingLineStyleForMarkerType):
              (WebCore::InlineTextBox::paintDocumentMarkers):
      2011-06-08  Hironori Bono  <hbono@chromium.org>
      
              Reviewed by Brent Fulgham.
      
              Add SpellCheck API
              https://bugs.webkit.org/show_bug.cgi?id=59693
      
              This change adds two SpellCheck API functions (addSpellcheckRange and
              removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
              the public-webapps ML. This change is currently available only on Chromium.
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/ContextMenuClientImpl.cpp:
              (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
              (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11a9f7bd
  22. 19 Apr, 2011 1 commit
  23. 23 Mar, 2011 1 commit
    • kbr@google.com's avatar
      2011-03-23 Kenneth Russell <kbr@google.com> · 9047b2d1
      kbr@google.com authored
              Reviewed by James Robinson.
      
              [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
              https://bugs.webkit.org/show_bug.cgi?id=56947
      
              Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
              now controlled exclusively through the page's Settings.
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
      2011-03-23  Kenneth Russell  <kbr@google.com>
      
              Reviewed by James Robinson.
      
              [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
              https://bugs.webkit.org/show_bug.cgi?id=56947
      
              Removed the RuntimeEnabledFeatures setting for WebGL and the
              EnabledAtRuntime extended attribute from the WebGL-related
              properties on the DOMWindow. WebGL support is now controlled
              exclusively through the page's Settings.
      
              No new tests; tested manually in Chromium with --disable-webgl
              command line argument and blacklist.
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * page/DOMWindow.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9047b2d1
  24. 07 Mar, 2011 1 commit
    • dcheng@chromium.org's avatar
      2011-03-07 Daniel Cheng <dcheng@chromium.org> · d3fc3e91
      dcheng@chromium.org authored
              Reviewed by David Levin.
      
              Add support for DataTransferItems
              https://bugs.webkit.org/show_bug.cgi?id=55115
      
              Layout test to verify that the basic properties of dataTransfer.items function as expected.
      
              * editing/pasteboard/data-transfer-items-expected.txt: Added.
              * editing/pasteboard/data-transfer-items.html: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-03-07  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add support for DataTransferItems
              https://bugs.webkit.org/show_bug.cgi?id=55115
      
              This patch adds stubs for DataTransferItems/DataTransferItem as well as implementing the
              basic functionality on the Chromium port. With the exception of DataTransferItem::getAsFile,
              all functionality on the DataTransferItems collection has been implemented.
              This change does not actually hook up DataTransferItems to reflect the actual contents of a
              drop/paste operation or to allow mutation of data in a copy/drag start yet. That will be
              enabled via several followup patches.
      
              Test: editing/pasteboard/data-transfer-items.html
      
              * Android.mk:
              * CMakeLists.txt:
              * CodeGenerators.pri:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setDataTransferItemsEnabled):
              (WebCore::RuntimeEnabledFeatures::dataTransferItemsEnabled):
              * bindings/scripts/CodeGeneratorV8.pm: Do not emit an #include line for DOMString, since it's built-in.
              * dom/Clipboard.h:
              (WebCore::Clipboard::policy):
              * dom/Clipboard.idl:
              * dom/DataTransferItem.cpp: Added.
              * dom/DataTransferItem.h: Added.
              (WebCore::DataTransferItem::~DataTransferItem):
              * dom/DataTransferItem.idl: Added.
              * dom/DataTransferItems.h: Added.
              (WebCore::DataTransferItems::~DataTransferItems):
              * dom/DataTransferItems.idl: Added.
              * dom/StringCallback.cpp: Added.
              (WebCore::StringCallback::scheduleCallback):
              * dom/StringCallback.h: Added.
              (WebCore::StringCallback::~StringCallback):
              * dom/StringCallback.idl: Added.
              * platform/chromium/ClipboardChromium.cpp:
              (WebCore::ClipboardChromium::items):
              * platform/chromium/ClipboardChromium.h:
              * platform/chromium/DataTransferItemChromium.cpp: Added.
              (WebCore::DataTransferItemChromium::create):
              (WebCore::DataTransferItemChromium::DataTransferItemChromium):
              (WebCore::DataTransferItemChromium::kind):
              (WebCore::DataTransferItemChromium::type):
              (WebCore::DataTransferItemChromium::getAsString):
              * platform/chromium/DataTransferItemChromium.h: Added.
              * platform/chromium/DataTransferItemsChromium.cpp: Added.
              (WebCore::DataTransferItemsChromium::create):
              (WebCore::DataTransferItemsChromium::DataTransferItemsChromium):
              (WebCore::DataTransferItemsChromium::length):
              (WebCore::DataTransferItemsChromium::item):
              (WebCore::DataTransferItemsChromium::deleteItem):
              (WebCore::DataTransferItemsChromium::clear):
              (WebCore::DataTransferItemsChromium::add):
              * platform/chromium/DataTransferItemsChromium.h: Added.
      2011-03-07  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add support for DataTransferItems
              https://bugs.webkit.org/show_bug.cgi?id=55115
      
              Add new runtime enabled flag for data transfer items feature.
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableDataTransferItems):
              (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
      2011-03-07  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add support for DataTransferItems
              https://bugs.webkit.org/show_bug.cgi?id=55115
      
              Enable data transfer items in DRT.
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3fc3e91
  25. 09 Feb, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-02-09 Nebojsa Ciric <cira@chromium.org> · e391af45
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Implements Locale object of JavaScript internationalization API proposal, as an
              v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
              and in this patch we just provide flags, tests and build rules for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=49414
      
              * fast/js/i18n-bindings-locale-expected.txt: Added.
              * fast/js/i18n-bindings-locale.html: Added.
              * fast/js/script-tests/i18n-bindings-locale.js: Added.
              (reportResult):
              (localeTests.this.defaultLocale):
              (localeTests.this.baseLocale):
              (localeTests.this.languageScriptLocale):
              (localeTests.this.languageScriptRegionLocale):
              (localeTests.this.languageScriptRegionExtensionLocale):
              (localeTests.this.languageScriptRegionDashUExtensionLocale):
              (localeTests.this.availableLocales):
              (localeTests.this.maximizedLocale):
              (localeTests.this.maximizedLocaleWithExtension):
              (localeTests.this.minimizedLocale):
              (localeTests.this.minimizedLocaleWithExtension):
              (localeTests.this.displayForBaseLocale):
              (localeTests.this.displayInSameLocale):
              (localeTests.this.displayInDifferentLocale):
              (localeTests.this.displayInCyrillicScript):
              (localeTests.this.displayInHebrewScript):
              (localeTests):
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-02-09  Nebojsa Ciric  <cira@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Implements Locale object of JavaScript internationalization API proposal, as an
              v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
              and in this patch we just provide flags, tests and build rules for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=49414
      
              Test: fast/js/i18n-bindings-locale.html
      
              * WebCore.gyp/WebCore.gyp:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              (WebCore::RuntimeEnabledFeatures::experimentalI18NAPIEnabled):
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setExperimentalI18NAPIEnabled):
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::createNewContext):
      2011-02-09  Nebojsa Ciric  <cira@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Implements Locale object of JavaScript internationalization API proposal, as an
              v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
              and in this patch we just provide flags, tests and build rules for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=49414
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableExperimentalI18NAPI):
              (WebKit::WebRuntimeFeatures::isExperimentalI18NAPIEnabled):
      2011-02-09  Nebojsa Ciric  <cira@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Implements Locale object of JavaScript internationalization API proposal, as an
              v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
              and in this patch we just provide flags, tests and build rules for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=49414
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e391af45
  26. 21 Jan, 2011 2 commits
    • crogers@google.com's avatar
      2011-01-21 Chris Rogers <crogers@google.com> · 0fd8782f
      crogers@google.com authored
              Unreviewed
      
              define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing
              https://bugs.webkit.org/show_bug.cgi?id=52941
      
              * public/WebRuntimeFeatures.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fd8782f
    • crogers@google.com's avatar
      2011-01-21 Chris Rogers <crogers@google.com> · 181d9870
      crogers@google.com authored
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              * public/WebRuntimeFeatures.h:
              * public/WebSettings.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableWebAudio):
              (WebKit::WebRuntimeFeatures::isWebAudioEnabled):
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setWebAudioEnabled):
              * src/WebSettingsImpl.h:
      2011-01-21  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              * WebPreferenceKeysPrivate.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2011-01-21  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (-[WebPreferences webAudioEnabled]):
              (-[WebPreferences setWebAudioEnabled:]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2011-01-21  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add run-time enable support for the web audio API
              https://bugs.webkit.org/show_bug.cgi?id=52741
      
              No new tests since audio API is not yet implemented.
      
              * WebCore.exp.in:
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setWebkitAudioContextEnabled):
              (WebCore::RuntimeEnabledFeatures::webkitAudioContextEnabled):
              * page/DOMWindow.idl:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setWebAudioEnabled):
              * page/Settings.h:
              (WebCore::Settings::webAudioEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      181d9870
  27. 16 Jan, 2011 1 commit
  28. 31 Aug, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-31 Kinuko Yasuda <kinuko@chromium.org> · e2e97781
      kinuko@chromium.org authored
              Reviewed by Jian Li.
      
              Add LocalFileSystem.requestFileSystem interface to DOMWindow
              https://bugs.webkit.org/show_bug.cgi?id=44734
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableFileSystem):
              (WebKit::WebRuntimeFeatures::isFileSystemEnabled):
      2010-08-31  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Add LocalFileSystem.requestFileSystem interface to DOMWindow
              https://bugs.webkit.org/show_bug.cgi?id=44734
      
              No new tests; tests will be added later.
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::fileSystemEnabled):
              (WebCore::RuntimeEnabledFeatures::setFileSystemEnabled):
              (WebCore::RuntimeEnabledFeatures::requestFileSystemEnabled):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::requestFileSystem):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::):
              * page/DOMWindow.idl:
              * page/Settings.cpp:
              (WebCore::Settings::setFileSystemRootPath):
              * page/Settings.h:
              (WebCore::Settings::fileSystemRootPath):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2e97781
  29. 27 Aug, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-08-27 Michael Nordman <michaeln@google.com> · da6bd45b
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=44133
              IDL bindings for XmlHttpRequest.responseBlob support, doesn't do anything yet.
              Adds two new attributes, asBlob and responseBlob.
              Runtime disabled by default, also behind a new ENABLE_XHR_RESPONSE_BLOB compile time guard.
      
              No new tests, just adding some stubs.
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setResponseBlobEnabled):
              (WebCore::RuntimeEnabledFeatures::responseBlobEnabled):
              (WebCore::RuntimeEnabledFeatures::asBlobEnabled):
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::responseText): Changed to allow an exceptional return path.
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseTextAccessorGetter): Changed to allow an exceptional return path.
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::responseText): Changed to raise an exception when accessed with asBlob set to true.
              (WebCore::XMLHttpRequest::responseXML): Changed to raise an exception when accessed with asBlob set to true.
              (WebCore::XMLHttpRequest::responseBlob): Added stub method, returns 0 for now.
              (WebCore::XMLHttpRequest::setAsBlob): Sets the asBlob attribute, raises exception if called at an inappropriate time.
              (WebCore::XMLHttpRequest::open): Resets asBlob to false, the default value.
              (WebCore::XMLHttpRequest::abort): Clears m_responseBlob.
              (WebCore::XMLHttpRequest::clearResponse): Clears m_responseBlob.
              (WebCore::XMLHttpRequest::didFinishLoading): Added a FIXME to populate m_responseBlob.
              * xml/XMLHttpRequest.h:
              (WebCore::XMLHttpRequest::asBlob):
              * xml/XMLHttpRequest.idl:
      2010-08-27  Michael Nordman  <michaeln@google.com>
      
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=44133
              WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
      
              * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
              (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da6bd45b
  30. 25 Aug, 2010 2 commits
    • commit-queue@webkit.org's avatar
      2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com> · 235961d1
      commit-queue@webkit.org authored
              Unreviewed, rolling out r66074.
              http://trac.webkit.org/changeset/66074
              https://bugs.webkit.org/show_bug.cgi?id=44660
      
              Chromium canary turned red (Requested by yuzo on #webkit).
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::responseText):
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseTextAccessorGetter):
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::responseText):
              (WebCore::XMLHttpRequest::responseXML):
              (WebCore::XMLHttpRequest::open):
              (WebCore::XMLHttpRequest::abort):
              (WebCore::XMLHttpRequest::clearResponse):
              (WebCore::XMLHttpRequest::didFinishLoading):
              * xml/XMLHttpRequest.h:
              * xml/XMLHttpRequest.idl:
      2010-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r66074.
              http://trac.webkit.org/changeset/66074
              https://bugs.webkit.org/show_bug.cgi?id=44660
      
              Chromium canary turned red (Requested by yuzo on #webkit).
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      235961d1
    • commit-queue@webkit.org's avatar
      2010-08-25 Michael Nordman <michaeln@google.com> · 261dee9c
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=44133
              IDL bindings for XmlHttpRequest.responseBlob support, doesn't do anything yet.
              Adds two new attributes, asBlob and responseBlob.
              Runtime disabled by default, also behind a new ENABLE_XHR_RESPONSE_BLOB compile time guard.
      
              No new tests, just adding some stubs.
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setResponseBlobEnabled):
              (WebCore::RuntimeEnabledFeatures::responseBlobEnabled):
              (WebCore::RuntimeEnabledFeatures::asBlobEnabled):
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::responseText): Changed to allow an exceptional return path.
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseTextAccessorGetter): Changed to allow an exceptional return path.
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::responseText): Changed to raise an exception when accessed with asBlob set to true.
              (WebCore::XMLHttpRequest::responseXML): Changed to raise an exception when accessed with asBlob set to true.
              (WebCore::XMLHttpRequest::responseBlob): Added stub method, returns 0 for now.
              (WebCore::XMLHttpRequest::setAsBlob): Sets the asBlob attribute, raises exception if called at an inappropriate time.
              (WebCore::XMLHttpRequest::open): Resets asBlob to false, the default value.
              (WebCore::XMLHttpRequest::abort): Clears m_responseBlob.
              (WebCore::XMLHttpRequest::clearResponse): Clears m_responseBlob.
              (WebCore::XMLHttpRequest::didFinishLoading): Added a FIXME to populate m_responseBlob.
              * xml/XMLHttpRequest.h:
              (WebCore::XMLHttpRequest::asBlob):
              * xml/XMLHttpRequest.idl:
      2010-08-25  Michael Nordman  <michaeln@google.com>
      
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=44133
              WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.
      
              * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
              (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      261dee9c
  31. 06 Aug, 2010 1 commit
  32. 29 Jul, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-07-29 Satish Sampath <satish@chromium.org> · cbdf2948
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Runtime feature switch for speech input.
              https://bugs.webkit.org/show_bug.cgi?id=43146
      
              Add a runtime feature switch that decides whether speech input attributes are available or not.
              Defaults to true.
      
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setSpeechInputEnabled):
              (WebCore::RuntimeEnabledFeatures::speechInputEnabled):
              (WebCore::RuntimeEnabledFeatures::speechEnabled):
              * html/HTMLInputElement.idl:
      2010-07-29  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Steve Block.
      
              Runtime feature switch for speech input
              https://bugs.webkit.org/show_bug.cgi?id=43146
      
              Add a runtime feature switch that decides whether speech input attributes are available or not.
              Defaults to true.
      
              * public/WebRuntimeFeatures.h:
              * src/SpeechInputClientImpl.cpp:
              (WebKit::SpeechInputClientImpl::SpeechInputClientImpl):
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableSpeechInput):
              (WebKit::WebRuntimeFeatures::isSpeechInputEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbdf2948
  33. 21 Jul, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-07-21 Hans Wennborg <hans@chromium.org> · f4e33822
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Runtime feature switch for device orientation
              https://bugs.webkit.org/show_bug.cgi?id=42265
      
              Add a runtime feature switch that decides whether device orientation
              events are available or not. Defaults to true.
      
              * WebCore.vcproj/WebCoreCommon.vsprops: Add bindings/generic to include path.
              * bindings/generic/RuntimeEnabledFeatures.cpp:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setDeviceOrientationEnabled):
              (WebCore::RuntimeEnabledFeatures::deviceOrientationEnabled):
              (WebCore::RuntimeEnabledFeatures::deviceOrientationEventEnabled):
              (WebCore::RuntimeEnabledFeatures::ondeviceorientationEnabled):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::addEventListener):
              (WebCore::DOMWindow::removeEventListener):
              (WebCore::DOMWindow::removeAllEventListeners):
              * page/DOMWindow.idl:
              * page/Page.cpp:
              (WebCore::Page::Page):
      2010-07-21  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Steve Block.
      
              Runtime feature switch for device orientation
              https://bugs.webkit.org/show_bug.cgi?id=42265
      
              Add a runtime feature switch that decides whether device orientation
              events are available or not. Defaults to true.
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
              (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4e33822
  34. 20 Jul, 2010 2 commits
  35. 29 Apr, 2010 1 commit