diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 23:52:55 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 23:52:55 +0000 |
commit | bac0eb59f9ca057ff2b7eab7dab3664a37f0f2a5 (patch) | |
tree | 3a06712465407da8111c4477f23192f3840b0cb2 /webkit/glue/editor_client_impl.cc | |
parent | dc90da2c3f8c87baa8dcea7fbf0272001d771ecf (diff) | |
download | chromium_src-bac0eb59f9ca057ff2b7eab7dab3664a37f0f2a5.zip chromium_src-bac0eb59f9ca057ff2b7eab7dab3664a37f0f2a5.tar.gz chromium_src-bac0eb59f9ca057ff2b7eab7dab3664a37f0f2a5.tar.bz2 |
src/webkit side of webkit merge 38729:38760
Review URL: http://codereview.chromium.org/13028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r-- | webkit/glue/editor_client_impl.cc | 9 |
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 |