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

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

Issue 2761963002: CANCELLED Merge SelectionAdjuster into VisibleSelection part 1 (Closed)
Patch Set: Fix typo Created 3 years, 9 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/SelectionAdjuster.h » ('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.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index 736d889bf286020e88b7afa6ef2f399bf276d8fd..f31908cc07d19d47ca5f0a57f0f7d08bd107f6c9 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -295,8 +295,9 @@ int comparePositions(const VisiblePosition& a, const VisiblePosition& b) {
// TODO(editing-dev): We should implement real version which refers
// "user-select" CSS property.
-// TODO(editing-dev): We should make |SelectionAdjuster| to use this funciton
-// instead of |isSelectionBondary()|.
+// TODO(editing-dev): We should make
+// |VisibleSelection::adjustSelectionToAvoidCrossingShadowBoundaries()| use this
+// funciton instead of |isSelectionBondary()|.
bool isUserSelectContain(const Node& node) {
return isHTMLTextAreaElement(node) || isHTMLInputElement(node) ||
isHTMLSelectElement(node);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionAdjuster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698