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

Unified Diff: ui/base/range/range.h

Issue 9390022: Simplify handling of BiDi cursor movement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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 | ui/gfx/canvas_skia_skia.cc » ('j') | ui/gfx/render_text_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/range/range.h
diff --git a/ui/base/range/range.h b/ui/base/range/range.h
index cc30dcff48ad183a207c9a71376f5ad9724fca5d..99ad004d8fb7992ab8383f3bf819c9d1ceedb5cc 100644
--- a/ui/base/range/range.h
+++ b/ui/base/range/range.h
@@ -87,7 +87,8 @@ class UI_EXPORT Range {
bool Contains(const Range& range) const;
// Computes the intersection of this range with the given |range|.
- // If they don't intersects, it returns an InvalidRange().
+ // If they don't intersect, it returns an InvalidRange().
+ // The returned range is always empty or forward (never reversed).
Range Intersect(const Range& range) const;
#if defined(OS_MACOSX)
« no previous file with comments | « no previous file | ui/gfx/canvas_skia_skia.cc » ('j') | ui/gfx/render_text_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698