summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 01:10:49 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 01:10:49 +0000
commit4948b51a517efd203e142f222bc6911dc6ec1779 (patch)
treeffab6aef8322e58d132084feb5c6e4bd09f94109 /webkit/glue/webview_delegate.h
parent265ef6ce9128b4806092066bf6223dc6782c5aa0 (diff)
downloadchromium_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/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index cfdc99e..6ea074c 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -30,7 +30,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/logging.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/context_node_types.h"
#include "webkit/glue/webwidget_delegate.h"
@@ -632,13 +631,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
}
virtual bool SmartInsertDeleteEnabled() {
- return true;
- }
-
- virtual void SetSmartInsertDeleteEnabled(bool enabled) {
- // This method is only used in test shell, which overrides this
- // method.
- NOTREACHED();
+ return false;
}
virtual bool IsSelectTrailingWhitespaceEnabled() {
@@ -649,12 +642,6 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
#endif
}
- virtual void SetSelectTrailingWhitespaceEnabled(bool enabled) {
- // This method is only used in test shell, which overrides this
- // method.
- NOTREACHED();
- }
-
virtual void DidBeginEditing() { }
virtual void DidChangeSelection(bool is_empty_selection) { }
virtual void DidChangeContents() { }