diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-05 01:10:49 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-05 01:10:49 +0000 |
commit | 4948b51a517efd203e142f222bc6911dc6ec1779 (patch) | |
tree | ffab6aef8322e58d132084feb5c6e4bd09f94109 /webkit/tools/test_shell/test_webview_delegate.cc | |
parent | 265ef6ce9128b4806092066bf6223dc6782c5aa0 (diff) | |
download | chromium_src-4948b51a517efd203e142f222bc6911dc6ec1779.zip chromium_src-4948b51a517efd203e142f222bc6911dc6ec1779.tar.gz chromium_src-4948b51a517efd203e142f222bc6911dc6ec1779.tar.bz2 |
Revert "Implement setSmartInsertDeleteEnabled and
setSelectTrailingWhitespaceEnabled" because of layout test regressions.
This reverts commit r6404.
Review URL: http://codereview.chromium.org/13155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r-- | webkit/tools/test_shell/test_webview_delegate.cc | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc index 99be83c..061cc9b 100644 --- a/webkit/tools/test_shell/test_webview_delegate.cc +++ b/webkit/tools/test_shell/test_webview_delegate.cc @@ -548,27 +548,7 @@ bool TestWebViewDelegate::ShouldApplyStyle(WebView* webview, } bool TestWebViewDelegate::SmartInsertDeleteEnabled() { - return smart_insert_delete_enabled_; -} - -void TestWebViewDelegate::SetSmartInsertDeleteEnabled(bool enabled) { - smart_insert_delete_enabled_ = enabled; - // In upstream WebKit, smart insert/delete is mutually exclusive with select - // trailing whitespace. - if (enabled) - select_trailing_whitespace_enabled_ = false; -} - -bool TestWebViewDelegate::IsSelectTrailingWhitespaceEnabled() { - return select_trailing_whitespace_enabled_; -} - -void TestWebViewDelegate::SetSelectTrailingWhitespaceEnabled(bool enabled) { - select_trailing_whitespace_enabled_ = enabled; - // In upstream WebKit, smart insert/delete is mutually exclusive with select - // trailing whitespace. - if (enabled) - smart_insert_delete_enabled_ = false; + return true; } void TestWebViewDelegate::DidBeginEditing() { |