Skip to content
  • 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