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

Unified Diff: ui/gfx/text_constants.h

Issue 11535014: Replace StyleRange with BreakList; update RenderText, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. 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
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_constants.h
diff --git a/ui/gfx/text_constants.h b/ui/gfx/text_constants.h
index 3c644ab77e83cfbfbc54fa3d38143767aa04bac3..4ac788e6109ec61ab09826065b5415bad1d455cf 100644
--- a/ui/gfx/text_constants.h
+++ b/ui/gfx/text_constants.h
@@ -40,6 +40,17 @@ enum DirectionalityMode {
DIRECTIONALITY_FORCE_RTL,
};
+// Text styles and adornments.
+// TODO(msw): Merge with gfx::Font::FontStyle.
+enum TextStyle {
+ BOLD = 0,
+ ITALIC,
+ STRIKE,
+ DIAGONAL_STRIKE,
+ UNDERLINE,
+ NUM_TEXT_STYLES,
+};
+
} // namespace gfx
#endif // UI_GFX_TEXT_CONSTANTS_H_
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698