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

Issue 20145004: Switch from text insertion to key press and release events on the virtual k… (Closed)

Created:
7 years, 5 months ago by kevers
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Switch from text insertion to key press and release events on the virtual keyboard. First step in integration the virtual keyboard with IMEs. BUG=257093, 257098 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221393

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Formatting. #

Total comments: 8

Patch Set 4 : Address reviewer feedback. #

Patch Set 5 : Refactor to use KeyboardEvent. #

Patch Set 6 : Fix webui implementation. #

Patch Set 7 : Code cleanup. #

Total comments: 11

Patch Set 8 : Fix nits. #

Patch Set 9 : Merge with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -62 lines) Patch
M chrome/browser/extensions/api/input/input.h View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/input/input.cc View 1 2 3 4 5 2 chunks +31 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/virtual_keyboard_private.json View 1 2 3 4 5 2 chunks +29 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/keyboard_ui_handler.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_ui_handler.cc View 1 2 3 4 5 6 2 chunks +38 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_util.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download
M ui/keyboard/keyboard_util.cc View 1 2 3 4 5 6 3 chunks +42 lines, -22 lines 0 comments Download
M ui/keyboard/resources/api_adapter.js View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M ui/keyboard/resources/elements/kb-key.html View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -1 line 0 comments Download
M ui/keyboard/resources/elements/kb-key-base.html View 1 2 3 4 3 chunks +10 lines, -9 lines 0 comments Download
M ui/keyboard/resources/elements/kb-key-codes.html View 1 2 3 4 5 6 7 2 chunks +27 lines, -19 lines 0 comments Download
M ui/keyboard/resources/elements/kb-keyboard.html View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -3 lines 0 comments Download
M ui/keyboard/resources/webui/api_adapter.js View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
kevers
Hi Biao, Can you please take a look at this CL.
7 years, 5 months ago (2013-07-25 07:32:56 UTC) #1
bshe
On 2013/07/25 07:32:56, kevers wrote: > Hi Biao, > > Can you please take a ...
7 years, 5 months ago (2013-07-25 15:32:10 UTC) #2
bshe
sorry. comments weren't included last time. https://codereview.chromium.org/20145004/diff/4002/chrome/common/extensions/api/experimental_input_virtual_keyboard.json File chrome/common/extensions/api/experimental_input_virtual_keyboard.json (right): https://codereview.chromium.org/20145004/diff/4002/chrome/common/extensions/api/experimental_input_virtual_keyboard.json#newcode32 chrome/common/extensions/api/experimental_input_virtual_keyboard.json:32: { "name": "type", ...
7 years, 5 months ago (2013-07-25 15:33:05 UTC) #3
kevers
https://codereview.chromium.org/20145004/diff/4002/chrome/common/extensions/api/experimental_input_virtual_keyboard.json File chrome/common/extensions/api/experimental_input_virtual_keyboard.json (right): https://codereview.chromium.org/20145004/diff/4002/chrome/common/extensions/api/experimental_input_virtual_keyboard.json#newcode32 chrome/common/extensions/api/experimental_input_virtual_keyboard.json:32: { "name": "type", On 2013/07/25 15:33:05, bshe wrote: > ...
7 years, 5 months ago (2013-07-26 00:53:30 UTC) #4
kevers
+bryeung for ui/keyboard OWNERS +asvitkine for tools/metrics OWNERS +mpcomplete for chrome/browser/extensions OWNERS
7 years, 5 months ago (2013-07-26 00:58:19 UTC) #5
Alexei Svitkine (slow)
histograms.xml lgtm
7 years, 5 months ago (2013-07-26 02:07:56 UTC) #6
Matt Perry
Is this the Ash re-implementation mentioned in https://code.google.com/p/chromium/issues/detail?id=128295 ? If you're going to be adding ...
7 years, 4 months ago (2013-07-26 18:30:35 UTC) #7
Matt Perry
Implementation LGTM. Please also make sure to go through API review: http://go/newchromeapi
7 years, 4 months ago (2013-07-26 18:31:23 UTC) #8
kevers
On 2013/07/26 18:30:35, Matt Perry wrote: > Is this the Ash re-implementation mentioned in > ...
7 years, 4 months ago (2013-07-29 04:24:14 UTC) #9
kevers
This CL is currently on hold pending removal of the experimental namespace.
7 years, 3 months ago (2013-08-28 15:41:32 UTC) #10
kevers
Ready for (re)review. mpcomplete, can you please do a sanity check on the extension API. ...
7 years, 3 months ago (2013-09-03 22:21:21 UTC) #11
Matt Perry
lgtm https://chromiumcodereview.appspot.com/20145004/diff/29001/chrome/browser/extensions/api/input/input.cc File chrome/browser/extensions/api/input/input.cc (right): https://chromiumcodereview.appspot.com/20145004/diff/29001/chrome/browser/extensions/api/input/input.cc#newcode72 chrome/browser/extensions/api/input/input.cc:72: EXTENSION_FUNCTION_VALIDATE(params->GetBoolean("shiftKey", &shift_modifier)); If you use the json schema ...
7 years, 3 months ago (2013-09-03 22:33:32 UTC) #12
sadrul
https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc File ui/keyboard/keyboard_ui_handler.cc (right): https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc#newcode32 ui/keyboard/keyboard_ui_handler.cc:32: "insertText", Is 'insertText' used anymore? If both 'insertText' and ...
7 years, 3 months ago (2013-09-03 22:43:43 UTC) #13
bshe
lgtm https://chromiumcodereview.appspot.com/20145004/diff/29001/ui/keyboard/resources/elements/kb-key-codes.html File ui/keyboard/resources/elements/kb-key-codes.html (right): https://chromiumcodereview.appspot.com/20145004/diff/29001/ui/keyboard/resources/elements/kb-key-codes.html#newcode151 ui/keyboard/resources/elements/kb-key-codes.html:151: */ function names should start with a lower ...
7 years, 3 months ago (2013-09-03 23:18:11 UTC) #14
kevers
https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc File ui/keyboard/keyboard_ui_handler.cc (right): https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc#newcode32 ui/keyboard/keyboard_ui_handler.cc:32: "insertText", On 2013/09/03 22:43:43, sadrul wrote: > Is 'insertText' ...
7 years, 3 months ago (2013-09-04 13:51:20 UTC) #15
sadrul
ui/keyboard/ LGTM https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc File ui/keyboard/keyboard_ui_handler.cc (right): https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_ui_handler.cc#newcode32 ui/keyboard/keyboard_ui_handler.cc:32: "insertText", On 2013/09/04 13:51:20, kevers wrote: > ...
7 years, 3 months ago (2013-09-04 15:44:53 UTC) #16
kevers
https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_util.h File ui/keyboard/keyboard_util.h (right): https://codereview.chromium.org/20145004/diff/29001/ui/keyboard/keyboard_util.h#newcode46 ui/keyboard/keyboard_util.h:46: // value, and {shift_modifier| indicates if the shift key ...
7 years, 3 months ago (2013-09-04 18:01:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/20145004/45001
7 years, 3 months ago (2013-09-04 18:01:52 UTC) #18
commit-bot: I haz the power
Failed to apply patch for ui/keyboard/resources/elements/kb-key.html: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-04 18:02:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/20145004/50001
7 years, 3 months ago (2013-09-04 18:22:02 UTC) #20
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-04 18:26:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/20145004/50001
7 years, 3 months ago (2013-09-04 18:54:25 UTC) #22
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=75637
7 years, 3 months ago (2013-09-05 08:19:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/20145004/50001
7 years, 3 months ago (2013-09-05 11:34:24 UTC) #24
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 13:04:17 UTC) #25
Message was sent while issue was closed.
Change committed as 221393

Powered by Google App Engine
This is Rietveld 408576698