Index: ui/views/controls/textfield/textfield.cc |
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc |
index 191ed35991b65eaa60999208fe64b2c32fdf493d..78304aa4c37e8e7452c850c3d796a24cefc9f201 100644 |
--- a/ui/views/controls/textfield/textfield.cc |
+++ b/ui/views/controls/textfield/textfield.cc |
@@ -368,14 +368,26 @@ size_t Textfield::GetCursorPosition() const { |
return native_wrapper_->GetCursorPosition(); |
} |
-void Textfield::ApplyStyleRange(const gfx::StyleRange& style) { |
+void Textfield::SetColor(SkColor value) { |
DCHECK(native_wrapper_); |
- return native_wrapper_->ApplyStyleRange(style); |
+ return native_wrapper_->SetColor(value); |
} |
-void Textfield::ApplyDefaultStyle() { |
+void Textfield::ApplyColor(SkColor value, const ui::Range& range) { |
DCHECK(native_wrapper_); |
- native_wrapper_->ApplyDefaultStyle(); |
+ return native_wrapper_->ApplyColor(value, range); |
+} |
+ |
+void Textfield::SetStyle(gfx::TextStyle style, bool value) { |
+ DCHECK(native_wrapper_); |
+ return native_wrapper_->SetStyle(style, value); |
+} |
+ |
+void Textfield::ApplyStyle(gfx::TextStyle style, |
+ bool value, |
+ const ui::Range& range) { |
+ DCHECK(native_wrapper_); |
+ return native_wrapper_->ApplyStyle(style, value, range); |
} |
void Textfield::ClearEditHistory() { |