summaryrefslogtreecommitdiffstats
path: root/webkit/glue/editor_client_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r--webkit/glue/editor_client_impl.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc
index d6b2e2c..abf2ecf 100644
--- a/webkit/glue/editor_client_impl.cc
+++ b/webkit/glue/editor_client_impl.cc
@@ -104,6 +104,15 @@ bool EditorClientImpl::smartInsertDeleteEnabled() {
return true;
}
+bool EditorClientImpl::isSelectTrailingWhitespaceEnabled() {
+ if (use_editor_delegate_) {
+ WebViewDelegate* d = web_view_->delegate();
+ if (d)
+ return d->IsSelectTrailingWhitespaceEnabled();
+ }
+ return true;
+}
+
bool EditorClientImpl::isContinuousSpellCheckingEnabled() {
// Spell check everything if possible.
// FIXME(brettw) This should be modified to do reasonable defaults depending