|
|
Change single-display screens to use ScreenBase and DisplayList.
Reduce similar code in single-display screens.
1. ScreenBase doesn't set itself as the screen instance in
display::Screen anymore, rather its subclass needs to decide if
it wants to be the screen instance.
2. Moved Displays::iterator FindDisplayById(int64_t id); to private
in DisplayList.
3. Fixed BlimpScreenTest since Display::SetScaleAndBounds
also updates the work area of a display.
4. Fixed RenderWidgetHostViewAuraTest.PhysicalBackingSizeWithScale
since added UpdateDisplay call in aura::TestScreen::SetDeviceScaleFactor.
BUG=none, related to https://codereview.chromium.org/2361283002
TEST=covered by blimp_unittests, app_shell_unittests,
content_unittests, unit_tests, mash_unittests,
extensions_browsertests
Committed: https://crrev.com/bcbb8c44d3e5d2bdc1da14867c3f05527e349d8b
Cr-Commit-Position: refs/heads/master@{#430312}
Total comments: 3
Total comments: 10
Total comments: 5
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+214 lines, -389 lines) |
Patch |
 |
M |
ash/mus/root_window_controller.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/mus/test/wm_test_helper.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/mus/window_manager.cc
|
View
|
1
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/ui/blimp_screen.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/ui/blimp_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -46 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/ui/blimp_screen_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/manifest/manifest_icon_selector_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chromecast/graphics/cast_screen.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chromecast/graphics/cast_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -30 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_screen.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+10 lines, -32 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_screen.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
headless/lib/browser/headless_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+32 lines, -46 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_screen.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+34 lines, -50 lines |
0 comments
|
Download
|
 |
M |
ui/display/display_list.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/display/display_list.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/display/screen_base.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/display/screen_base.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
 |
M |
ui/display/test/test_screen.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ui/display/test/test_screen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -29 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/screen_mus.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/window_manager_connection_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 57 (30 generated)
|