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

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

Issue 2119813002: views::Textfield: Implement yank editing command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review. 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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