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

Issue 20526005: Implement virtual keyboard hiding. (Closed)

Created:
7 years, 5 months ago by SteveT
Modified:
7 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, James Su, bshe, kevers
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement virtual keyboard hiding. This makes the keyboard button actually hide the keyboard. Note that we achieve this by exposing the hide keyboard functionality as an extension API. This is stubbed in for WebUI but is not yet implemented. Note that this leaves a known issue where tapping a text field, hiding a keyboard, and retapping that already-focused text field does not deploy the keyboard a second time (you'd have to unfocus the text field first). BUG=236925 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223308

Patch Set 1 : Init #

Total comments: 7

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : rename APIs and fix layout changing key #

Patch Set 5 : Remove OnPossiblyRefocus changes #

Total comments: 2

Patch Set 6 : bshe comments: fixed visibility variable #

Patch Set 7 : rebase #

Patch Set 8 : Change keyboard button back to change layouts. #

Patch Set 9 : rebase yet again #

Total comments: 2

Patch Set 10 : rebase and NOTREACHED #

Total comments: 4

Patch Set 11 : Histogram Update / NOTIMPL #

Patch Set 12 : rebase yet again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -15 lines) Patch
M ash/root_window_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/input/input.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/input/input.cc View 1 2 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/virtual_keyboard_private.json View 1 2 3 chunks +15 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download
ui/keyboard/keyboard_controller.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -7 lines 0 comments Download
M ui/keyboard/keyboard_ui_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_ui_handler.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -1 line 0 comments Download
M ui/keyboard/resources/api_adapter.js View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/keyboard/resources/webui/api_adapter.js View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
SteveT
Hey Bryan, Mind taking a look at this draft patch? It's a bit of a ...
7 years, 4 months ago (2013-07-31 03:19:18 UTC) #1
bryeung
At a high-level, this looks roughly okay (modulo the API namespace comment below). sadrul/nona can ...
7 years, 4 months ago (2013-08-02 17:26:39 UTC) #2
SteveT
Seigo, do you mind taking a look at the questions I had earlier regarding putting ...
7 years, 4 months ago (2013-08-06 18:31:34 UTC) #3
Seigo Nonaka
lgtm with one comment. https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2595 content/browser/renderer_host/render_widget_host_view_aura.cc:2595: Hmm, this might work for ...
7 years, 4 months ago (2013-08-07 08:41:18 UTC) #4
SteveT
Response for nona@. https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2595 content/browser/renderer_host/render_widget_host_view_aura.cc:2595: On 2013/08/07 08:41:18, Seigo Nonaka wrote: ...
7 years, 4 months ago (2013-08-07 12:26:38 UTC) #5
SteveT
Response for nona@. https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/20526005/diff/4001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2595 content/browser/renderer_host/render_widget_host_view_aura.cc:2595: On 2013/08/07 08:41:18, Seigo Nonaka wrote: ...
7 years, 4 months ago (2013-08-07 12:26:38 UTC) #6
SteveT
Dusting off this old thing. R+kevers, who has reviewed some similar changes recently. The biggest ...
7 years, 3 months ago (2013-09-09 18:40:41 UTC) #7
bshe
https://codereview.chromium.org/20526005/diff/27001/ui/keyboard/keyboard_controller.cc File ui/keyboard/keyboard_controller.cc (right): https://codereview.chromium.org/20526005/diff/27001/ui/keyboard/keyboard_controller.cc#newcode150 ui/keyboard/keyboard_controller.cc:150: void KeyboardController::HideKeyboard() { drive-by: probably need to update keyboard_visible_ ...
7 years, 3 months ago (2013-09-09 19:03:55 UTC) #8
SteveT
Back to you. PTAL. https://codereview.chromium.org/20526005/diff/27001/ui/keyboard/keyboard_controller.cc File ui/keyboard/keyboard_controller.cc (right): https://codereview.chromium.org/20526005/diff/27001/ui/keyboard/keyboard_controller.cc#newcode150 ui/keyboard/keyboard_controller.cc:150: void KeyboardController::HideKeyboard() { Done. PTAL ...
7 years, 3 months ago (2013-09-10 14:25:09 UTC) #9
kevers
lgtm
7 years, 3 months ago (2013-09-10 14:31:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/20526005/47001
7 years, 3 months ago (2013-09-11 13:20:39 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-11 13:20:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/20526005/55001
7 years, 3 months ago (2013-09-11 13:30:02 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=24889
7 years, 3 months ago (2013-09-11 13:44:44 UTC) #14
SteveT
Need some OWNERS reviews: bryeung@ for keyboard/ stuff (didn't actually get an approval earlier) sky@ ...
7 years, 3 months ago (2013-09-11 14:52:11 UTC) #15
sky
ash LGTM
7 years, 3 months ago (2013-09-11 16:30:17 UTC) #16
SteveT
R-bryeung,+sadrul Sadrul - could you take a look for OWNERS approval for all the keyboard/ ...
7 years, 3 months ago (2013-09-11 20:25:39 UTC) #17
sadrul
LGTM https://codereview.chromium.org/20526005/diff/55001/ui/keyboard/keyboard_ui_handler.cc File ui/keyboard/keyboard_ui_handler.cc (right): https://codereview.chromium.org/20526005/diff/55001/ui/keyboard/keyboard_ui_handler.cc#newcode134 ui/keyboard/keyboard_ui_handler.cc:134: // directly. Add a NOTIMPLEMENTED() here?
7 years, 3 months ago (2013-09-11 20:28:56 UTC) #18
SteveT
Thanks Sadrul - added the NOTREACHED as suggested and retested on WebUI to make sure ...
7 years, 3 months ago (2013-09-12 14:31:57 UTC) #19
kevers
https://codereview.chromium.org/20526005/diff/71001/chrome/browser/extensions/extension_function_histogram_value.h File chrome/browser/extensions/extension_function_histogram_value.h (right): https://codereview.chromium.org/20526005/diff/71001/chrome/browser/extensions/extension_function_histogram_value.h#newcode634 chrome/browser/extensions/extension_function_histogram_value.h:634: VIRTUALKEYBOARDPRIVATE_HIDEKEYBOARD, This enum should probably be in /tools/metrics/histograms/histograms.xml as ...
7 years, 3 months ago (2013-09-12 18:55:34 UTC) #20
sadrul
https://codereview.chromium.org/20526005/diff/71001/ui/keyboard/keyboard_ui_handler.cc File ui/keyboard/keyboard_ui_handler.cc (right): https://codereview.chromium.org/20526005/diff/71001/ui/keyboard/keyboard_ui_handler.cc#newcode135 ui/keyboard/keyboard_ui_handler.cc:135: NOTREACHED(); NOTIMPLEMENTED() I believe NOTREACHED() is fatal in debug ...
7 years, 3 months ago (2013-09-12 18:58:03 UTC) #21
SteveT
Alright, here we go. R+asvitkine: Hey Alexei, could you do an OWNERS review of histograms.xml? ...
7 years, 3 months ago (2013-09-13 01:45:28 UTC) #22
Matt Perry
lgtm
7 years, 3 months ago (2013-09-13 20:02:33 UTC) #23
SteveT
Oops, failed to R+asvitkine earlier. Could you take a look for histograms OWNERS approval, Alexei? ...
7 years, 3 months ago (2013-09-13 20:38:41 UTC) #24
Alexei Svitkine (slow)
histograms.xml lgtm
7 years, 3 months ago (2013-09-13 20:59:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/20526005/37001
7 years, 3 months ago (2013-09-15 21:47:37 UTC) #26
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 03:21:52 UTC) #27
Message was sent while issue was closed.
Change committed as 223308

Powered by Google App Engine
This is Rietveld 408576698