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

Unified Diff: ui/gfx/render_text_win.h

Issue 10315007: Detect missing glyphs as returned by Vista in RenderTextWin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | « no previous file | ui/gfx/render_text_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_win.h
===================================================================
--- ui/gfx/render_text_win.h (revision 135151)
+++ ui/gfx/render_text_win.h (working copy)
@@ -98,6 +98,9 @@
// Helper function to update the font on a text run after font substitution.
void ApplySubstituteFont(internal::TextRun* run, const Font& font);
+ // Returns whether |run| contains missing glyphs.
+ bool HasMissingGlyphs(internal::TextRun* run) const;
+
// Returns a vector of linked fonts corresponding to |font|.
const std::vector<Font>* GetLinkedFonts(const Font& font) const;
@@ -109,8 +112,8 @@
// Given a |run|, returns the SelectionModel that contains the logical first
// or last caret position inside (not at a boundary of) the run.
// The returned value represents a cursor/caret position without a selection.
- SelectionModel FirstSelectionModelInsideRun(internal::TextRun* run);
- SelectionModel LastSelectionModelInsideRun(internal::TextRun* run);
+ SelectionModel FirstSelectionModelInsideRun(const internal::TextRun* run);
+ SelectionModel LastSelectionModelInsideRun(const internal::TextRun* run);
// Cached HDC for performing Uniscribe API calls.
static HDC cached_hdc_;
« no previous file with comments | « no previous file | ui/gfx/render_text_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698