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

Side by Side Diff: ui/events/linux/text_edit_command_auralinux.h

Issue 2030813002: Correct typo in ui::TextEditCommandAuraLinux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor6_remove_delete_command
Patch Set: Rebase Created 4 years, 6 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
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 #ifndef UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_ 5 #ifndef UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_
6 #define UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_ 6 #define UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/events/events_export.h" 10 #include "ui/events/events_export.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 // Represents a command that performs a specific operation on text. 14 // Represents a command that performs a specific operation on text.
15 // Copy and assignment are explicitly allowed; these objects live in vectors. 15 // Copy and assignment are explicitly allowed; these objects live in vectors.
16 class EVENTS_EXPORT TextEditCommandAuraLinux { 16 class EVENTS_EXPORT TextEditCommandAuraLinux {
17 public: 17 public:
18 enum CommandId { 18 enum CommandId {
19 COPY, 19 COPY,
20 CUT, 20 CUT,
21 DELETE_BACKWARD, 21 DELETE_BACKWARD,
22 DELETE_FORWARD, 22 DELETE_FORWARD,
23 DELETE_TO_BEGINING_OF_LINE, 23 DELETE_TO_BEGINNING_OF_LINE,
24 DELETE_TO_BEGINING_OF_PARAGRAPH, 24 DELETE_TO_BEGINNING_OF_PARAGRAPH,
25 DELETE_TO_END_OF_LINE, 25 DELETE_TO_END_OF_LINE,
26 DELETE_TO_END_OF_PARAGRAPH, 26 DELETE_TO_END_OF_PARAGRAPH,
27 DELETE_WORD_BACKWARD, 27 DELETE_WORD_BACKWARD,
28 DELETE_WORD_FORWARD, 28 DELETE_WORD_FORWARD,
29 INSERT_TEXT, 29 INSERT_TEXT,
30 MOVE_BACKWARD, 30 MOVE_BACKWARD,
31 MOVE_DOWN, 31 MOVE_DOWN,
32 MOVE_FORWARD, 32 MOVE_FORWARD,
33 MOVE_LEFT, 33 MOVE_LEFT,
34 MOVE_PAGE_DOWN, 34 MOVE_PAGE_DOWN,
35 MOVE_PAGE_UP, 35 MOVE_PAGE_UP,
36 MOVE_RIGHT, 36 MOVE_RIGHT,
37 MOVE_TO_BEGINING_OF_DOCUMENT, 37 MOVE_TO_BEGINNING_OF_DOCUMENT,
38 MOVE_TO_BEGINING_OF_LINE, 38 MOVE_TO_BEGINNING_OF_LINE,
39 MOVE_TO_BEGINING_OF_PARAGRAPH, 39 MOVE_TO_BEGINNING_OF_PARAGRAPH,
40 MOVE_TO_END_OF_DOCUMENT, 40 MOVE_TO_END_OF_DOCUMENT,
41 MOVE_TO_END_OF_LINE, 41 MOVE_TO_END_OF_LINE,
42 MOVE_TO_END_OF_PARAGRAPH, 42 MOVE_TO_END_OF_PARAGRAPH,
43 MOVE_UP, 43 MOVE_UP,
44 MOVE_WORD_BACKWARD, 44 MOVE_WORD_BACKWARD,
45 MOVE_WORD_FORWARD, 45 MOVE_WORD_FORWARD,
46 MOVE_WORD_LEFT, 46 MOVE_WORD_LEFT,
47 MOVE_WORD_RIGHT, 47 MOVE_WORD_RIGHT,
48 PASTE, 48 PASTE,
49 SELECT_ALL, 49 SELECT_ALL,
(...skipping 23 matching lines...) Expand all
73 73
74 std::string argument_; 74 std::string argument_;
75 75
76 // In addition to executing the command, modify the selection. 76 // In addition to executing the command, modify the selection.
77 bool extend_selection_; 77 bool extend_selection_;
78 }; 78 };
79 79
80 } // namespace ui 80 } // namespace ui
81 81
82 #endif // UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_ 82 #endif // UI_EVENTS_X_TEXT_EDIT_COMMAND_X11_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc ('k') | ui/events/linux/text_edit_command_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698