|
|
Modify ui::TextInputClient to use ui::TextEditCommand enum in place of resource ids.
Currently Views::Textfield represent text editing commands using resource ids,
even though these do not appear anywhere in the UI. This CL adds a new
ui::TextEditCommand enum for use by ui::TextInputClient.
Unused resource ids are removed from ui_strings.grd and the allocation of
resource ids for the file is reduced from 500 to 200.
TextInputClient methods IsEditCommandEnabled and SetEditCommandForNextKeyEvent
are renamed to IsTextEditCommandEnabled and SetTextEditCommandForNextKeyEvent
respectively. Textfield::ExecuteEditCommand is renamed to
Textfield::ExecuteTextEditCommand.
This is a follow-up to crrev.com/2031433002 and is second in series of CLs to
replace resource ids with a ui::TextEditCommand enum for text editing commands
in views::Textfield.
Link to complete patch - http://crrev.com/2029733003
BUG= 586985
Committed: https://crrev.com/9f4772321729e25fa0ce1fe4248228be52bd28d3
Cr-Commit-Position: refs/heads/master@{#400921}
Total comments: 6
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+483 lines, -436 lines) |
Patch |
 |
M |
chrome/browser/ui/views/omnibox/omnibox_view_views.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+26 lines, -22 lines |
0 comments
|
Download
|
 |
M |
components/arc/ime/arc_ime_service.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/arc/ime/arc_ime_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/gritsettings/resource_ids
|
View
|
1
2
3
4
5
6
|
1 chunk |
+74 lines, -74 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/dummy_text_input_client.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/dummy_text_input_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
A |
ui/base/ime/text_edit_commands.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/text_input_client.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/ui_base_ime.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/strings/ui_strings.grd
|
View
|
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
 |
M |
ui/views/cocoa/bridged_content_view.mm
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+88 lines, -72 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/prefix_selector.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/prefix_selector.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/textfield/textfield.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/textfield/textfield.cc
|
View
|
1
2
3
4
5
6
7
8
|
16 chunks |
+205 lines, -165 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 51 (27 generated)
|