Chromium Code Reviews| Index: base/i18n/break_iterator.h |
| diff --git a/base/i18n/break_iterator.h b/base/i18n/break_iterator.h |
| index e49b46e68b523386644f113c4f0ef7d3537269c5..ed648516c843b5076d4a1493186c974f85900950 100644 |
| --- a/base/i18n/break_iterator.h |
| +++ b/base/i18n/break_iterator.h |
| @@ -87,6 +87,9 @@ class BreakIterator { |
| // this distinction doesn't apply and it always retuns false. |
| bool IsWord() const; |
| + // Returns true if |position| is a valid break. |
| + bool IsBreak(size_t position); |
|
oshima
2011/08/18 22:31:13
IsBreakAt may be?
msw
2011/08/19 10:55:30
I went with IsWordBreakAt
|
| + |
| // Returns the string between prev() and pos(). |
| // Advance() must have been called successfully at least once for pos() to |
| // have advanced to somewhere useful. |