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

Issue 1325333002: Ignore inserting character with Search as a modifier on ChromeOS (Closed)

Created:
5 years, 3 months ago by afakhry
Modified:
5 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tdresser+watch_chromium.org, tfarina, jam, nona+watch_chromium.org, darin-cc_chromium.org, shuchen+watch_chromium.org, James Su, jdduke+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore inserting character with Search as a modifier on ChromeOS We want to treat the Search key on ChromeOS as a modifier like Alt and Ctrl, so that pressing Search+<key> doesn't result in a character in a textfield or WebContents. R=oshima@chromium.org BUG=471488 TEST=views_unittests --gtest_filter=TextfieldTest.KeysWithModifiersTest Committed: https://crrev.com/8518ee7bce034068a4c9a398e3865d0327fb14ee Cr-Commit-Position: refs/heads/master@{#347514}

Patch Set 1 #

Total comments: 4

Patch Set 2 : oshima's comments #

Total comments: 4

Patch Set 3 : kpschoedel's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -20 lines) Patch
M content/browser/renderer_host/native_web_keyboard_event_aura.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/events/base_event_utils.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/base_event_utils.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 2 chunks +5 lines, -8 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 3 chunks +46 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
afakhry
Here's an alternative solution to the one presented in the former CL there: https://codereview.chromium.org/1221083008/. In ...
5 years, 3 months ago (2015-09-04 16:43:36 UTC) #2
oshima
this looks reasonable to me. kpschoedel@, what do you think? https://codereview.chromium.org/1325333002/diff/1/ui/events/base_event_utils.cc File ui/events/base_event_utils.cc (right): https://codereview.chromium.org/1325333002/diff/1/ui/events/base_event_utils.cc#newcode40 ...
5 years, 3 months ago (2015-09-04 17:05:28 UTC) #3
afakhry
https://codereview.chromium.org/1325333002/diff/1/ui/events/base_event_utils.cc File ui/events/base_event_utils.cc (right): https://codereview.chromium.org/1325333002/diff/1/ui/events/base_event_utils.cc#newcode40 ui/events/base_event_utils.cc:40: return (kModifierMask & flags) != 0; On 2015/09/04 17:05:28, ...
5 years, 3 months ago (2015-09-04 17:26:03 UTC) #4
kpschoedel
Looks fine, with comments. (I don't own any of these files.) https://codereview.chromium.org/1325333002/diff/20001/ui/events/base_event_utils.cc File ui/events/base_event_utils.cc (right): ...
5 years, 3 months ago (2015-09-04 18:06:13 UTC) #5
afakhry
https://codereview.chromium.org/1325333002/diff/20001/ui/events/base_event_utils.cc File ui/events/base_event_utils.cc (right): https://codereview.chromium.org/1325333002/diff/20001/ui/events/base_event_utils.cc#newcode16 ui/events/base_event_utils.cc:16: const int kModifierMask = EF_ALT_DOWN | EF_COMMAND_DOWN; On 2015/09/04 ...
5 years, 3 months ago (2015-09-04 18:26:36 UTC) #6
afakhry
avi@chromium.org: Could you please review these files: content/browser/renderer_host/native_web_keyboard_event_aura.cc ui/events/base_event_utils.h ui/events/base_event_utils.cc ? Thanks!
5 years, 3 months ago (2015-09-04 18:51:48 UTC) #8
Avi (use Gerrit)
LGTM
5 years, 3 months ago (2015-09-04 20:03:16 UTC) #9
oshima
lgtm
5 years, 3 months ago (2015-09-04 21:48:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325333002/40001
5 years, 3 months ago (2015-09-04 21:50:37 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-04 22:50:10 UTC) #13
commit-bot: I haz the power
5 years, 3 months ago (2015-09-04 22:50:46 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8518ee7bce034068a4c9a398e3865d0327fb14ee
Cr-Commit-Position: refs/heads/master@{#347514}

Powered by Google App Engine
This is Rietveld 408576698