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

Unified Diff: ui/base/strings/ui_strings.grd

Issue 211593006: Make Views Textfield key handling execute commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only return true for enabled commands. Created 6 years, 9 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 | « no previous file | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/strings/ui_strings.grd
diff --git a/ui/base/strings/ui_strings.grd b/ui/base/strings/ui_strings.grd
index 3ff50142e9e7722c8c1d25b825aaa5967422b448..9b0d714484cf2a1c28bf39c34610f96330a65837 100644
--- a/ui/base/strings/ui_strings.grd
+++ b/ui/base/strings/ui_strings.grd
@@ -1878,7 +1878,7 @@ need to be translated for each locale.-->
Scroll Down
</message>
- <!-- Edit field context menu item labels. -->
+ <!-- Textfield context menu item labels. -->
<message name="IDS_APP_UNDO" desc="The text label of the Undo menu item">
&amp;Undo
</message>
@@ -1898,6 +1898,66 @@ need to be translated for each locale.-->
Select &amp;all
</message>
+ <!-- Textfield editing commands; their actual string contents are unused. -->
+ <!-- These match third_party/WebKit/Source/core/editing/EditorCommand.cpp. -->
+ <message name="IDS_DELETE_BACKWARD" desc="A command to delete backward.">
+ Delete Backward
+ </message>
+ <message name="IDS_DELETE_FORWARD" desc="A command to delete forward.">
+ Delete Forward
+ </message>
+ <message name="IDS_DELETE_TO_BEGINNING_OF_LINE" desc="A command to delete to the beginning of the line.">
+ Delete To Beginning Of Line
+ </message>
+ <message name="IDS_DELETE_TO_END_OF_LINE" desc="A command to delete to the end of the line.">
+ Delete To End Of Line
+ </message>
+ <message name="IDS_DELETE_WORD_BACKWARD" desc="A command to delete backward by a word.">
+ Delete Word Backward
+ </message>
+ <message name="IDS_DELETE_WORD_FORWARD" desc="A command to delete forward by a word.">
+ Delete Word Forward
+ </message>
+ <message name="IDS_MOVE_LEFT" desc="A command to move the cursor left.">
+ Move Left
+ </message>
+ <message name="IDS_MOVE_LEFT_AND_MODIFY_SELECTION" desc="A command to move the cursor left and modify the selection.">
+ Move Left And Modify Selection
+ </message>
+ <message name="IDS_MOVE_RIGHT" desc="A command to move the cursor right.">
+ Move Right
+ </message>
+ <message name="IDS_MOVE_RIGHT_AND_MODIFY_SELECTION" desc="A command to move the cursor right and modify the selection.">
+ Move Right And Modify Selection
+ </message>
+ <message name="IDS_MOVE_WORD_LEFT" desc="A command to move the cursor left to the next word break.">
+ Move Word Left
+ </message>
+ <message name="IDS_MOVE_WORD_LEFT_AND_MODIFY_SELECTION" desc="A command to move the cursor left to the next word break and modify the selection.">
+ Move Word Left And Modify Selection
+ </message>
+ <message name="IDS_MOVE_WORD_RIGHT" desc="A command to move the cursor right to the next word break.">
+ Move Word Right
+ </message>
+ <message name="IDS_MOVE_WORD_RIGHT_AND_MODIFY_SELECTION" desc="A command to move the cursor right to the next word break and modify the selection.">
+ Move Word Right And Modify Selection
+ </message>
+ <message name="IDS_MOVE_TO_BEGINNING_OF_LINE" desc="A command to move the cursor to the beginning of the line.">
+ Move To Beginning Of Line
+ </message>
+ <message name="IDS_MOVE_TO_BEGINNING_OF_LINE_AND_MODIFY_SELECTION" desc="A command to move the cursor to the beginning of the line and modify the selection.">
+ Move To Beginning Of Line And Modify Selection
+ </message>
+ <message name="IDS_MOVE_TO_END_OF_LINE" desc="A command to move the cursor to the end of the line.">
+ Move To End Of Line
+ </message>
+ <message name="IDS_MOVE_TO_END_OF_LINE_AND_MODIFY_SELECTION" desc="A command to move the cursor to the end of the line and modify the selection.">
+ Move To End Of Line And Modify Selection
+ </message>
+ <message name="IDS_APP_REDO" desc="A command to redo an action.">
+ Redo
+ </message>
+
<!-- Generic terms -->
<message name="IDS_APP_OK" desc="Used for Ok on buttons">
OK
« no previous file with comments | « no previous file | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698