DescriptionChange Widget::GetAllOwnedWidgets to return child widgets as well
Whether or not Windows Aero is enabled on Windows platforms changes
whether a dialog is owned as a transient child or a child widget, and
this distinction is not useful. Changed Widget::GetAllOwnedWidgets to
return child widgets as well so widgets like dialogs can be detected in
tests and at runtime, without special checks for whether Aero is
currently enabled.
This also fixes the test AppListControllerAppInfoDialogBrowserTest.
BUG=378251
Committed: https://crrev.com/20f85cd78d717d58547ba3e8a42ada14108b950e
Cr-Commit-Position: refs/heads/master@{#301055}
Patch Set 1 #Patch Set 2 : Made GetAllOwnedWidgets return child windows as well #
Total comments: 6
Patch Set 3 : Review feedback #Patch Set 4 : Update NativeViewAccessibilityWin #
Total comments: 6
Patch Set 5 : Review feedback #Patch Set 6 : Added missing close brace #
Total comments: 3
Patch Set 7 : Merged GetAllChildWidgets and GetAllOwnedWidgets #
Total comments: 1
Patch Set 8 : Merged functions back together #
Total comments: 2
Patch Set 9 : Minor fix #
Messages
Total messages: 20 (4 generated)
|