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

Side by Side Diff: ui/base/ime/linux/text_edit_command_auralinux.cc

Issue 1999773002: views::Textfield: Implement transpose editing command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698