Commit 51f51b0e authored by eric@webkit.org's avatar eric@webkit.org

2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Add support for the showDebugBorders setting to Chromium.

        https://bugs.webkit.org/show_bug.cgi?id=34906

        * public/WebSettings.h: Add declaration for setShowDebugBorders
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
        * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1095e046
2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add support for the showDebugBorders setting to Chromium.
https://bugs.webkit.org/show_bug.cgi?id=34906
* public/WebSettings.h: Add declaration for setShowDebugBorders
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
* src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
2010-02-11 Darin Fisher <darin@chromium.org>
Reviewed by Jeremy Orlow.
......
......@@ -82,6 +82,7 @@ public:
virtual void setOfflineWebApplicationCacheEnabled(bool) = 0;
virtual void setExperimentalWebGLEnabled(bool) = 0;
virtual void setGeolocationEnabled(bool) = 0;
virtual void setShowDebugBorders(bool) = 0;
protected:
~WebSettings() { }
......
......@@ -254,6 +254,11 @@ void WebSettingsImpl::setExperimentalWebGLEnabled(bool enabled)
m_settings->setWebGLEnabled(enabled);
}
void WebSettingsImpl::setShowDebugBorders(bool show)
{
m_settings->setShowDebugBorders(show);
}
void WebSettingsImpl::setGeolocationEnabled(bool enabled)
{
m_settings->setGeolocationEnabled(enabled);
......
......@@ -84,6 +84,7 @@ public:
virtual void setOfflineWebApplicationCacheEnabled(bool);
virtual void setExperimentalWebGLEnabled(bool);
virtual void setGeolocationEnabled(bool);
virtual void setShowDebugBorders(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