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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 968923004: Use GetDisplayText() instead of text() for rendering text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 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 | « ui/gfx/render_text.cc ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_harfbuzz.h
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
index eabf79851a970a9d8f8cc8bcd5ec30983e6a06fc..ac96d339ffb3be63be72377592a03ade34ceb999 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -235,12 +235,6 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText {
// ICU grapheme iterator for the layout text. Can be NULL in case of an error.
base::i18n::BreakIterator* GetGraphemeIterator();
- // Convert an index in |text_| to the index in |given_text|. The
- // |given_text| should be either |display_text_| or |layout_text_|
- // depending on the elide state.
- size_t TextIndexToGivenTextIndex(const base::string16& given_text,
- size_t index);
-
// Returns the current run list, |display_run_list_| if the text is
// elided, or |layout_run_list_| otherwise.
internal::TextRunList* GetRunList();
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698