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

Issue 2580733002: AppShell: Create input method and handle key events (Closed)

Created:
4 years ago by michaelpg
Modified:
4 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

AppShell: Create input method and handle key events Create an input method and an event handler to dispatch key events on the input method. Aura gives us raw key up/down events, but text input requires an input method ("IME"). This also enables the keypress event to be sent to the renderer. BUG=675413 R=steel@chromium.org Committed: https://crrev.com/81c91f8fcdd5f0321d80de3795e97e62e12eced8 Cr-Commit-Position: refs/heads/master@{#439363}

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback #

Patch Set 3 : rebase #

Total comments: 3

Patch Set 4 : Input method test #

Patch Set 5 : fix comment #

Total comments: 6

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -6 lines) Patch
M extensions/shell/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A extensions/shell/browser/input_method_event_handler.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A extensions/shell/browser/input_method_event_handler.cc View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.h View 1 2 3 4 5 5 chunks +14 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.cc View 1 2 3 4 5 6 chunks +34 lines, -3 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura_unittest.cc View 1 2 3 4 5 4 chunks +39 lines, -1 line 0 comments Download

Messages

Total messages: 30 (16 generated)
michaelpg
PTAL. Not a ton of code, but it took me all day to find which ...
4 years ago (2016-12-15 05:57:26 UTC) #1
Rahul Chaturvedi
(lgtm % nits) but please have an aura reviewer look at it before you land. ...
4 years ago (2016-12-15 22:42:46 UTC) #2
michaelpg
James, do you mind taking a look?
4 years ago (2016-12-15 23:33:46 UTC) #4
michaelpg
Actually, shuchen, you may as well look at this too, just to make sure I'm ...
4 years ago (2016-12-15 23:37:21 UTC) #6
michaelpg
Updated for rkc's feedback. https://codereview.chromium.org/2580733002/diff/1/extensions/shell/browser/input_method_event_handler.h File extensions/shell/browser/input_method_event_handler.h (right): https://codereview.chromium.org/2580733002/diff/1/extensions/shell/browser/input_method_event_handler.h#newcode24 extensions/shell/browser/input_method_event_handler.h:24: // True when an event ...
4 years ago (2016-12-15 23:55:53 UTC) #7
James Cook
I can take a look at this tomorrow morning, but I'm not super-familiar with event ...
4 years ago (2016-12-16 00:24:38 UTC) #8
James Cook
Code looks fine. Is it possible to add some test coverage for keyboard events to ...
4 years ago (2016-12-16 19:00:50 UTC) #9
michaelpg
On 2016/12/16 19:00:50, James Cook wrote: > Code looks fine. Is it possible to add ...
4 years ago (2016-12-17 03:07:46 UTC) #12
James Cook
LGTM with nits. Thanks for adding the test. https://codereview.chromium.org/2580733002/diff/120001/extensions/shell/browser/shell_desktop_controller_aura.cc File extensions/shell/browser/shell_desktop_controller_aura.cc (right): https://codereview.chromium.org/2580733002/diff/120001/extensions/shell/browser/shell_desktop_controller_aura.cc#newcode383 extensions/shell/browser/shell_desktop_controller_aura.cc:383: display::Screen::SetScreenInstance(nullptr); ...
4 years ago (2016-12-17 18:24:42 UTC) #17
michaelpg
Thanks! https://codereview.chromium.org/2580733002/diff/120001/extensions/shell/browser/shell_desktop_controller_aura.cc File extensions/shell/browser/shell_desktop_controller_aura.cc (right): https://codereview.chromium.org/2580733002/diff/120001/extensions/shell/browser/shell_desktop_controller_aura.cc#newcode383 extensions/shell/browser/shell_desktop_controller_aura.cc:383: display::Screen::SetScreenInstance(nullptr); On 2016/12/17 18:24:41, James Cook wrote: > ...
4 years ago (2016-12-18 01:46:10 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2580733002/140001
4 years ago (2016-12-18 01:46:27 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2580733002/140001
4 years ago (2016-12-18 01:46:57 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years ago (2016-12-18 02:50:54 UTC) #28
commit-bot: I haz the power
4 years ago (2016-12-18 02:53:10 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/81c91f8fcdd5f0321d80de3795e97e62e12eced8
Cr-Commit-Position: refs/heads/master@{#439363}

Powered by Google App Engine
This is Rietveld 408576698