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

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 2030813002: Correct typo in ui::TextEditCommandAuraLinux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor6_remove_delete_command
Patch Set: Rebase Created 4 years, 6 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/events/linux/text_edit_command_auralinux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index a7617faa04667fe3b38425fcca7ce883b01f881b..6175f2fb8c0ec2c750d0b628b2f4d3830e62064c 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -183,8 +183,8 @@ ui::TextEditCommand GetViewsCommand(const ui::TextEditCommandAuraLinux& command,
return ui::TextEditCommand::DELETE_BACKWARD;
case ui::TextEditCommandAuraLinux::DELETE_FORWARD:
return ui::TextEditCommand::DELETE_FORWARD;
- case ui::TextEditCommandAuraLinux::DELETE_TO_BEGINING_OF_LINE:
- case ui::TextEditCommandAuraLinux::DELETE_TO_BEGINING_OF_PARAGRAPH:
+ case ui::TextEditCommandAuraLinux::DELETE_TO_BEGINNING_OF_LINE:
+ case ui::TextEditCommandAuraLinux::DELETE_TO_BEGINNING_OF_PARAGRAPH:
return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE;
case ui::TextEditCommandAuraLinux::DELETE_TO_END_OF_LINE:
case ui::TextEditCommandAuraLinux::DELETE_TO_END_OF_PARAGRAPH:
@@ -220,9 +220,9 @@ ui::TextEditCommand GetViewsCommand(const ui::TextEditCommandAuraLinux& command,
case ui::TextEditCommandAuraLinux::MOVE_RIGHT:
return select ? ui::TextEditCommand::MOVE_RIGHT_AND_MODIFY_SELECTION
: ui::TextEditCommand::MOVE_RIGHT;
- case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINING_OF_DOCUMENT:
- case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINING_OF_LINE:
- case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINING_OF_PARAGRAPH:
+ case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINNING_OF_DOCUMENT:
+ case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINNING_OF_LINE:
+ case ui::TextEditCommandAuraLinux::MOVE_TO_BEGINNING_OF_PARAGRAPH:
return select ? ui::TextEditCommand::
MOVE_TO_BEGINNING_OF_LINE_AND_MODIFY_SELECTION
: ui::TextEditCommand::MOVE_TO_BEGINNING_OF_LINE;
« no previous file with comments | « ui/events/linux/text_edit_command_auralinux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698