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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: --- 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 1d26c17fcb5e4f1fdab0603871ebd7e22c79cc02..8d08edb27e180fe29cd7274a8dd99e0b6c5a3960 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -264,6 +264,10 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText {
internal::TextRunList* GetRunList();
const internal::TextRunList* GetRunList() const;
+ // RenderText:
+ bool GetStyledStringForRange(const Range& range,
tapted 2016/09/21 04:06:55 move to protected
+ NativeStyledString str) 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