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

Issue 1684823004: Refactors keyboard related code so mash can use a keyboard (Closed)

Created:
4 years, 10 months ago by sky
Modified:
4 years, 10 months ago
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), ben+mojo_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactors keyboard related code so mash can use a keyboard This consists of the following: . Keyboard functionality as needed by mash is now in KeyboardUI. . KeyboardUI has a mus implementation that uses keyboard.mojom. . mojom::Keyboard is provided by chrome, but NOTIMPLEMENTED yet. . Added ChromeInterfaceFactory that is registered in ChromeBrowserMainChromeos (I'll move to an ash class later on). BUG=585253 TEST=none R=ben@chromium.org, sadrul@chromium.org Committed: https://crrev.com/fee520c1c2c91a2baca7d777bddd322f3e1854fc Cr-Commit-Position: refs/heads/master@{#374950}

Patch Set 1 #

Patch Set 2 : always compile mojo_shell #

Total comments: 6

Patch Set 3 : use factory #

Patch Set 4 : gn #

Total comments: 2

Patch Set 5 : bind shell #

Patch Set 6 : merge to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -25 lines) Patch
M ash/ash.gyp View 2 1 chunk +3 lines, -0 lines 0 comments Download
A ash/keyboard/keyboard_ui.h View 1 chunk +48 lines, -0 lines 0 comments Download
A ash/keyboard/keyboard_ui.cc View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
A ash/keyboard/keyboard_ui_observer.h View 1 chunk +24 lines, -0 lines 0 comments Download
M ash/mus/BUILD.gn View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
A ash/mus/keyboard_ui_mus.h View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A ash/mus/keyboard_ui_mus.cc View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M ash/mus/sysui_application.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 6 chunks +15 lines, -0 lines 0 comments Download
M ash/shell_init_params.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 5 chunks +8 lines, -14 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/chrome_interface_factory.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/chrome_interface_factory.cc View 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_keyboard_ui.h View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/ash/keyboard_ui_service.h View 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/keyboard_ui_service.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M ui/keyboard/BUILD.gn View 2 chunks +10 lines, -0 lines 0 comments Download
A ui/keyboard/keyboard.mojom View 1 chunk +25 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller.h View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
sky
4 years, 10 months ago (2016-02-10 23:02:42 UTC) #1
sadrul
Looks good. A couple of questions about slightly alternative approaches: https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc#newcode1056 ...
4 years, 10 months ago (2016-02-10 23:57:14 UTC) #2
sky
https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc#newcode1056 ash/shell.cc:1056: On 2016/02/10 23:57:14, sadrul wrote: > I wonder if ...
4 years, 10 months ago (2016-02-11 00:39:47 UTC) #3
sadrul
https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc#newcode1056 ash/shell.cc:1056: On 2016/02/11 00:39:47, sky wrote: > On 2016/02/10 23:57:14, ...
4 years, 10 months ago (2016-02-11 14:36:07 UTC) #4
sky
On 2016/02/11 14:36:07, sadrul wrote: > https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc > File ash/shell.cc (right): > > https://codereview.chromium.org/1684823004/diff/20001/ash/shell.cc#newcode1056 > ...
4 years, 10 months ago (2016-02-11 16:37:15 UTC) #5
Ben Goodger (Google)
lgtm
4 years, 10 months ago (2016-02-11 17:38:47 UTC) #6
sadrul
Cool! lgtm https://codereview.chromium.org/1684823004/diff/60001/ash/mus/sysui_application.cc File ash/mus/sysui_application.cc (right): https://codereview.chromium.org/1684823004/diff/60001/ash/mus/sysui_application.cc#newcode164 ash/mus/sysui_application.cc:164: init_params.keyboard_factory = base::Bind(&KeyboardUIMus::Create); Send |shell| with Bind ...
4 years, 10 months ago (2016-02-11 17:42:11 UTC) #7
sky
https://codereview.chromium.org/1684823004/diff/20001/mash/BUILD.gn File mash/BUILD.gn (right): https://codereview.chromium.org/1684823004/diff/20001/mash/BUILD.gn#newcode21 mash/BUILD.gn:21: } On 2016/02/10 23:57:14, sadrul wrote: > //mash/shell adds ...
4 years, 10 months ago (2016-02-11 18:00:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684823004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684823004/80001
4 years, 10 months ago (2016-02-11 18:04:08 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/114827) chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-02-11 18:08:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684823004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684823004/100001
4 years, 10 months ago (2016-02-11 18:23:28 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-11 19:57:56 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:36:59 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fee520c1c2c91a2baca7d777bddd322f3e1854fc
Cr-Commit-Position: refs/heads/master@{#374950}

Powered by Google App Engine
This is Rietveld 408576698