|
|
Changes views_aura_mus_unittests to create DesktopNativeWidgetAura
And disables a bunch of tests that are either broke or don't make
sense.
Tests that don't call CreatePlatformNativeWidgetImpl() already
create a DesktopNativeWidgetAura, but those calling
CreatePlatformNativeWidgetImpl() ended up with a
NativeWidgetAura. This patch makes it so when aura-mus-client is used
CreatePlatformNativeWidgetImpl() creates a DesktopNativeWidgetAura
(assuming that is appropriate).
Additionally I'm making ViewsTestBase::GetContext() return null for
aura-mus-client. That way we sure see failures early on.
BUG= 663903
663809 663561 663868 664261 664280 615033
TEST=covered by tests
R=msw@chromium.org
Committed: https://crrev.com/a178499ab5e3a157c30198dc94deed31104360d9
Cr-Commit-Position: refs/heads/master@{#431505}
Total comments: 25
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+487 lines, -239 lines) |
Patch |
 |
M |
ui/views/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/accessible_pane_view_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/button/menu_button_unittest.cc
|
View
|
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_controller_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_runner_unittest.cc
|
View
|
|
4 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/native/native_view_host_aura_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/event_monitor_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/focus/focus_manager_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/mus_client.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/views_aura_mus_test_suite.cc
|
View
|
1
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/views_mus_test_suite.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory.cc
|
View
|
1
|
1 chunk |
+0 lines, -99 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory_aura_mus.cc
|
View
|
1
2
|
1 chunk |
+41 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory_desktop.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+25 lines, -40 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/native_widget_factory_mus.cc
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/platform_test_helper.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/platform_test_helper.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
A |
ui/views/test/platform_test_helper_cocoa.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/scoped_views_test_helper.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/views/test/test_platform_native_widget.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/test_views.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.cc
|
View
|
1
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_helper_aura.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+29 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/widget_test.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/widget_test_aura.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/widget_test_mac.mm
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/views/touchui/touch_selection_controller_impl_unittest.cc
|
View
|
1
2
3
4
5
|
13 chunks |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/touchui/touch_selection_menu_runner_views_unittest.cc
|
View
|
|
5 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/views/view_unittest_aura.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_aura_interactive_uitest.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_mac_unittest.mm
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/native_widget_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_interactive_uitest.cc
|
View
|
1
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget_unittest.cc
|
View
|
1
2
3
4
5
|
16 chunks |
+66 lines, -28 lines |
0 comments
|
Download
|
Total messages: 27 (19 generated)
|