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

Issue 2034623002: Unify ui::TextEditCommand and ui::TextEditCommandAuraLinux::CommandId. (Closed)

Created:
4 years, 6 months ago by karandeepb
Modified:
4 years, 6 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, yusukes+watch_chromium.org, tdresser+watch_chromium.org, tfarina, shuchen+watch_chromium.org, nona+watch_chromium.org, James Su, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor7_correct_text_edit_command_aura_typo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unify ui::TextEditCommand and ui::TextEditCommandAuraLinux::CommandId. This CL unifies ui::TextEditCommand and ui::TextEditCommandAuraLinux::CommandId by modifying TextEditCommandAuraLinux to use ui::TextEditCommand. Several new enum values are added ui::TextEditCommand. Views::Textfield methods IsEditCommandEnabled and ExecuteEditCommand are modified to correctly handle the newly added enum values. This is a follow-up to crrev.com/2064053002 and is sixth 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/fbcc4e354fa9f3829638329d47b12849452be391 Cr-Commit-Position: refs/heads/master@{#401491}

Patch Set 1 : #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Forward declare. #

Patch Set 9 : #

Total comments: 18

Patch Set 10 : Rebase #

Patch Set 11 : Address nits. #

Patch Set 12 : Reorder enums in switch. #

Total comments: 8

Patch Set 13 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -418 lines) Patch
M chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +114 lines, -81 lines 0 comments Download
M ui/base/ime/linux/text_edit_command_auralinux.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -51 lines 0 comments Download
M ui/base/ime/linux/text_edit_command_auralinux.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +113 lines, -107 lines 0 comments Download
M ui/base/ime/text_edit_commands.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -13 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +133 lines, -163 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 42 (27 generated)
karandeepb
PTAL msw@ for ui/views/controls/ and chrome/browser/ review. The patch is not completely done yet. For ...
4 years, 6 months ago (2016-06-09 11:01:23 UTC) #17
msw
mostly lg; just nits. https://codereview.chromium.org/2034623002/diff/400001/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc File chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc (right): https://codereview.chromium.org/2034623002/diff/400001/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc#newcode286 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc:286: if (str && *str) nit: ...
4 years, 6 months ago (2016-06-10 01:33:23 UTC) #19
karandeepb
PTAL msw@. Thanks. https://codereview.chromium.org/2034623002/diff/400001/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc File chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc (right): https://codereview.chromium.org/2034623002/diff/400001/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc#newcode286 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc:286: if (str && *str) On 2016/06/10 ...
4 years, 6 months ago (2016-06-15 08:13:35 UTC) #25
msw
lgtm
4 years, 6 months ago (2016-06-15 17:35:07 UTC) #26
karandeepb
+sky for ui/base review.
4 years, 6 months ago (2016-06-16 00:04:05 UTC) #28
sky
https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc File ui/base/ime/linux/text_edit_command_auralinux.cc (right): https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc#newcode13 ui/base/ime/linux/text_edit_command_auralinux.cc:13: // third_party/WebKit/public/platform/WebEditingCommandType.h. Do we have a test that verifies ...
4 years, 6 months ago (2016-06-16 16:54:09 UTC) #29
karandeepb
PTAL sky@. https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc File ui/base/ime/linux/text_edit_command_auralinux.cc (right): https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc#newcode13 ui/base/ime/linux/text_edit_command_auralinux.cc:13: // third_party/WebKit/public/platform/WebEditingCommandType.h. On 2016/06/16 16:54:09, sky wrote: ...
4 years, 6 months ago (2016-06-17 07:54:14 UTC) #30
sky
LGTM https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc File ui/base/ime/linux/text_edit_command_auralinux.cc (right): https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc#newcode13 ui/base/ime/linux/text_edit_command_auralinux.cc:13: // third_party/WebKit/public/platform/WebEditingCommandType.h. On 2016/06/17 07:54:14, karandeepb wrote: > ...
4 years, 6 months ago (2016-06-17 15:09:06 UTC) #31
karandeepb
https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc File ui/base/ime/linux/text_edit_command_auralinux.cc (right): https://codereview.chromium.org/2034623002/diff/540001/ui/base/ime/linux/text_edit_command_auralinux.cc#newcode13 ui/base/ime/linux/text_edit_command_auralinux.cc:13: // third_party/WebKit/public/platform/WebEditingCommandType.h. On 2016/06/17 15:09:05, sky wrote: > On ...
4 years, 6 months ago (2016-06-20 07:16:16 UTC) #32
sky
Not even for a test? Seems like there should be somewhere you could expose the ...
4 years, 6 months ago (2016-06-20 15:07:26 UTC) #33
karandeepb
On 2016/06/20 15:07:26, sky wrote: > Not even for a test? Seems like there should ...
4 years, 6 months ago (2016-06-22 07:14:06 UTC) #34
sky
Certainly. Land this now. -Scott On Wed, Jun 22, 2016 at 12:14 AM, <karandeepb@chromium.org> wrote: ...
4 years, 6 months ago (2016-06-22 15:33:08 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034623002/560001
4 years, 6 months ago (2016-06-22 23:48:32 UTC) #38
commit-bot: I haz the power
Committed patchset #13 (id:560001)
4 years, 6 months ago (2016-06-23 01:04:31 UTC) #40
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 01:09:30 UTC) #42
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/fbcc4e354fa9f3829638329d47b12849452be391
Cr-Commit-Position: refs/heads/master@{#401491}

Powered by Google App Engine
This is Rietveld 408576698