| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: | 116 case TextEditCommand::TRANSPOSE: |
| 117 return "Transpose"; | 117 return "Transpose"; |
| 118 case TextEditCommand::YANK: |
| 119 return "Yank"; |
| 118 case TextEditCommand::INSERT_TEXT: | 120 case TextEditCommand::INSERT_TEXT: |
| 119 return "InsertText"; | 121 return "InsertText"; |
| 120 case TextEditCommand::SET_MARK: | 122 case TextEditCommand::SET_MARK: |
| 121 return "SetMark"; | 123 return "SetMark"; |
| 122 case TextEditCommand::UNSELECT: | 124 case TextEditCommand::UNSELECT: |
| 123 return "Unselect"; | 125 return "Unselect"; |
| 124 case TextEditCommand::INVALID_COMMAND: | 126 case TextEditCommand::INVALID_COMMAND: |
| 125 NOTREACHED(); | 127 NOTREACHED(); |
| 126 return std::string(); | 128 return std::string(); |
| 127 } | 129 } |
| 128 NOTREACHED(); | 130 NOTREACHED(); |
| 129 return std::string(); | 131 return std::string(); |
| 130 } | 132 } |
| 131 | 133 |
| 132 } // namespace ui | 134 } // namespace ui |
| OLD | NEW |