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

Issue 992323004: [Ozone] Fix disabling keyboard in maximized mode (Closed)

Created:
5 years, 9 months ago by pkotwicz
Modified:
5 years, 9 months ago
Reviewers:
spang
CC:
chromium-reviews, kalyank, tdresser+watch_chromium.org, jdduke+watch_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ozone] Fix disabling keyboard in maximized mode This CL: - Fixes EventConverterEvdev::SetAllowedKeys() to block disallowed keys - Dispatches a synthetic key release event for any blocked pressed keys when EventConverterEvdev::SetAllowedKeys() is called instead of waiting till the user releases the key. BUG=465611 TEST=EventConverterEvdevImplTest.* Committed: https://crrev.com/988070a509bbec03a4389a0d6a013ace1d765826 Cr-Commit-Position: refs/heads/master@{#320170}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -11 lines) Patch
M ui/events/ozone/evdev/event_converter_evdev_impl.h View 2 chunks +3 lines, -4 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.cc View 1 2 chunks +20 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc View 4 chunks +106 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
pkotwicz
spang@ PTAL I release the pressed keys when EventConverterEvdev::SetAllowedKeys() is called because - I think ...
5 years, 9 months ago (2015-03-11 00:20:34 UTC) #6
spang
On 2015/03/11 00:20:34, pkotwicz wrote: > spang@ PTAL > > I release the pressed keys ...
5 years, 9 months ago (2015-03-11 18:52:29 UTC) #7
pkotwicz
In EventConverterEvdevImpl::OnKeyChange(), "down && allowed_keys_ && allowed_keys_->count(key_code)" is wrong. It should be: "down && allowed_keys_ ...
5 years, 9 months ago (2015-03-11 19:17:18 UTC) #8
spang
On 2015/03/11 19:17:18, pkotwicz wrote: > In EventConverterEvdevImpl::OnKeyChange(), "down && allowed_keys_ && > allowed_keys_->count(key_code)" is ...
5 years, 9 months ago (2015-03-11 19:20:20 UTC) #9
spang
On 2015/03/11 19:20:20, spang wrote: > On 2015/03/11 19:17:18, pkotwicz wrote: > > In EventConverterEvdevImpl::OnKeyChange(), ...
5 years, 9 months ago (2015-03-11 19:30:46 UTC) #10
spang
https://codereview.chromium.org/992323004/diff/80001/ui/events/ozone/evdev/event_converter_evdev_impl.cc File ui/events/ozone/evdev/event_converter_evdev_impl.cc (right): https://codereview.chromium.org/992323004/diff/80001/ui/events/ozone/evdev/event_converter_evdev_impl.cc#newcode96 ui/events/ozone/evdev/event_converter_evdev_impl.cc:96: // Release keys immediately even if they are still ...
5 years, 9 months ago (2015-03-11 19:31:57 UTC) #11
pkotwicz
spang@, can you please take another look? I have completely removed the implementation of GestureInterpreterLibevdevCros::SetAllowedKeys() ...
5 years, 9 months ago (2015-03-11 21:23:40 UTC) #13
spang
lgtm
5 years, 9 months ago (2015-03-11 21:47:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/992323004/120001
5 years, 9 months ago (2015-03-11 21:58:04 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:120001)
5 years, 9 months ago (2015-03-11 22:31:32 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 22:32:28 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/988070a509bbec03a4389a0d6a013ace1d765826
Cr-Commit-Position: refs/heads/master@{#320170}

Powered by Google App Engine
This is Rietveld 408576698