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

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

Issue 1868473002: Use PositionMoveType::GraphemeBoundary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PositionMoveType::CodePoint Created 4 years, 8 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 | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index fd7071badd8173c7d5c48e1a5887c93d08a41bc1..71ddcc4574edfbee174956d07b3f701ac20a6f52 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -45,16 +45,11 @@ enum class PositionMoveType {
CodeUnit,
// Move to the next Unicode code point. At most two code unit when we are
// at surrogate pair. Please consider using |GraphemeCluster|.
- CodePoint,
- // Used with |previousPositionOf()| to compute number of code units as
- // backward deletion, e.g Backspace key. This is similar to
- // |GraphemeCluster| but some tailoring with platform dependent behavior.
BackwardDeletion,
- // TODO(yosin): We'll have |GraphemeCluster| move type.
// Move by a grapheme cluster for user-perceived character in Unicode
// Standard Annex #29, Unicode text segmentation[1].
// [1] http://www.unicode.org/reports/tr29/
- // GraphemeCluster,
+ GraphemeCluster,
};
class Document;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698