summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc22
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() {