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

Unified Diff: third_party/WebKit/Source/core/editing/EditingBehavior.h

Issue 2947523002: Delete backspace-for-back RuntimeFeature. (Closed)
Patch Set: Fix layout test Created 3 years, 6 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
Index: third_party/WebKit/Source/core/editing/EditingBehavior.h
diff --git a/third_party/WebKit/Source/core/editing/EditingBehavior.h b/third_party/WebKit/Source/core/editing/EditingBehavior.h
index 5374bf1652af381a1efc0cdfc96b56b883b716a0..023555bcd3b56fd12c3319096deff07fa9854388 100644
--- a/third_party/WebKit/Source/core/editing/EditingBehavior.h
+++ b/third_party/WebKit/Source/core/editing/EditingBehavior.h
@@ -82,12 +82,6 @@ class CORE_EXPORT EditingBehavior {
return type_ == kEditingMacBehavior;
}
- // On Mac and Windows, pressing backspace (when it isn't handled otherwise)
- // should navigate back.
- bool ShouldNavigateBackOnBackspace() const {
- return type_ != kEditingUnixBehavior && type_ != kEditingAndroidBehavior;
- }
-
// On Mac, selecting backwards by word/line from the middle of a word/line,
// and then going forward leaves the caret back in the middle with no
// selection, instead of directly selecting to the other end of the line/word

Powered by Google App Engine
This is Rietveld 408576698