OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/base/ime/linux/text_edit_command_auralinux.h" | 5 #include "ui/base/ime/linux/text_edit_command_auralinux.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "ui/base/ime/text_edit_commands.h" | 8 #include "ui/base/ime/text_edit_commands.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 case TextEditCommand::REDO: | 106 case TextEditCommand::REDO: |
107 return "Redo"; | 107 return "Redo"; |
108 case TextEditCommand::CUT: | 108 case TextEditCommand::CUT: |
109 return "Cut"; | 109 return "Cut"; |
110 case TextEditCommand::COPY: | 110 case TextEditCommand::COPY: |
111 return "Copy"; | 111 return "Copy"; |
112 case TextEditCommand::PASTE: | 112 case TextEditCommand::PASTE: |
113 return "Paste"; | 113 return "Paste"; |
114 case TextEditCommand::SELECT_ALL: | 114 case TextEditCommand::SELECT_ALL: |
115 return "SelectAll"; | 115 return "SelectAll"; |
| 116 case TextEditCommand::TRANSPOSE: |
| 117 return "Transpose"; |
116 case TextEditCommand::INSERT_TEXT: | 118 case TextEditCommand::INSERT_TEXT: |
117 return "InsertText"; | 119 return "InsertText"; |
118 case TextEditCommand::SET_MARK: | 120 case TextEditCommand::SET_MARK: |
119 return "SetMark"; | 121 return "SetMark"; |
120 case TextEditCommand::UNSELECT: | 122 case TextEditCommand::UNSELECT: |
121 return "Unselect"; | 123 return "Unselect"; |
122 case TextEditCommand::INVALID_COMMAND: | 124 case TextEditCommand::INVALID_COMMAND: |
123 NOTREACHED(); | 125 NOTREACHED(); |
124 return std::string(); | 126 return std::string(); |
125 } | 127 } |
126 NOTREACHED(); | 128 NOTREACHED(); |
127 return std::string(); | 129 return std::string(); |
128 } | 130 } |
129 | 131 |
130 } // namespace ui | 132 } // namespace ui |
OLD | NEW |