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

Issue 2539363005: Converts ash to use aura-mus (Closed)

Created:
4 years ago by sky
Modified:
4 years ago
CC:
chromium-reviews, rjkroege, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Converts ash to use aura-mus There is still a bunch of cleanup and removal to do, but this patch is already so big I'm hoping to keep more cleanup to future patches. The biggest remaining issue after this patch is z-order. By that I mean the non-client area is at a different z-order than the frame, which leads to some interesting artifacts. That will be addressed soon, and I'm hoping won't block other testing. I've landed as many other patches as I could, so this is mostly just changes to aura, but there are some properties that needed to be changed. I could separate that out if you prefer. BUG=669964 TEST=covered by tests R=jamescook@chromium.org TBR=rockot@chromium.org (for changes to testing/buildbot) Committed: https://crrev.com/fcf18b528bc1908b9e50af6ff914b0049e693fbf Cr-Commit-Position: refs/heads/master@{#436515}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : merge #

Total comments: 87

Patch Set 4 : feedback #

Patch Set 5 : feedback2 #

Total comments: 9

Patch Set 6 : feedback #

Patch Set 7 : merge 2 trunk #

Patch Set 8 : add overrides #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1415 lines, -2464 lines) Patch
M ash/aura/wm_root_window_controller_aura.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/aura/wm_window_aura.h View 1 2 3 3 chunks +11 lines, -3 lines 0 comments Download
M ash/aura/wm_window_aura.cc View 1 2 3 4 chunks +15 lines, -8 lines 0 comments Download
M ash/autoclick/mus/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ash/autoclick/mus/autoclick_application.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ash/common/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/DEPS View 2 chunks +0 lines, -2 lines 0 comments Download
M ash/common/wm/mru_window_tracker_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager_unittest.cc View 6 chunks +23 lines, -4 lines 0 comments Download
M ash/display/screen_position_controller.h View 1 chunk +3 lines, -1 line 0 comments Download
M ash/display/screen_position_controller.cc View 2 chunks +3 lines, -10 lines 0 comments Download
M ash/mus/BUILD.gn View 1 2 5 chunks +6 lines, -9 lines 0 comments Download
M ash/mus/DEPS View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/mus/accelerators/accelerator_controller_unittest.cc View 4 chunks +13 lines, -11 lines 0 comments Download
A ash/mus/bridge/README.md View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_root_window_controller_mus.h View 2 chunks +7 lines, -7 lines 0 comments Download
M ash/mus/bridge/wm_root_window_controller_mus.cc View 1 5 chunks +25 lines, -23 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 5 chunks +17 lines, -14 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 3 4 8 chunks +40 lines, -44 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 2 3 6 chunks +19 lines, -194 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 2 3 4 13 chunks +53 lines, -830 lines 0 comments Download
M ash/mus/bridge/wm_window_mus_test_api.h View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
A ash/mus/bridge/wm_window_mus_test_api.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M ash/mus/bridge/workspace_event_handler_mus.h View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M ash/mus/bridge/workspace_event_handler_mus.cc View 1 chunk +12 lines, -11 lines 0 comments Download
M ash/mus/disconnected_app_handler.h View 1 2 3 4 1 chunk +7 lines, -7 lines 0 comments Download
M ash/mus/disconnected_app_handler.cc View 3 chunks +10 lines, -9 lines 0 comments Download
M ash/mus/frame/detached_title_area_renderer.h View 2 chunks +4 lines, -9 lines 0 comments Download
M ash/mus/frame/detached_title_area_renderer.cc View 1 3 chunks +14 lines, -6 lines 0 comments Download
D ash/mus/layout_manager.h View 1 chunk +0 lines, -64 lines 0 comments Download
D ash/mus/layout_manager.cc View 1 chunk +0 lines, -86 lines 0 comments Download
D ash/mus/layout_manager_unittest.cc View 1 chunk +0 lines, -65 lines 0 comments Download
M ash/mus/move_event_handler.h View 4 chunks +5 lines, -10 lines 0 comments Download
M ash/mus/move_event_handler.cc View 6 chunks +21 lines, -23 lines 0 comments Download
D ash/mus/native_widget_factory_mus.h View 1 chunk +0 lines, -29 lines 0 comments Download
D ash/mus/native_widget_factory_mus.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M ash/mus/non_client_frame_controller.h View 1 2 3 4 5 3 chunks +56 lines, -24 lines 0 comments Download
M ash/mus/non_client_frame_controller.cc View 1 2 3 4 11 chunks +182 lines, -190 lines 0 comments Download
M ash/mus/property_util.h View 1 2 3 4 1 chunk +23 lines, -65 lines 0 comments Download
M ash/mus/property_util.cc View 1 chunk +32 lines, -241 lines 0 comments Download
M ash/mus/root_window_controller.h View 1 2 3 4 6 chunks +26 lines, -14 lines 0 comments Download
M ash/mus/root_window_controller.cc View 1 2 3 4 6 chunks +116 lines, -64 lines 0 comments Download
M ash/mus/root_window_controller_unittest.cc View 2 chunks +18 lines, -9 lines 0 comments Download
A ash/mus/screen_mus.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A ash/mus/screen_mus.cc View 1 chunk +26 lines, -0 lines 0 comments Download
D ash/mus/screenlock_layout.h View 1 chunk +0 lines, -30 lines 0 comments Download
D ash/mus/screenlock_layout.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M ash/mus/shadow.h View 6 chunks +9 lines, -5 lines 0 comments Download
M ash/mus/shadow.cc View 5 chunks +15 lines, -6 lines 0 comments Download
M ash/mus/shadow_controller.h View 1 chunk +25 lines, -14 lines 0 comments Download
M ash/mus/shadow_controller.cc View 1 chunk +44 lines, -21 lines 0 comments Download
M ash/mus/test/ash_test_impl_mus.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M ash/mus/test/wm_test_base.h View 6 chunks +17 lines, -9 lines 0 comments Download
M ash/mus/test/wm_test_base.cc View 1 2 3 4 4 chunks +43 lines, -37 lines 0 comments Download
M ash/mus/test/wm_test_helper.h View 2 chunks +7 lines, -3 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 5 chunks +10 lines, -6 lines 0 comments Download
M ash/mus/window_manager.h View 9 chunks +67 lines, -35 lines 0 comments Download
M ash/mus/window_manager.cc View 1 2 3 4 13 chunks +180 lines, -69 lines 0 comments Download
M ash/mus/window_manager_application.h View 4 chunks +7 lines, -6 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 6 chunks +14 lines, -13 lines 0 comments Download
M ash/mus/window_manager_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
A ash/mus/window_properties.h View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
A ash/mus/window_properties.cc View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M ash/touch_hud/mus/touch_hud_application.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ash/wm/event_client_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/window_properties.h View 2 chunks +3 lines, -1 line 0 comments Download
M ash/wm/window_properties.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/property_util.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M mash/example/window_type_launcher/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mash/example/window_type_launcher/window_type_launcher.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M mash/test/mash_test_suite.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/focus_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M testing/buildbot/chromium.chromiumos.json View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.fyi.json View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/env.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 5 chunks +14 lines, -15 lines 0 comments Download
M ui/views/mus/native_widget_mus_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (24 generated)
sky
Sorry for the ginormo review. The big parts are in ash/mus, and the rest mostly ...
4 years ago (2016-12-03 00:19:49 UTC) #1
James Cook
A couple early questions... I'm still looking through the bulk of it. https://codereview.chromium.org/2539363005/diff/40001/ash/aura/wm_window_aura.h File ash/aura/wm_window_aura.h ...
4 years ago (2016-12-05 17:21:49 UTC) #10
sky
https://codereview.chromium.org/2539363005/diff/40001/ash/aura/wm_window_aura.h File ash/aura/wm_window_aura.h (right): https://codereview.chromium.org/2539363005/diff/40001/ash/aura/wm_window_aura.h#newcode18 ash/aura/wm_window_aura.h:18: class ASH_EXPORT WmWindowAura : public WmWindow, On 2016/12/05 17:21:48, ...
4 years ago (2016-12-05 17:56:55 UTC) #11
James Cook
https://codereview.chromium.org/2539363005/diff/40001/ash/mus/bridge/wm_root_window_controller_mus.cc File ash/mus/bridge/wm_root_window_controller_mus.cc (right): https://codereview.chromium.org/2539363005/diff/40001/ash/mus/bridge/wm_root_window_controller_mus.cc#newcode98 ash/mus/bridge/wm_root_window_controller_mus.cc:98: void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer( Q: Will this eventually go away, since ...
4 years ago (2016-12-05 19:21:45 UTC) #12
sky
Thanks for the great feedback. I think I got them all. Take another look? https://codereview.chromium.org/2539363005/diff/40001/ash/mus/bridge/wm_root_window_controller_mus.cc ...
4 years ago (2016-12-05 21:39:20 UTC) #13
James Cook
LGTM with nits. Epic patch! :-) Not for this CL, but I think you should ...
4 years ago (2016-12-05 22:56:34 UTC) #18
sky
My patch started tripping over a bug in how overlays are setup. I added a ...
4 years ago (2016-12-06 00:56:16 UTC) #23
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/2539363005/140001
4 years ago (2016-12-06 00:57:07 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/79894)
4 years ago (2016-12-06 01:43:13 UTC) #29
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/2539363005/140001
4 years ago (2016-12-06 02:39:50 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-06 03:54:31 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-06 03:56:57 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/fcf18b528bc1908b9e50af6ff914b0049e693fbf
Cr-Commit-Position: refs/heads/master@{#436515}

Powered by Google App Engine
This is Rietveld 408576698