New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632049 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 632050



Sign in to add a comment

WindowManagerClient::AddAccelerator() should take an array

Project Member Reported by sky@chromium.org, Jul 27 2016

Issue description

During ash startup we register a slew of accelerators. As WMC::AddAccelerator() takes a single accelerator this means we have a fair amount of IPC traffic. It should take an array so that we can batch them up.
 

Comment 1 by sky@chromium.org, Jul 27 2016

Labels: -mash -mash-wm

Comment 2 by sky@chromium.org, Jul 27 2016

Blocking: 632050
Owner: sadrul@chromium.org
Labels: Proj-Mustash
Components: Internals>MUS
Owner: thanhph@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 10 by bugdroid1@chromium.org, Dec 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/62cbfb83c3ad3a8244d063d297a81fe6d9a32866

commit 62cbfb83c3ad3a8244d063d297a81fe6d9a32866
Author: thanhph <thanhph@chromium.org>
Date: Sat Dec 03 01:08:03 2016

WindowManagerClient::AddAccelerator() should take an array.

To reduce IPC calls between window_tree_client.cc and window_tree.cc.

BUG= 632049 

Review-Url: https://codereview.chromium.org/2520093003
Cr-Commit-Position: refs/heads/master@{#436115}

[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/ash/mus/accelerators/accelerator_controller_registrar.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/ash/mus/window_manager.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/ash/mus/window_manager_application.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/common/BUILD.gn
[rename] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/common/accelerator_util.cc
[add] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/common/accelerator_util.h
[delete] https://crrev.com/fe53f360120731ef49a48a314f843694e40a8659/services/ui/common/event_matcher_util.h
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/public/cpp/window_manager_delegate.h
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/public/cpp/window_tree_client.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/public/cpp/window_tree_client.h
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/public/interfaces/window_manager.mojom
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/event_dispatcher.h
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/event_dispatcher_unittest.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/window_manager_state.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/window_manager_state_unittest.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/window_tree.cc
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/services/ui/ws/window_tree.h
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/ui/aura/mus/DEPS
[modify] https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866/ui/aura/mus/window_tree_client.cc

Also change aura mus to take AddAccelerators instead of AddAccelerator in this following up patch.

https://bugs.chromium.org/p/chromium/issues/detail?id=671229
Status: Fixed (was: Assigned)

Comment 14 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 15 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 16 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 18 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)
Components: -Internals>MUS Internals>Services>WindowService
Components: -MUS

Sign in to add a comment