|
Add ability to set resolution on external display
* OutputConfigurator gets selected resolution via StateController::GetResolutionForDisplay
* It only shows one selection per one resolution.
Non interlaced takes precedence and best refresh rate
is chosen.
* Resolution list is added to DisplayInfo. UI can use this
to present options to users.
* Created separate display_util_x11 for utility functions that
depends on xrandr.
BUG= 230733
TEST=covered by tests. more to come. manual test should be possible after UI is added. (crbug.com/266097)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214997
Total comments: 35
Total comments: 6
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+691 lines, -121 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/display/display_change_observer_x11.h
|
View
|
1
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/display/display_change_observer_x11.cc
|
View
|
1
|
7 chunks |
+24 lines, -45 lines |
0 comments
|
Download
|
 |
D |
ash/display/display_change_observer_x11_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ash/display/display_info.h
|
View
|
1
|
4 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/display/display_info.cc
|
View
|
1
2
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/display/display_manager.h
|
View
|
1
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/display/display_manager.cc
|
View
|
1
|
2 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
 |
A |
ash/display/display_util_x11.h
|
View
|
1
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/display/display_util_x11.cc
|
View
|
1
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/display/display_util_x11_unittest.cc
|
View
|
1
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/display/display_preferences.cc
|
View
|
1
4
|
3 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/display/display_preferences_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+51 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_configurator.h
|
View
|
1
|
4 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_configurator.cc
|
View
|
1
|
8 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_configurator_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_util.h
|
View
|
1
|
2 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_util.cc
|
View
|
1
|
2 chunks |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/output_util_unittest.cc
|
View
|
|
2 chunks |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/display/real_output_configurator_delegate.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/display/real_output_configurator_delegate.cc
|
View
|
1
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|