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

Unified Diff: ui/gfx/text_elider.h

Issue 1070223004: Stop combining text runs which are connected by 'COMMON' blocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address msw@'s comment. Created 5 years, 6 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 | « ui/gfx/render_text_unittest.cc ('k') | ui/gfx/text_elider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_elider.h
diff --git a/ui/gfx/text_elider.h b/ui/gfx/text_elider.h
index 1269caf070ed109f5336ea3d515be453452a6c60..4e58a9f918161415b0c883388037a6f3406f5a2d 100644
--- a/ui/gfx/text_elider.h
+++ b/ui/gfx/text_elider.h
@@ -51,10 +51,6 @@ class GFX_EXPORT StringSlicer {
base::string16 CutString(size_t length, bool insert_ellipsis) const;
private:
- // Returns a valid cut boundary at or before/after |index|.
- size_t FindValidBoundaryBefore(size_t index) const;
- size_t FindValidBoundaryAfter(size_t index) const;
-
// The text to be sliced.
const base::string16& text_;
« no previous file with comments | « ui/gfx/render_text_unittest.cc ('k') | ui/gfx/text_elider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698