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

Issue 2520093003: WindowManagerClient::AddAccelerator() should take an array (Closed)

Created:
4 years ago by thanhph
Modified:
4 years ago
Reviewers:
Tom Sepez, mfomitchev, sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WindowManagerClient::AddAccelerator() should take an array. To reduce IPC calls between window_tree_client.cc and window_tree.cc. BUG=632049 Committed: https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866 Cr-Commit-Position: refs/heads/master@{#436115}

Patch Set 1 #

Patch Set 2 : Combine two arguments of Accelerator in a struct. #

Patch Set 3 : Fix unittests to be compatible with the struct declaration. #

Patch Set 4 : Use array for AddAccelerators. #

Patch Set 5 : run cl format #

Patch Set 6 : Fix unittest to use array of accelerators. #

Patch Set 7 : Forget to add these files to previous patch. #

Total comments: 18

Patch Set 8 : Cleanup/Update format. #

Patch Set 9 : mojo::Array has changed to std::vector due to this yesterday https://codereview.chromium.org/251188… #

Patch Set 10 : Change ui/aura/mus/window_tree_client.cc for the same above reason. #

Patch Set 11 : Change mojo::Array to std::vector. #

Patch Set 12 : Edit/format function/names. Add all accelerators in the array instead of first sucessfully added no… #

Patch Set 13 : Create anonymous namespace helper for AcceleratorTransport mojom struct. Cleanup/format codes. #

Total comments: 14

Patch Set 14 : Modify helper to return vector and leverage helper in other files.Rename/format code. #

Total comments: 20

Patch Set 15 : Rename/refactor code. Add unit test for multiple accelerators. #

Total comments: 17

Patch Set 16 : Refactor code, reduce code size, change namespace. #

Total comments: 6

Patch Set 17 : Add CreateAcceleratorTransport and rename helper to CreateAcceleratorVector. Add one more test case… #

Total comments: 18

Patch Set 18 : Add/Update comments. Improve duplication accelerator test. #

Total comments: 2

Patch Set 19 : Rename AcceleratorTransport to Accelerator, CreateAcceleratorTransport to CreateAccelerator. #

Patch Set 20 : Search/Replace to transport in accelerator_transport. #

Total comments: 2

Patch Set 21 : Modify test to cover more cases. Edit comments. #

Patch Set 22 : Adding 1 test that has two unique and one duped accelerators. #

Total comments: 27

Patch Set 23 : Refactor codes, edit comments. #

Patch Set 24 : Re-upload due to build.gn conflict. #

Total comments: 4

Patch Set 25 : Improve comments. #

Total comments: 10

Patch Set 26 : Modify comments, use MakeUnique. #

Patch Set 27 : Use AddAccelerator() in AddAccelerators(). #

Total comments: 2

Patch Set 28 : Add comment. #

Total comments: 2

Patch Set 29 : Leave unit test EventDispatcherTest.AddMultipleAccelerators out for next bug 632050. Remove functio… #

Total comments: 2

Patch Set 30 : Use std::move instead of Clone() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -93 lines) Patch
M ash/mus/accelerators/accelerator_controller_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +10 lines, -6 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M services/ui/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -2 lines 0 comments Download
A services/ui/common/accelerator_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +32 lines, -0 lines 0 comments Download
A + services/ui/common/accelerator_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +19 lines, -3 lines 0 comments Download
D services/ui/common/event_matcher_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -21 lines 0 comments Download
D services/ui/common/event_matcher_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -28 lines 0 comments Download
M services/ui/public/cpp/window_manager_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -4 lines 0 comments Download
M services/ui/public/cpp/window_tree_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M services/ui/public/cpp/window_tree_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -5 lines 0 comments Download
M services/ui/public/interfaces/window_manager.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +10 lines, -4 lines 0 comments Download
M services/ui/ws/event_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -1 line 0 comments Download
M services/ui/ws/event_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_manager_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_manager_state_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -1 line 0 comments Download
M services/ui/ws/window_tree.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -3 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +10 lines, -6 lines 0 comments Download
M ui/aura/mus/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 154 (93 generated)
thanhph
Hi Mikhail, I need to change several files (existing unit tests and other related depending ...
4 years ago (2016-11-22 21:33:20 UTC) #28
thanhph
4 years ago (2016-11-22 21:33:56 UTC) #30
mfomitchev
https://codereview.chromium.org/2520093003/diff/120001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/120001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode128 ash/mus/accelerators/accelerator_controller_registrar.cc:128: ui::mojom::AcceleratorEventPtr accelerator_pre_event( This doesn't make much sense. You are ...
4 years ago (2016-11-22 22:44:16 UTC) #33
mfomitchev
https://codereview.chromium.org/2520093003/diff/120001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/120001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode128 ash/mus/accelerators/accelerator_controller_registrar.cc:128: ui::mojom::AcceleratorEventPtr accelerator_pre_event( On 2016/11/22 22:44:16, mfomitchev wrote: > This ...
4 years ago (2016-11-22 23:07:13 UTC) #34
thanhph
Thanks Mikhail. Commit bots were mostly happy. Please review my new cl. While adding multiple ...
4 years ago (2016-11-24 16:10:13 UTC) #53
thanhph
On 2016/11/24 16:10:13, thanhph wrote: > Thanks Mikhail. Commit bots were mostly happy. Please review ...
4 years ago (2016-11-24 16:21:32 UTC) #58
mfomitchev
https://codereview.chromium.org/2520093003/diff/230001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/230001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode21 ash/mus/accelerators/accelerator_controller_registrar.cc:21: namespace { Just use the existing anonymous namespace in ...
4 years ago (2016-11-24 19:56:14 UTC) #59
mfomitchev
https://codereview.chromium.org/2520093003/diff/230001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/230001/services/ui/ws/event_dispatcher_unittest.cc#newcode389 services/ui/ws/event_dispatcher_unittest.cc:389: ui::mojom::AcceleratorTransportPtr accelerator_transport( Try to get rid of the duplicated ...
4 years ago (2016-11-24 21:21:04 UTC) #60
thanhph
https://codereview.chromium.org/2520093003/diff/230001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/230001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode21 ash/mus/accelerators/accelerator_controller_registrar.cc:21: namespace { On 2016/11/24 19:56:13, mfomitchev wrote: > Just ...
4 years ago (2016-11-29 00:08:29 UTC) #61
mfomitchev
https://codereview.chromium.org/2520093003/diff/250001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/250001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode132 ash/mus/accelerators/accelerator_controller_registrar.cc:132: AddAcceleratorHelper(std::move(pre_accelerators), You are never passing a non-empty vector to ...
4 years ago (2016-11-29 01:55:46 UTC) #62
thanhph
https://codereview.chromium.org/2520093003/diff/250001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/250001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode132 ash/mus/accelerators/accelerator_controller_registrar.cc:132: AddAcceleratorHelper(std::move(pre_accelerators), On 2016/11/29 01:55:45, mfomitchev wrote: > You are ...
4 years ago (2016-11-29 16:50:17 UTC) #65
mfomitchev
https://codereview.chromium.org/2520093003/diff/270001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/270001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: std::vector<ui::mojom::AcceleratorTransportPtr> pre_accelerators; Don't declare the variable on a separate ...
4 years ago (2016-11-29 17:37:27 UTC) #66
mfomitchev
https://codereview.chromium.org/2520093003/diff/270001/services/ui/common/accelerator_util.h File services/ui/common/accelerator_util.h (right): https://codereview.chromium.org/2520093003/diff/270001/services/ui/common/accelerator_util.h#newcode34 services/ui/common/accelerator_util.h:34: #endif // SERVICES_UI_COMMON_ACCELERATOR_TRANSPORT_UTIL_H_ update comment https://codereview.chromium.org/2520093003/diff/270001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): ...
4 years ago (2016-11-29 18:23:15 UTC) #67
thanhph
https://codereview.chromium.org/2520093003/diff/270001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/270001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: std::vector<ui::mojom::AcceleratorTransportPtr> pre_accelerators; On 2016/11/29 17:37:26, mfomitchev wrote: > Don't ...
4 years ago (2016-11-29 19:06:42 UTC) #68
mfomitchev
https://codereview.chromium.org/2520093003/diff/270001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/270001/services/ui/ws/event_dispatcher_unittest.cc#newcode449 services/ui/ws/event_dispatcher_unittest.cc:449: std::vector<ui::mojom::AcceleratorTransportPtr> accelerators_1; On 2016/11/29 19:06:41, thanhph wrote: > On ...
4 years ago (2016-11-29 19:21:19 UTC) #69
thanhph
https://codereview.chromium.org/2520093003/diff/270001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/270001/services/ui/ws/event_dispatcher_unittest.cc#newcode449 services/ui/ws/event_dispatcher_unittest.cc:449: std::vector<ui::mojom::AcceleratorTransportPtr> accelerators_1; On 2016/11/29 19:21:19, mfomitchev wrote: > On ...
4 years ago (2016-11-29 20:36:45 UTC) #70
thanhph
https://codereview.chromium.org/2520093003/diff/290001/services/ui/common/accelerator_util.h File services/ui/common/accelerator_util.h (right): https://codereview.chromium.org/2520093003/diff/290001/services/ui/common/accelerator_util.h#newcode22 services/ui/common/accelerator_util.h:22: std::vector<ui::mojom::AcceleratorTransportPtr> AddAcceleratorHelper( On 2016/11/29 19:21:19, mfomitchev wrote: > Call ...
4 years ago (2016-11-29 20:40:48 UTC) #71
mfomitchev
https://codereview.chromium.org/2520093003/diff/310001/services/ui/common/accelerator_util.h File services/ui/common/accelerator_util.h (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/common/accelerator_util.h#newcode21 services/ui/common/accelerator_util.h:21: // to an empty |accelerators| vector. comment needs updating ...
4 years ago (2016-11-29 23:27:41 UTC) #72
thanhph
https://codereview.chromium.org/2520093003/diff/310001/services/ui/common/accelerator_util.h File services/ui/common/accelerator_util.h (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/common/accelerator_util.h#newcode21 services/ui/common/accelerator_util.h:21: // to an empty |accelerators| vector. On 2016/11/29 23:27:41, ...
4 years ago (2016-11-30 01:31:20 UTC) #73
mfomitchev
https://codereview.chromium.org/2520093003/diff/310001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/public/interfaces/window_manager.mojom#newcode141 services/ui/public/interfaces/window_manager.mojom:141: struct AcceleratorTransport{ On 2016/11/30 01:31:20, thanhph wrote: > On ...
4 years ago (2016-11-30 02:33:05 UTC) #74
thanhph
https://codereview.chromium.org/2520093003/diff/310001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/public/interfaces/window_manager.mojom#newcode141 services/ui/public/interfaces/window_manager.mojom:141: struct AcceleratorTransport{ On 2016/11/30 02:33:04, mfomitchev wrote: > On ...
4 years ago (2016-11-30 14:24:51 UTC) #75
mfomitchev
https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc#newcode455 services/ui/ws/event_dispatcher_unittest.cc:455: matcher = ui::CreateKeyMatcher(ui::mojom::KeyboardCode::W, I am not suggesting a refactor. ...
4 years ago (2016-11-30 17:58:40 UTC) #76
thanhph
https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc#newcode455 services/ui/ws/event_dispatcher_unittest.cc:455: matcher = ui::CreateKeyMatcher(ui::mojom::KeyboardCode::W, On 2016/11/30 17:58:40, mfomitchev wrote: > ...
4 years ago (2016-11-30 23:35:14 UTC) #77
mfomitchev
https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc#newcode455 services/ui/ws/event_dispatcher_unittest.cc:455: matcher = ui::CreateKeyMatcher(ui::mojom::KeyboardCode::W, On 2016/11/30 23:35:13, thanhph wrote: > ...
4 years ago (2016-12-01 03:58:07 UTC) #82
thanhph
https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2520093003/diff/310001/services/ui/ws/event_dispatcher_unittest.cc#newcode455 services/ui/ws/event_dispatcher_unittest.cc:455: matcher = ui::CreateKeyMatcher(ui::mojom::KeyboardCode::W, On 2016/12/01 03:58:07, mfomitchev wrote: > ...
4 years ago (2016-12-01 15:00:54 UTC) #83
mfomitchev
Nice! Almost there, just a bunch of nits. https://codereview.chromium.org/2520093003/diff/400001/services/ui/common/accelerator_util.cc File services/ui/common/accelerator_util.cc (right): https://codereview.chromium.org/2520093003/diff/400001/services/ui/common/accelerator_util.cc#newcode1 services/ui/common/accelerator_util.cc:1: // ...
4 years ago (2016-12-01 15:32:37 UTC) #84
thanhph
https://codereview.chromium.org/2520093003/diff/400001/services/ui/common/accelerator_util.cc File services/ui/common/accelerator_util.cc (right): https://codereview.chromium.org/2520093003/diff/400001/services/ui/common/accelerator_util.cc#newcode1 services/ui/common/accelerator_util.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years ago (2016-12-01 19:03:20 UTC) #85
mfomitchev
https://codereview.chromium.org/2520093003/diff/400001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2520093003/diff/400001/services/ui/public/interfaces/window_manager.mojom#newcode141 services/ui/public/interfaces/window_manager.mojom:141: struct Accelerator{ On 2016/12/01 19:03:19, thanhph wrote: > On ...
4 years ago (2016-12-01 20:51:51 UTC) #92
thanhph
Commit bots are happy! https://codereview.chromium.org/2520093003/diff/440001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2520093003/diff/440001/services/ui/public/interfaces/window_manager.mojom#newcode172 services/ui/public/interfaces/window_manager.mojom:172: // Accelerator ids 1 << ...
4 years ago (2016-12-01 21:26:37 UTC) #95
thanhph
sky@chromium.org: Please review changes in
4 years ago (2016-12-01 21:30:34 UTC) #97
thanhph
rockot@chromium.org: Please review changes in services/ui/public/interfaces/window_manager.mojom.
4 years ago (2016-12-01 21:35:55 UTC) #99
sky
https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: window_manager_->window_manager_client()->AddAccelerators( Is this only the first change you're intending ...
4 years ago (2016-12-01 22:17:04 UTC) #100
mfomitchev
LGTM
4 years ago (2016-12-01 22:20:25 UTC) #101
mfomitchev
LGTM
4 years ago (2016-12-01 22:20:29 UTC) #102
thanhph
https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: window_manager_->window_manager_client()->AddAccelerators( On 2016/12/01 22:17:04, sky wrote: > Is this ...
4 years ago (2016-12-01 23:32:42 UTC) #103
sky
https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: window_manager_->window_manager_client()->AddAccelerators( On 2016/12/01 23:32:41, thanhph wrote: > On 2016/12/01 ...
4 years ago (2016-12-02 00:11:16 UTC) #104
thanhph
https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc File ash/mus/accelerators/accelerator_controller_registrar.cc (right): https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 ash/mus/accelerators/accelerator_controller_registrar.cc:129: window_manager_->window_manager_client()->AddAccelerators( On 2016/12/02 00:11:16, sky wrote: > On 2016/12/01 ...
4 years ago (2016-12-02 15:11:19 UTC) #105
sky
On 2016/12/02 15:11:19, thanhph wrote: > https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc > File ash/mus/accelerators/accelerator_controller_registrar.cc (right): > > https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc#newcode129 > ...
4 years ago (2016-12-02 17:25:31 UTC) #110
sky
https://codereview.chromium.org/2520093003/diff/520001/services/ui/ws/event_dispatcher.h File services/ui/ws/event_dispatcher.h (right): https://codereview.chromium.org/2520093003/diff/520001/services/ui/ws/event_dispatcher.h#newcode134 services/ui/ws/event_dispatcher.h:134: bool AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators); Sorry if I wasn't clear. I'm ...
4 years ago (2016-12-02 17:25:42 UTC) #111
sky
On 2016/12/01 21:35:55, thanhph wrote: > mailto:rockot@chromium.org: Please review changes in > services/ui/public/interfaces/window_manager.mojom. You need ...
4 years ago (2016-12-02 17:27:50 UTC) #113
Tom Sepez
mojom LGTM
4 years ago (2016-12-02 17:38:42 UTC) #114
thanhph
On 2016/12/02 17:25:31, sky wrote: > On 2016/12/02 15:11:19, thanhph wrote: > > > https://codereview.chromium.org/2520093003/diff/460001/ash/mus/accelerators/accelerator_controller_registrar.cc ...
4 years ago (2016-12-02 21:19:40 UTC) #117
thanhph
On 2016/12/02 17:38:42, Tom Sepez wrote: > mojom LGTM Thanks for reviewing this cl!
4 years ago (2016-12-02 21:20:25 UTC) #118
thanhph
On 2016/12/02 17:27:50, sky wrote: > On 2016/12/01 21:35:55, thanhph wrote: > > mailto:rockot@chromium.org: Please ...
4 years ago (2016-12-02 21:21:11 UTC) #119
thanhph
https://codereview.chromium.org/2520093003/diff/520001/services/ui/ws/event_dispatcher.h File services/ui/ws/event_dispatcher.h (right): https://codereview.chromium.org/2520093003/diff/520001/services/ui/ws/event_dispatcher.h#newcode134 services/ui/ws/event_dispatcher.h:134: bool AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators); On 2016/12/02 17:25:42, sky wrote: > ...
4 years ago (2016-12-02 21:21:43 UTC) #121
sky
LGTM - you could write the test using WindowTree. There are examples of that, but ...
4 years ago (2016-12-02 22:09:17 UTC) #122
mfomitchev
https://codereview.chromium.org/2520093003/diff/540001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2520093003/diff/540001/services/ui/ws/window_tree.cc#newcode1716 services/ui/ws/window_tree.cc:1716: iter->get()->id, iter->get()->event_matcher.Clone())) use std::move instead of Clone()
4 years ago (2016-12-02 22:19:02 UTC) #123
thanhph
On 2016/12/02 22:09:17, sky wrote: > LGTM - you could write the test using WindowTree. ...
4 years ago (2016-12-02 22:24:00 UTC) #124
thanhph
tsepez@ : Can you take owner/stamp the file services/ui/public/interfaces/window_manager.mojom? Thanks! Thanh. https://codereview.chromium.org/2520093003/diff/540001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): ...
4 years ago (2016-12-02 22:26:21 UTC) #126
mfomitchev
On 2016/12/02 22:26:21, thanhph wrote: > tsepez@ : Can you take owner/stamp the file > ...
4 years ago (2016-12-02 22:33:51 UTC) #129
thanhph
On 2016/12/02 22:33:51, mfomitchev wrote: > On 2016/12/02 22:26:21, thanhph wrote: > > tsepez@ : ...
4 years ago (2016-12-02 22:39:53 UTC) #130
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2520093003/560001
4 years ago (2016-12-03 01:01:35 UTC) #135
commit-bot: I haz the power
Committed patchset #30 (id:560001)
4 years ago (2016-12-03 01:15:03 UTC) #139
commit-bot: I haz the power
Patchset 30 (id:??) landed as https://crrev.com/62cbfb83c3ad3a8244d063d297a81fe6d9a32866 Cr-Commit-Position: refs/heads/master@{#436115}
4 years ago (2016-12-03 01:17:44 UTC) #141
sky
One thing you missed is updating ui/aura/mus/window_manager_delegate. If you could do that in a follow ...
4 years ago (2016-12-03 17:11:15 UTC) #142
thanhph
On 2016/12/03 17:11:15, sky wrote: > One thing you missed is updating ui/aura/mus/window_manager_delegate. If you ...
4 years ago (2016-12-05 15:54:48 UTC) #143
thanhph
On 2016/12/05 15:54:48, thanhph wrote: > On 2016/12/03 17:11:15, sky wrote: > > One thing ...
4 years ago (2016-12-05 16:20:36 UTC) #147
thanhph
On 2016/12/05 16:20:36, thanhph wrote: > On 2016/12/05 15:54:48, thanhph wrote: > > On 2016/12/03 ...
4 years ago (2016-12-05 16:35:50 UTC) #150
chromium-reviews
Yeah, you can't use the same CL once it was committed. You have to create ...
4 years ago (2016-12-05 17:42:07 UTC) #152
sky
You actually can reopen a patch once it's landed, but you should reserve that for ...
4 years ago (2016-12-05 18:13:19 UTC) #153
thanhph
4 years ago (2016-12-05 18:27:32 UTC) #154
Message was sent while issue was closed.
On 2016/12/05 18:13:19, sky wrote:
> You actually can reopen a patch once it's landed, but you should
> reserve that for when a patch is reverted after it lands. In this case
> a new patch is the way to go.
> 
>   -Scott
> 
> On Mon, Dec 5, 2016 at 9:41 AM, Mikhail Fomitchev
<mailto:mfomitchev@google.com>
> wrote:
> > Yeah, you can't use the same CL once it was committed. You have to create a
> > new CL (not just a new patch within the same CL).
> >
> >
> > On Mon, Dec 5, 2016 at 11:35 AM <mailto:thanhph@chromium.org> wrote:
> >>
> >> On 2016/12/05 16:20:36, thanhph wrote:
> >> > On 2016/12/05 15:54:48, thanhph wrote:
> >> > > On 2016/12/03 17:11:15, sky wrote:
> >> > > > One thing you missed is updating
> >> > > > ui/aura/mus/window_manager_delegate. If
> >> you
> >> > > > could do that in a follow on patch that would be great. Hopefully we
> >> > > > can
> >> get
> >> > > rid
> >> > > > of most of services/ui/public/cpp soon so there is just one client.
> >> > >
> >> > > Good call Scott.I'm working on this now and will cl upload the new
> >> > > patch
> >> here
> >> > > later. Thanks!
> >> >
> >> > Scott: I have just updated the following files in the new cl. Let me
> >> > know if
> >> > this update is sufficient. Thanks!
> >> >
> >> > ui/aura/mus/window_manager_delegate.h
> >> > ui/aura/mus/window_tree_client.cc
> >> > ui/aura/mus/window_tree_client.h
> >>
> >> Somehow there are some conflicts when I apply this patchset 31 from master
> >> branch. I'll re-close this issue and create another follow-on issue to add
> >> this
> >> patch set in.
> >>
> >>
> >> https://codereview.chromium.org/2520093003/
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "Chromium-reviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.
> 

Gotcha! Thanks for the explanation. 

Scott: You could review my follow-up patch here:
https://codereview.chromium.org/2552783002/. Thanks!

Powered by Google App Engine
This is Rietveld 408576698