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

Unified Diff: ui/gfx/render_text_linux.h

Issue 11535014: Replace StyleRange with BreakList; update RenderText, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update iteration and helpers; add tests; etc. Created 7 years, 11 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_linux.h
diff --git a/ui/gfx/render_text_linux.h b/ui/gfx/render_text_linux.h
index 12f61ba7fd1d80039ff47272e11a0be1b7061698..ea50511ae3ba6dca4b506fa0f899b661651bc241 100644
--- a/ui/gfx/render_text_linux.h
+++ b/ui/gfx/render_text_linux.h
@@ -45,6 +45,9 @@ class RenderTextLinux : public RenderText {
virtual void DrawVisualText(Canvas* canvas) OVERRIDE;
private:
+ friend class RenderTextTest;
+ FRIEND_TEST_ALL_PREFIXES(RenderTextTest, PangoAttributes);
+
// Returns the run that contains the character attached to the caret in the
// given selection model. Return NULL if not found.
GSList* GetRunContainingCaret(const SelectionModel& caret) const;

Powered by Google App Engine
This is Rietveld 408576698