|
Improve panel tests by properly waiting for expected conditions.
Pulled logic from PanelActiveStateObserver into a base class for reuse.
Updated ActivatePanelOrTabbedWindow to apply to browserless panels.
Fixed DetachedPanelBrowserTest.DrawAttentionResetOnActivate to actually create detached panels.
Added guard in Panel::SetPanelBounds() to check if there is no change. Native layer doesn't always check (anymore).
TBR=thakis
BUG= 140971, 145428, 145740, 147536, 147643
TEST=tests adjusted
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156704
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+252 lines, -194 lines) |
Patch |
|
M |
chrome/browser/ui/panels/detached_panel_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/docked_panel_browsertest.cc
|
View
|
|
14 chunks |
+31 lines, -37 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/panel.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/panel_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+76 lines, -49 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/panel_drag_browsertest.cc
|
View
|
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/panel_gtk.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/test_panel_active_state_observer.h
|
View
|
|
2 chunks |
+5 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/panels/test_panel_active_state_observer.cc
|
View
|
|
1 chunk |
+5 lines, -32 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/panels/test_panel_notification_observer.h
|
View
|
|
2 chunks |
+17 lines, -19 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/ui/panels/test_panel_notification_observer.cc
|
View
|
|
2 chunks |
+9 lines, -17 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/panels/test_panel_strip_squeeze_observer.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/panels/test_panel_strip_squeeze_observer.cc
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|