Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: webkit/glue/editor_client_impl.cc

Issue 165309: Make double-clicking to select work correctly on Mac.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/editor_client_impl.cc
===================================================================
--- webkit/glue/editor_client_impl.cc (revision 22917)
+++ webkit/glue/editor_client_impl.cc (working copy)
@@ -110,11 +110,16 @@
bool EditorClientImpl::isSelectTrailingWhitespaceEnabled() {
if (use_editor_delegate_) {
- WebViewDelegate* d = web_view_->delegate();
- if (d)
- return d->IsSelectTrailingWhitespaceEnabled();
+ WebViewDelegate* d = web_view_->delegate();
+ if (d)
+ return d->IsSelectTrailingWhitespaceEnabled();
}
+
+#if defined(OS_WIN)
return true;
+#elif defined(OS_MACOSX) || defined(OS_LINUX)
+ return false;
+#endif
}
bool EditorClientImpl::ShouldSpellcheckByDefault() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698