| 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/events/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 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 std::string TextEditCommandAuraLinux::GetCommandString() const { | 11 std::string TextEditCommandAuraLinux::GetCommandString() const { |
| 12 std::string base_name; | 12 std::string base_name; |
| 13 switch (command_id_) { | 13 switch (command_id_) { |
| 14 case COPY: | 14 case COPY: |
| 15 base_name = "Copy"; | 15 base_name = "Copy"; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 return std::string(); | 115 return std::string(); |
| 116 } | 116 } |
| 117 | 117 |
| 118 if (extend_selection()) | 118 if (extend_selection()) |
| 119 base_name += "AndModifySelection"; | 119 base_name += "AndModifySelection"; |
| 120 | 120 |
| 121 return base_name; | 121 return base_name; |
| 122 } | 122 } |
| 123 | 123 |
| 124 } // namespace ui | 124 } // namespace ui |
| OLD | NEW |