Index: ui/views/controls/textfield/textfield_test_api.h |
diff --git a/ui/views/controls/textfield/textfield_test_api.h b/ui/views/controls/textfield/textfield_test_api.h |
index 4505b71290700891866ea2a4820c8514f8cf2cda..02f4d542757006d797571ace896b504b94706ce4 100644 |
--- a/ui/views/controls/textfield/textfield_test_api.h |
+++ b/ui/views/controls/textfield/textfield_test_api.h |
@@ -25,6 +25,10 @@ class TextfieldTestApi { |
TextfieldModel* model() const { return textfield_->model_.get(); } |
+ void ExecuteTextEditCommand(ui::TextEditCommand command) { |
+ textfield_->ExecuteTextEditCommand(command); |
+ } |
+ |
ui::MenuModel* context_menu_contents() const { |
return textfield_->context_menu_contents_.get(); |
} |