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

Issue 1979573002: Move mus::InputEventHandler implementation and tests from PlatformWindowMus to NativeWidgetMus (Closed)

Created:
4 years, 7 months ago by Mark Dittmer
Modified:
4 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@native_widget_mus5
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move mus::InputEventHandler implementation from PlatformWindowMus to NativeWidgetMus R=sadrul@chromium.org BUG=609555 Committed: https://crrev.com/30bd151c77a3362c6d0cc2f8cd90969fbc97aa24 Cr-Commit-Position: refs/heads/master@{#394564}

Patch Set 1 #

Patch Set 2 : Remove mus::InputEventHandler from platform_window_mus_unittests; add TODO for porting tests in sep… #

Patch Set 3 : Delete no longer necessary views in platform_widget_mus_unittests #

Total comments: 3

Patch Set 4 : rebase #

Total comments: 4

Patch Set 5 : Merge in https://codereview.chromium.org/1981803003/ #

Patch Set 6 : Remove dead code: PlatformWindowMus's EventAckHandler #

Patch Set 7 : rebase #

Patch Set 8 : Drop ref to platform_test_helper_mus.cc #

Patch Set 9 : rebase from different branch #

Patch Set 10 : Drop second copy of tests from merge mistake #

Patch Set 11 : rebase #

Total comments: 4

Patch Set 12 : Address final comments from sadrul #

Patch Set 13 : rebase #

