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

Issue 2058853002: Enable InputDeviceServer/InputDeviceClient in mash. (Closed)

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

Description

Enable InputDeviceServer/InputDeviceClient in mash. Remove the stub version of DeviceDataManager that is created in the browser and ash processes when running under mash. The stub version never has any input-device information because the real DeviceDataManager is in the mus process. Create InputDeviceClient inside ash and chrome which connects to mus and receives input-device updates via Mojo IPC. The mus process starts InputDeviceServer to listen for observers and update them when new input-device information is available. BUG=601981 Committed: https://crrev.com/523bf0ebab6ebdafb419e517666f14aa769bd429 Cr-Commit-Position: refs/heads/master@{#400746}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 4

Patch Set 3 : Fixes for comments. #

Total comments: 2

Patch Set 4 : Change namespace. #

Patch Set 5 : Rebase on fixed StructTraits. #

Patch Set 6 : Rebase. #

Patch Set 7 : Check for DDM existence. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -24 lines) Patch
M ash/sysui/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/sysui/sysui_application.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ash/sysui/sysui_application.cc View 1 2 3 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M components/mus/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/input_devices/input_device_server.h View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M components/mus/input_devices/input_device_server.cc View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M components/mus/manifest.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/mus_app.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M components/mus/mus_app.cc View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/window_manager_connection.h View 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/mus/window_manager_connection.cc View 1 2 3 4 chunks +1 line, -14 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
kylechar
Adding sadrul@ to check general correctness. Adding ben@ for OWNERS approval after sadrul@ signs off.
4 years, 6 months ago (2016-06-10 19:34:48 UTC) #2
sadrul
https://codereview.chromium.org/2058853002/diff/20001/ash/sysui/BUILD.gn File ash/sysui/BUILD.gn (right): https://codereview.chromium.org/2058853002/diff/20001/ash/sysui/BUILD.gn#newcode44 ash/sysui/BUILD.gn:44: "//components/mus/public/interfaces/input_devices", You shouldn't need to explicitly list this, since ...
4 years, 6 months ago (2016-06-13 15:31:06 UTC) #3
kylechar
https://codereview.chromium.org/2058853002/diff/20001/ash/sysui/BUILD.gn File ash/sysui/BUILD.gn (right): https://codereview.chromium.org/2058853002/diff/20001/ash/sysui/BUILD.gn#newcode44 ash/sysui/BUILD.gn:44: "//components/mus/public/interfaces/input_devices", On 2016/06/13 15:31:06, sadrul wrote: > You shouldn't ...
4 years, 6 months ago (2016-06-13 15:51:10 UTC) #4
sadrul
lgtm
4 years, 6 months ago (2016-06-13 16:55:32 UTC) #5
Ben Goodger (Google)
lgtm with nit that applies to other cl too https://codereview.chromium.org/2058853002/diff/40001/components/mus/manifest.json File components/mus/manifest.json (right): https://codereview.chromium.org/2058853002/diff/40001/components/mus/manifest.json#newcode10 components/mus/manifest.json:10: ...
4 years, 6 months ago (2016-06-15 17:17:47 UTC) #6
kylechar
https://codereview.chromium.org/2058853002/diff/40001/components/mus/manifest.json File components/mus/manifest.json (right): https://codereview.chromium.org/2058853002/diff/40001/components/mus/manifest.json#newcode10 components/mus/manifest.json:10: "input_device::mojom::InputDeviceServer", On 2016/06/15 17:17:46, Ben Goodger (Google) wrote: > ...
4 years, 6 months ago (2016-06-15 17:21:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058853002/60001
4 years, 6 months ago (2016-06-15 19:21:36 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/153377)
4 years, 6 months ago (2016-06-15 19:35:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058853002/120001
4 years, 6 months ago (2016-06-17 15:42:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/231366)
4 years, 6 months ago (2016-06-17 17:15:44 UTC) #18
kylechar
On 2016/06/17 17:15:44, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-17 18:33:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058853002/140001
4 years, 6 months ago (2016-06-20 13:35:23 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/230803)
4 years, 6 months ago (2016-06-20 14:46:44 UTC) #24
kylechar
On 2016/06/20 14:46:44, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-20 18:40:07 UTC) #25
kylechar
On 2016/06/20 14:46:44, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-20 18:40:09 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058853002/140001
4 years, 6 months ago (2016-06-20 18:40:38 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 6 months ago (2016-06-20 19:17:23 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 19:20:36 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/523bf0ebab6ebdafb419e517666f14aa769bd429
Cr-Commit-Position: refs/heads/master@{#400746}

Powered by Google App Engine
This is Rietveld 408576698