|
|
Replace kCanMaximize/Minimize/Resize with kResizeBehavior.
A single property helps mus avoid lots of little IPC calls.
Change the default value to allow resize (matches old properties).
Add WidgetDelegate::GetResizeBehavior.
Nix DesktopWindowTreeHostMus::GetResizeBehaviorFromDelegate.
Fix NativeWidgetMus::ConfigurePropertiesForNewWindow casting.
(primitive property types should be serialized as int64_t)
TODO: Add ui::mojom::kResizeBehaviorAll?
TODO: Remove maximize from CreateTestWindowWithDelegateAndType?
BUG= 669290
TEST=No window resize/min/max behavior changes or regressions.
R=sky@chromium.org
Committed: https://crrev.com/b00a80d7cbcb9dc12278a13bd56b41a008cb978b
Cr-Commit-Position: refs/heads/master@{#435395}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+169 lines, -135 lines) |
Patch |
 |
M |
ash/BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/accelerators/accelerator_controller_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/aura/wm_window_aura.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm/window_state.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/non_client_frame_controller.cc
|
View
|
1
|
1 chunk |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/test/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_base.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/ash_focus_rules_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_layout_manager_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/lock_layout_manager_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/toplevel_window_event_handler_unittest.cc
|
View
|
1
|
5 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_state_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_event_handler_unittest.cc
|
View
|
1
|
8 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer_unittest.cc
|
View
|
1
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/ui/login_web_dialog_browsertest.cc
|
View
|
1
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/accelerator_commands_browsertest.cc
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.h
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/aura/client/aura_constants.cc
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_windows.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/BUILD.gn
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/desktop_window_tree_host_mus.cc
|
View
|
|
2 chunks |
+4 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
1
2
|
4 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc
|
View
|
1
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/x11_window_event_filter.cc
|
View
|
1
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura.cc
|
View
|
1
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura_unittest.cc
|
View
|
1
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_delegate.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_delegate.cc
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (15 generated)
|