Patch Set 14 : Drop multiple copies of unittests (AGAIN) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -232 lines) Patch
M ui/views/mus/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 2 3 4 6 chunks +26 lines, -5 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +61 lines, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +118 lines, -1 line 0 comments Download
M ui/views/mus/platform_window_mus.h View 4 chunks +1 line, -11 lines 0 comments Download
M ui/views/mus/platform_window_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +1 line, -60 lines 0 comments Download
M ui/views/mus/platform_window_mus_unittest.cc View 1 2 3 4 1 chunk +0 lines, -154 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 60 (22 generated)
Mark Dittmer
4 years, 7 months ago (2016-05-13 12:37:41 UTC) #1
Mark Dittmer
Remove mus::InputEventHandler from platform_window_mus_unittests; add TODO for porting tests in separate CL
4 years, 7 months ago (2016-05-13 15:50:38 UTC) #2
Mark Dittmer
Delete no longer necessary views in platform_widget_mus_unittests
4 years, 7 months ago (2016-05-13 16:05:21 UTC) #3
sadrul
https://codereview.chromium.org/1979573002/diff/40001/ui/views/mus/platform_window_mus.cc File ui/views/mus/platform_window_mus.cc (right): https://codereview.chromium.org/1979573002/diff/40001/ui/views/mus/platform_window_mus.cc#newcode28 ui/views/mus/platform_window_mus.cc:28: class EventAckHandler : public base::MessageLoop::NestingObserver { This should be ...
4 years, 7 months ago (2016-05-13 17:02:44 UTC) #4
Mark Dittmer
rebase
4 years, 7 months ago (2016-05-16 15:58:39 UTC) #5
Mark Dittmer
https://codereview.chromium.org/1979573002/diff/40001/ui/views/mus/platform_window_mus_unittest.cc File ui/views/mus/platform_window_mus_unittest.cc (right): https://codereview.chromium.org/1979573002/diff/40001/ui/views/mus/platform_window_mus_unittest.cc#newcode73 ui/views/mus/platform_window_mus_unittest.cc:73: On 2016/05/13 17:02:44, sadrul wrote: > This should be ...
4 years, 7 months ago (2016-05-16 15:58:43 UTC) #6
sadrul
Let's merge https://codereview.chromium.org/1981803003/ into this CL https://codereview.chromium.org/1979573002/diff/60001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1979573002/diff/60001/ui/views/mus/native_widget_mus.cc#newcode19 ui/views/mus/native_widget_mus.cc:19: #include "components/mus/public/interfaces/window_tree.mojom.h" Is ...
4 years, 7 months ago (2016-05-17 00:18:48 UTC) #7
Mark Dittmer
Merge in https://codereview.chromium.org/1981803003/
4 years, 7 months ago (2016-05-17 14:11:30 UTC) #8
Mark Dittmer
Remove dead code: PlatformWindowMus's EventAckHandler
4 years, 7 months ago (2016-05-17 14:17:32 UTC) #9
Mark Dittmer
Addressed all comments. sadrul@chromium.org please take another look. https://codereview.chromium.org/1979573002/diff/60001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1979573002/diff/60001/ui/views/mus/native_widget_mus.cc#newcode19 ui/views/mus/native_widget_mus.cc:19: #include ...
4 years, 7 months ago (2016-05-17 14:18:11 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/100001
4 years, 7 months ago (2016-05-17 14:29:01 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/6763) ios-device-gn on ...
4 years, 7 months ago (2016-05-17 14:30:55 UTC) #14
Mark Dittmer
rebase
4 years, 7 months ago (2016-05-17 14:38:24 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/120001
4 years, 7 months ago (2016-05-17 14:39:00 UTC) #17
Mark Dittmer
This test migration is now blocked on https://bugs.chromium.org/p/chromium/issues/detail?id=612447. Candidate fix at https://codereview.chromium.org/1982333002/.
4 years, 7 months ago (2016-05-17 14:39:13 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/175675)
4 years, 7 months ago (2016-05-17 14:42:17 UTC) #20
Mark Dittmer
Drop ref to platform_test_helper_mus.cc
4 years, 7 months ago (2016-05-17 15:11:50 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/140001
4 years, 7 months ago (2016-05-17 15:12:13 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/95635)
4 years, 7 months ago (2016-05-17 15:27:48 UTC) #25
Mark Dittmer
rebase from different branch
4 years, 7 months ago (2016-05-17 18:22:55 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/160001
4 years, 7 months ago (2016-05-17 18:23:15 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/175823)
4 years, 7 months ago (2016-05-17 18:52:14 UTC) #30
Mark Dittmer
Drop second copy of tests from merge mistake
4 years, 7 months ago (2016-05-17 19:37:13 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/180001
4 years, 7 months ago (2016-05-17 19:37:40 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 21:03:13 UTC) #35
Mark Dittmer
rebase
4 years, 7 months ago (2016-05-18 17:08:05 UTC) #36
sadrul
lgtm https://codereview.chromium.org/1979573002/diff/200001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1979573002/diff/200001/ui/views/mus/native_widget_mus.cc#newcode1267 ui/views/mus/native_widget_mus.cc:1267: platform_window_delegate()->DispatchEvent(event.get()); Hm, this should actually just do this->OnEvent(event.get()), ...
4 years, 7 months ago (2016-05-18 19:44:43 UTC) #38
Mark Dittmer
Address final comments from sadrul
4 years, 7 months ago (2016-05-18 19:55:53 UTC) #39
Mark Dittmer
https://codereview.chromium.org/1979573002/diff/200001/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1979573002/diff/200001/ui/views/mus/native_widget_mus.cc#newcode1267 ui/views/mus/native_widget_mus.cc:1267: platform_window_delegate()->DispatchEvent(event.get()); On 2016/05/18 19:44:42, sadrul wrote: > Hm, this ...
4 years, 7 months ago (2016-05-18 19:56:22 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/220001
4 years, 7 months ago (2016-05-18 19:57:29 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/7894) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-18 20:00:47 UTC) #45
Mark Dittmer
rebase
4 years, 7 months ago (2016-05-18 20:18:53 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/240001
4 years, 7 months ago (2016-05-18 20:21:01 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/24200)
4 years, 7 months ago (2016-05-18 20:44:11 UTC) #52
Mark Dittmer
Drop multiple copies of unittests (AGAIN)
4 years, 7 months ago (2016-05-18 20:48:40 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979573002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979573002/260001
4 years, 7 months ago (2016-05-18 20:49:51 UTC) #56
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 7 months ago (2016-05-18 21:59:33 UTC) #58
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 22:00:58 UTC) #60
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/30bd151c77a3362c6d0cc2f8cd90969fbc97aa24
Cr-Commit-Position: refs/heads/master@{#394564}

Powered by Google App Engine
This is Rietveld 408576698