Commit 1e448739 authored by eric@webkit.org's avatar eric@webkit.org

2010-05-29 Vangelis Kokkevis <vangelis@chromium.org>

        Reviewed by Darin Fisher.

        Adding support for a runtime flag to enable accelerated
        compositing in chromium.
        https://bugs.webkit.org/show_bug.cgi?id=39917

        * public/WebSettings.h:
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
        * src/WebSettingsImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a084505e
2010-05-29 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
Adding support for a runtime flag to enable accelerated
compositing in chromium.
https://bugs.webkit.org/show_bug.cgi?id=39917
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
* src/WebSettingsImpl.h:
2010-05-28 Aaron Boodman <aa@chromium.org>
Reviewed by Darin Fisher.
......
......@@ -90,6 +90,7 @@ public:
virtual void setExperimentalWebGLEnabled(bool) = 0;
virtual void setShowDebugBorders(bool) = 0;
virtual void setEditingBehavior(EditingBehavior) = 0;
virtual void setAcceleratedCompositingEnabled(bool) = 0;
protected:
~WebSettings() { }
......
......@@ -274,4 +274,9 @@ void WebSettingsImpl::setEditingBehavior(EditingBehavior behavior)
m_settings->setEditingBehavior(static_cast<WebCore::EditingBehavior>(behavior));
}
void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled)
{
m_settings->setAcceleratedCompositingEnabled(enabled);
}
} // namespace WebKit
......@@ -86,6 +86,7 @@ public:
virtual void setExperimentalWebGLEnabled(bool);
virtual void setShowDebugBorders(bool);
virtual void setEditingBehavior(EditingBehavior);
virtual void setAcceleratedCompositingEnabled(bool);
private:
WebCore::Settings* m_settings;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment