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

Unified Diff: ui/views/controls/textfield/textfield_test_api.h

Issue 2228833002: MacViews: Fix behavior of move and select commands when selection direction changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_text_commands
Patch Set: Fix compile. Created 4 years, 4 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698