|
Update panel layout immediately after the user has finished resizing a panel.
Update panel layout immediately after the user has finished resizing a panel.
Unfortunately, it is not possible to detect when a resize performed by the
window manager has ended. This CL does the resizing of panels entirely in
Chrome. This is slow and ugly but it is what we used to do in the GTK port.
(panel_drag_gtk.cc)
BUG= 371616
TEST=Manual, see bug
R=erg, jianli
TBR=sadrul (For changes in ui/base/x/x11_util.* which have been taken verbatim from https://codereview.chromium.org/264713007/)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276719
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+364 lines, -155 lines) |
Patch |
 |
M |
chrome/browser/ui/panels/panel_browsertest.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_constants.h
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_manager.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_resize_browsertest.cc
|
View
|
1
|
26 chunks |
+36 lines, -53 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_resize_controller.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/panels/panel_resize_controller.cc
|
View
|
1
2
|
5 chunks |
+38 lines, -37 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/panels/panel_view.cc
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/panels/x11_panel_resizer.h
|
View
|
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/panels/x11_panel_resizer.cc
|
View
|
|
1 chunk |
+127 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/x/x11_util.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/x/x11_util.cc
|
View
|
1
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
View
|
1
2
|
4 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/x11_window_event_filter.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/x11_window_event_filter.cc
|
View
|
1
|
2 chunks |
+0 lines, -34 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|