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

Unified Diff: ui/gfx/render_text_mac.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Fix compile. 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_mac.h
diff --git a/ui/gfx/render_text_mac.h b/ui/gfx/render_text_mac.h
index 7c1d67e9314adb3941cb2c0177faccf4c10b4f88..1a4e7193e695294163f2f47a1782bdc282277aca 100644
--- a/ui/gfx/render_text_mac.h
+++ b/ui/gfx/render_text_mac.h
@@ -109,6 +109,10 @@ class GFX_EXPORT RenderTextMac : public RenderText {
// Clears cached style. Doesn't update display text (e.g. eliding).
void InvalidateStyle();
+ // RenderText:
+ bool GetDecoratedTextForRange(const Range& range,
+ DecoratedText* decorated_text) const override;
+
// The Core Text line of text. Created by |EnsureLayout()|.
base::ScopedCFTypeRef<CTLineRef> line_;

Powered by Google App Engine
This is Rietveld 408576698