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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Rebase. Created 4 years, 3 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: ui/gfx/render_text_harfbuzz.h
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
index 43eae06c647cb469e9be2e60f95a2d656af95356..262558c7039b791309e4c617d165ca0fef3550a7 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -240,6 +240,10 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText {
internal::TextRunList* GetRunList();
const internal::TextRunList* GetRunList() const;
+ // RenderText:
+ bool GetDecoratedTextForRange(const Range& range,
+ DecoratedText* decorated_text) const override;
+
// Text run list for |layout_text_| and |display_text_|.
// |display_run_list_| is created only when the text is elided.
internal::TextRunList layout_run_list_;

Powered by Google App Engine
This is Rietveld 408576698