Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index b153edd0d89e9fcb9c2691f21a214037f25ae8c5..31308bef054c16517fc0fc41d5bcb233b5e7c762 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -197,6 +197,11 @@ class VIEWS_EXPORT Textfield : public View, |
void SetStyle(gfx::TextStyle style, bool value); |
void ApplyStyle(gfx::TextStyle style, bool value, const gfx::Range& range); |
+ // Set various text weights over the entire text or a logical character range. |
msw
2016/03/25 01:33:10
These functions are arguably unnecessary; they're
Mikus
2016/03/25 11:49:00
Done - removed.
|
+ // The respective |weight| is applied. Empty and invalid ranges are ignored. |
+ void SetWeight(gfx::Font::Weight weight); |
+ void ApplyWeight(gfx::Font::Weight weight, const gfx::Range& range); |
+ |
// Clears Edit history. |
void ClearEditHistory(); |