Skip to content
  • eric@webkit.org's avatar
    2010-01-18 Jonathan Dixon <joth@chromium.org> · b15462d1
    eric@webkit.org authored
            Reviewed by Adam Barth.
    
            Add support for enabling navigator.geolocation at runtime in the V8 bindings.
            Adds the [EnabledAtRuntime] modifier to the navigator IDL.
            https://bugs.webkit.org/show_bug.cgi?id=33467
    
            * WebCore.gypi:
            * bindings/v8/RuntimeEnabledFeatures.cpp:
            * bindings/v8/RuntimeEnabledFeatures.h:
            (WebCore::RuntimeEnabledFeatures::setGeolocationEnabled):
            (WebCore::RuntimeEnabledFeatures::geolocationEnabled):
            * bindings/v8/custom/V8NavigatorCustom.cpp: Added.
            (WebCore::V8Navigator::GeolocationEnabled):
            * page/Navigator.cpp:
            (WebCore::Navigator::geolocation):
            * page/Navigator.idl:
    2010-01-18  Jonathan Dixon  <joth@chromium.org>
    
            Reviewed by Adam Barth.
    
            Add support for enabling navigator.geolocation at runtime in the V8 bindings.
            Adds the [EnabledAtRuntime] modifier to the navigator IDL.
            https://bugs.webkit.org/show_bug.cgi?id=33467
    
            * public/WebRuntimeFeatures.h:
            * src/WebRuntimeFeatures.cpp:
            (WebKit::WebRuntimeFeatures::enableGeolocation):
            (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b15462d1