|
Add GrabWindowSnapshotAsync aura tests
This adds a version of GrabWindowSnapshotAsync that behaves identically
to GrabWindowSnapshot except with a callback. The snapshot aura unit
tests are updated to use this new async function instead of the sync
one.
In order to make the snapshot tests work properly, they also now have to
use a real gl context so that real drawing and readback can occur
through the compositor.
BUG= 331410, 332167
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243700
Total comments: 10
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+268 lines, -88 lines) |
Patch |
 |
M |
chrome/browser/media/desktop_media_list_ash.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/browser_with_test_window_test.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/view_event_test_base.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/desktop_capture_device_aura_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/test/test_renderer_host.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/remote_root_window_host_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_ozone.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_x11.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_helper.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_helper.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/keyboard/keyboard_controller_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_android.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+111 lines, -45 lines |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_aura_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
11 chunks |
+70 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_gtk.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_ios.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_mac.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/snapshot/snapshot_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|