|
Add display task to trigger display configuration
This CL adds:
1) A DisplayLayoutManager interface which will be implemented within
DisplayConfigurator in a followup CL. This is in charge of providing
enough information to the task to pick the correct display state.
2) A task that will query to update the display list, pick the correct
display state via DisplayLayoutManager then configure the displays
via the ConfigureDisplaysTask.
3) Basic unittests to validate the task. These are only basic since
the DisplayConfigurator unittests are performing the same tests. Ideally
the DisplayLayoutManager code in DisplayConfigurator could be extracted
in its own class such that these unittests can re-use that logic.
BUG= 429746
TBR=spang@chromium.org
Committed: https://crrev.com/6c7a24684066c2a9db4212546fe97a180cb240bb
Cr-Commit-Position: refs/heads/master@{#308033}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+897 lines, -67 lines) |
Patch |
 |
M |
ui/display/BUILD.gn
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/display_configurator.h
|
View
|
1
2
3
4
5
|
2 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/display_configurator.cc
|
View
|
1
2
3
4
|
4 chunks |
+5 lines, -67 lines |
0 comments
|
Download
|
 |
A |
ui/display/chromeos/display_util.h
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/display/chromeos/display_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/test/test_native_display_delegate.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/test/test_native_display_delegate.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/display/chromeos/update_display_configuration_task.h
|
View
|
1
2
3
4
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/display/chromeos/update_display_configuration_task.cc
|
View
|
1
2
3
4
|
1 chunk |
+210 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/display/chromeos/update_display_configuration_task_unittest.cc
|
View
|
1
2
|
1 chunk |
+386 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/x11/native_display_delegate_x11.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/x11/native_display_delegate_x11.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/display.gyp
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/display/types/native_display_delegate.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/common/native_display_delegate_ozone.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/common/native_display_delegate_ozone.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/native_display_delegate_dri.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/native_display_delegate_dri.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/native_display_delegate_proxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/native_display_delegate_proxy.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (4 generated)
|