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

Issue 2227643003: Converts mash to use the common non-client frame (Closed)

Created:
4 years, 4 months ago by sky
Modified:
4 years, 4 months ago
Reviewers:
James Cook
CC:
chromium-reviews, rjkroege, kalyank, sadrul, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@native_widget_mus_fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Converts mash to use the common non-client frame I left TODOs for figuring out a better way to get insets rather than assuming the code works a particular way. BUG=634972 TEST=mostly covered by tests R=jamescook@chromium.org Committed: https://crrev.com/6cc4373556f64bec8cbe8d3e2ec98c50675459d3 Cr-Commit-Position: refs/heads/master@{#410661}

Patch Set 1 #

Patch Set 2 : tweaks #

Patch Set 3 : tweaks #

Total comments: 9

Patch Set 4 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -2393 lines) Patch
M ash/common/frame/custom_frame_view_ash.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/frame/custom_frame_view_ash.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/common/frame/header_painter_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/mus/BUILD.gn View 5 chunks +3 lines, -19 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_window_mus.cc View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
A ash/mus/bridge/wm_window_mus_test_api.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
D ash/mus/frame/caption_buttons/caption_button_types.h View 1 chunk +0 lines, -27 lines 0 comments Download
D ash/mus/frame/caption_buttons/frame_caption_button.h View 1 chunk +0 lines, -103 lines 0 comments Download
D ash/mus/frame/caption_buttons/frame_caption_button.cc View 1 chunk +0 lines, -193 lines 0 comments Download
D ash/mus/frame/caption_buttons/frame_caption_button_container_view.h View 1 chunk +0 lines, -136 lines 0 comments Download
D ash/mus/frame/caption_buttons/frame_caption_button_container_view.cc View 1 chunk +0 lines, -356 lines 0 comments Download
D ash/mus/frame/default_header_painter.h View 1 chunk +0 lines, -117 lines 0 comments Download
D ash/mus/frame/default_header_painter.cc View 1 chunk +0 lines, -337 lines 0 comments Download
D ash/mus/frame/frame_border_hit_test_controller.h View 1 chunk +0 lines, -45 lines 0 comments Download
D ash/mus/frame/frame_border_hit_test_controller.cc View 1 chunk +0 lines, -89 lines 0 comments Download
D ash/mus/frame/header_painter.h View 1 chunk +0 lines, -49 lines 0 comments Download
D ash/mus/frame/header_painter_util.h View 1 chunk +0 lines, -56 lines 0 comments Download
D ash/mus/frame/header_painter_util.cc View 1 chunk +0 lines, -80 lines 0 comments Download
D ash/mus/frame/move_event_handler.h View 1 chunk +0 lines, -83 lines 0 comments Download
D ash/mus/frame/move_event_handler.cc View 1 chunk +0 lines, -139 lines 0 comments Download
D ash/mus/frame/non_client_frame_view_mash.h View 1 chunk +0 lines, -112 lines 0 comments Download
D ash/mus/frame/non_client_frame_view_mash.cc View 1 chunk +0 lines, -368 lines 0 comments Download
A + ash/mus/move_event_handler.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/mus/move_event_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/non_client_frame_controller.cc View 6 chunks +24 lines, -24 lines 0 comments Download
D ash/mus/resources/BUILD.gn View 1 chunk +0 lines, -14 lines 0 comments Download
D ash/mus/resources/ash_mus_resources.grd View 1 chunk +0 lines, -35 lines 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_background_hover.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_background_pressed.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_close.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_close_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_left_snapped.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_left_snapped_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_maximize.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_maximize_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_minimize.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_minimize_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_restore.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_restore_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_right_snapped.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_control_icon_right_snapped_white.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_header_shade_bottom_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_header_shade_left_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_header_shade_right_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_100_percent/common/window_header_shade_top_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_background_hover.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_background_pressed.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_close.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_close_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_left_snapped.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_left_snapped_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_maximize.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_maximize_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_minimize.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_minimize_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_restore.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_restore_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_right_snapped.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_control_icon_right_snapped_white.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_header_shade_bottom_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_header_shade_left_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_header_shade_right_inactive.png View Binary file 0 comments Download
D ash/mus/resources/default_200_percent/common/window_header_shade_top_inactive.png View Binary file 0 comments Download
M ash/mus/window_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/workspace/workspace_layout_manager_unittest.cc View 3 chunks +4 lines, -1 line 0 comments Download
M mash/example/window_type_launcher/window_type_launcher.cc View 3 chunks +6 lines, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
sky
https://codereview.chromium.org/2227643003/diff/40001/ash/mus/non_client_frame_controller.cc File ash/mus/non_client_frame_controller.cc (left): https://codereview.chromium.org/2227643003/diff/40001/ash/mus/non_client_frame_controller.cc#oldcode145 ash/mus/non_client_frame_controller.cc:145: void CenterWindow(const gfx::Size& size) override { These overrides are ...
4 years, 4 months ago (2016-08-08 23:32:27 UTC) #3
James Cook
LGTM https://codereview.chromium.org/2227643003/diff/40001/ash/mus/BUILD.gn File ash/mus/BUILD.gn (left): https://codereview.chromium.org/2227643003/diff/40001/ash/mus/BUILD.gn#oldcode41 ash/mus/BUILD.gn:41: "frame/caption_buttons/caption_button_types.h", Woo hoo! It's lovely to see this ...
4 years, 4 months ago (2016-08-09 00:37:10 UTC) #4
sky
https://codereview.chromium.org/2227643003/diff/40001/ash/mus/bridge/wm_window_mus.h File ash/mus/bridge/wm_window_mus.h (right): https://codereview.chromium.org/2227643003/diff/40001/ash/mus/bridge/wm_window_mus.h#newcode286 ash/mus/bridge/wm_window_mus.h:286: bool use_empty_minimum_size_ = false; On 2016/08/09 00:37:10, James Cook ...
4 years, 4 months ago (2016-08-09 13:16:48 UTC) #7
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/2227643003/60001
4 years, 4 months ago (2016-08-09 13:18:06 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-09 14:27:12 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 14:29:25 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6cc4373556f64bec8cbe8d3e2ec98c50675459d3
Cr-Commit-Position: refs/heads/master@{#410661}

Powered by Google App Engine
This is Rietveld 408576698