|
|
content_shell: Move BrowserTestSystemMessageHandler and use it in layout tests
for Android
Android needs to use a nested message loop in order to execute the
layout tests. We have an implementation of this for content_browsertests
as BrowserTestSystemMessageHandler, but this lives in /content/test/
which content_shell cannot depend on.
Move it to /content/public/test/ as NestedSystemMessageHandler and
update content_browsertests to depend on that instead. For content_shell,
implement support of starting the nested loop, and use it when running
layout tests.
BUG= 232044
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207215
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+86 lines, -372 lines) |
Patch |
 |
M |
content/content_shell.gypi
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
|
5 chunks |
+24 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
content/public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
content/public/test/nested_message_pump_android.h
|
View
|
1
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
content/public/test/nested_message_pump_android.cc
|
View
|
1
|
9 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/browsertests_apk/content_browser_tests_android.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/BrowserTestSystemMessageHandler.java
|
View
|
|
1 chunk |
+0 lines, -128 lines |
0 comments
|
Download
|
 |
M |
content/shell/shell_browser_main.cc
|
View
|
1
|
4 chunks |
+30 lines, -2 lines |
0 comments
|
Download
|
 |
D |
content/test/browser_test_message_pump_android.h
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
D |
content/test/browser_test_message_pump_android.cc
|
View
|
|
1 chunk |
+0 lines, -164 lines |
0 comments
|
Download
|
 |
M |
content/test/content_test_launcher.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|