• vangelis@chromium.org's avatar
    2010-11-30 Vangelis Kokkevis <vangelis@chromium.org> · 27b033fd
    vangelis@chromium.org authored
            Reviewed by Darin Fisher.
    
            Get the value of the accelerated compositing triggers from the Settings
            class.  This allows setting the triggers via command line flags.
            https://bugs.webkit.org/show_bug.cgi?id=50301
    
            * public/WebSettings.h:
            * src/ChromeClientImpl.cpp:
            (WebKit::ChromeClientImpl::allowedCompositingTriggers):
            * src/WebSettingsImpl.cpp:
            (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
            (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
            (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
            (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
            (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
            * src/WebSettingsImpl.h:
    2010-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
    
            Reviewed by Darin Fisher.
    
            Adds accelerated compositing trigger flags to Settings to allow
            ports to set them via command line flags, etc.
            https://bugs.webkit.org/show_bug.cgi?id=50301
    
            * page/Settings.cpp:
            (WebCore::Settings::Settings):
            (WebCore::Settings::setAcceleratedCompositingFor3DTransformsEnabled):
            (WebCore::Settings::setAcceleratedCompositingForVideoEnabled):
            (WebCore::Settings::setAcceleratedCompositingForPluginsEnabled):
            (WebCore::Settings::setAcceleratedCompositingForCanvasEnabled):
            (WebCore::Settings::setAcceleratedCompositingForAnimationEnabled):
            * page/Settings.h:
            (WebCore::Settings::acceleratedCompositingFor3DTransformsEnabled):
            (WebCore::Settings::acceleratedCompositingForVideoEnabled):
            (WebCore::Settings::acceleratedCompositingForPluginsEnabled):
            (WebCore::Settings::acceleratedCompositingForCanvasEnabled):
            (WebCore::Settings::acceleratedCompositingForAnimationEnabled):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    27b033fd
WebSettings.h 5.06 KB