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

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

Issue 1942953003: Accessible setSelection function should use VisiblePositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test for selecting whole element Created 4 years, 7 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/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index f0144ae78a99691b2be550ed1dda3269840f9a53..5cec6b5b12ce41e3e4e71ce5d4035f45570e6ce9 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -281,7 +281,7 @@ int indexForVisiblePosition(const VisiblePosition&, ContainerNode*& scope);
EphemeralRange makeRange(const VisiblePosition&, const VisiblePosition&);
EphemeralRange normalizeRange(const EphemeralRange&);
EphemeralRangeInFlatTree normalizeRange(const EphemeralRangeInFlatTree&);
-VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
+CORE_EXPORT VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
// -------------------------------------------------------------------------
// HTMLElement

Powered by Google App Engine
This is Rietveld 408576698