Commit 5bca8ac7 authored by tkent@chromium.org's avatar tkent@chromium.org

2011-01-14 Kent Tamura <tkent@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] WebKit API: Add a function for form interactive validation setting
        https://bugs.webkit.org/show_bug.cgi?id=52430

        * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
        * src/WebSettingsImpl.h: Add a declaration.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c7734290
2011-01-14 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Fisher.
[Chromium] WebKit API: Add a function for form interactive validation setting
https://bugs.webkit.org/show_bug.cgi?id=52430
* public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
* src/WebSettingsImpl.h: Add a declaration.
2011-01-14 Vincent Scheib <scheib@chromium.org>
Reviewed by David Levin.
......@@ -40,7 +40,7 @@ class WebURL;
// WebSettings is owned by the WebView and allows code to modify the settings for
// the WebView's page without any knowledge of WebCore itself. For the most part,
// these functions have a 1:1 mapping with the methods in WebCore/page/settings.h.
// these functions have a 1:1 mapping with the methods in WebCore/page/Settings.h.
class WebSettings {
public:
enum EditingBehavior {
......@@ -102,6 +102,7 @@ public:
virtual void setMemoryInfoEnabled(bool) = 0;
virtual void setHyperlinkAuditingEnabled(bool) = 0;
virtual void setCaretBrowsingEnabled(bool) = 0;
virtual void setInteractiveFormValidationEnabled(bool) = 0;
protected:
~WebSettings() { }
......
......@@ -329,4 +329,9 @@ void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled)
m_settings->setCaretBrowsingEnabled(enabled);
}
void WebSettingsImpl::setInteractiveFormValidationEnabled(bool enabled)
{
m_settings->setInteractiveFormValidationEnabled(enabled);
}
} // namespace WebKit
......@@ -97,6 +97,7 @@ public:
virtual void setMemoryInfoEnabled(bool);
virtual void setHyperlinkAuditingEnabled(bool);
virtual void setCaretBrowsingEnabled(bool);
virtual void setInteractiveFormValidationEnabled(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