|
Add FakeDisplayDelegate for off device usage.
Add a NativeDisplayDelegate implementation that handles fake displays.
Fake displays mimic physical displays when running off device. Allow
user the specify initial display state with command line flag and
provide API to programatically change display state at runtime.
Except for changing the attached displays other NativeDisplayDelegate
functionality is a noop.
Add FakeDisplaySnapshot to store the fake display state. For now it's
very simple but I intend to add a builder to make it easy to construct
more complex displays.
Add FakeDisplayController interface and method on NativeDisplayDelegate
to get one. This interface will allow changing display state at runtime
if implemented. Only FakeDisplayDelegate will implement it for now.
Fake isn't the best term to describe "not real" displays but there are
already virtual displays implemented for casting.
BUG= 611475
Committed: https://crrev.com/b77b33d434ddf9fbb31193c559d9907df2020db1
Cr-Commit-Position: refs/heads/master@{#419505}
Total comments: 5
Total comments: 8
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+552 lines, -183 lines) |
Patch |
|
M |
services/ui/display/platform_screen_ozone.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/ui/display/platform_screen_ozone.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
|
M |
services/ui/display/platform_screen_ozone_unittests.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/display/BUILD.gn
|
View
|
1
2
3
4
5
|
3 chunks |
+18 lines, -25 lines |
0 comments
|
Download
|
|
M |
ui/display/chromeos/test/test_native_display_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/chromeos/test/test_native_display_delegate.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/display/chromeos/x11/native_display_delegate_x11.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/chromeos/x11/native_display_delegate_x11.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/display_switches.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/display_switches.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -11 lines |
0 comments
|
Download
|
|
A |
ui/display/fake_display_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/display/fake_display_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+195 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/display/fake_display_snapshot.h
|
View
|
1
2
3
4
5
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/display/fake_display_snapshot.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/types/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/display/types/fake_display_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/display/types/native_display_delegate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
A + |
ui/display/types/native_display_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/ozone/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/ozone/common/native_display_delegate_ozone.h
|
View
|
1
2
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
ui/ozone/common/native_display_delegate_ozone.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/drm/host/drm_native_display_delegate.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/drm/host/drm_native_display_delegate.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/headless/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/headless/ozone_platform_headless.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/x11/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
D |
ui/ozone/platform/x11/native_display_delegate_ozone_x11.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
|
D |
ui/ozone/platform/x11/native_display_delegate_ozone_x11.cc
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/x11/ozone_platform_x11.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 41 (23 generated)
|