Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 2355063002: Separate ash::test::DisplayManagerTestApi from ash (Closed)

Created:
4 years, 3 months ago by rjkroege
Modified:
4 years, 2 months ago
Reviewers:
oshima, achuithb, lazyboy, msw
CC:
chromium-reviews, sadrul, mlamouri+watch-screen-orientation_chromium.org, jam, dcheng, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, extensions-reviews_chromium.org, maniscalco+watch-blimp_chromium.org, achuith+watch_chromium.org, gcasto+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, lethalantidote+watch-blimp_chromium.org, kalyank, dbeam+watch-options_chromium.org, alemate+watch_chromium.org, michaelpg+watch-options_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, khushalsagar+watch-blimp_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate ash::test::DisplayManagerTestApi from ash To permit relocating DisplayManager and its tightly coupled dependencies, decouple DisplayManagerTestApi from the rest of ash. Also, modify ash display tests to obtain the current display manager from AshTestBase so they can retrieve the current display manager from there instead from a global singleton. The combination of these changes permits relocating ash::DisplayManager to ui/display. BUG=581462 Committed: https://crrev.com/980ccfd4388c98b39813e0570b93502e9b053c50 Cr-Commit-Position: refs/heads/master@{#423586}

Patch Set 1 #

Patch Set 2 : formatting #

Patch Set 3 : rebased, cleanup #

Total comments: 18

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+750 lines, -701 lines) Patch
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos_unittest.cc View 1 2 4 chunks +16 lines, -13 lines 0 comments Download
M ash/display/cursor_window_controller_unittest.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M ash/display/display_configuration_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/display_manager.h View 1 2 3 2 chunks +6 lines, -9 lines 0 comments Download
M ash/display/display_manager.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 33 chunks +84 lines, -75 lines 0 comments Download
M ash/display/extended_mouse_warp_controller.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/display/extended_mouse_warp_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/extended_mouse_warp_controller_unittest.cc View 1 2 11 chunks +17 lines, -22 lines 0 comments Download
M ash/display/mirror_window_controller_unittest.cc View 1 2 8 chunks +24 lines, -28 lines 0 comments Download
M ash/display/mouse_cursor_event_filter.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M ash/display/mouse_cursor_event_filter_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M ash/display/resolution_notification_controller_unittest.cc View 1 2 16 chunks +47 lines, -69 lines 0 comments Download
M ash/display/root_window_transformers_unittest.cc View 1 2 3 12 chunks +49 lines, -45 lines 0 comments Download
M ash/display/screen_position_controller_unittest.cc View 1 2 5 chunks +10 lines, -13 lines 0 comments Download
M ash/display/unified_mouse_warp_controller.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/display/unified_mouse_warp_controller_unittest.cc View 1 2 4 chunks +5 lines, -7 lines 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 2 3 43 chunks +146 lines, -120 lines 0 comments Download
M ash/extended_desktop_unittest.cc View 1 2 4 chunks +3 lines, -4 lines 0 comments Download
M ash/mus/workspace/workspace_layout_manager_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/screen_util.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/screen_util.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/sticky_keys/sticky_keys_overlay_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/chromeos/screen_layout_observer_unittest.cc View 1 10 chunks +27 lines, -27 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/ash_test_base.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 4 chunks +36 lines, -1 line 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/test/ash_test_impl_aura.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M ash/test/display_manager_test_api.h View 1 2 6 chunks +14 lines, -11 lines 0 comments Download
M ash/test/display_manager_test_api.cc View 1 2 3 5 chunks +17 lines, -45 lines 0 comments Download
M ash/touch/touch_observer_hud_unittest.cc View 1 10 chunks +15 lines, -13 lines 0 comments Download
M ash/touch/touchscreen_util_unittest.cc View 10 chunks +19 lines, -9 lines 0 comments Download
M ash/utility/screenshot_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/drag_window_resizer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M ash/wm/system_gesture_event_filter_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/window_state_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/window_util.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/window_util_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 29 chunks +80 lines, -93 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/force_maximize_on_first_run_chromeos_browsertest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos_unittest.cc View 1 2 3 30 chunks +34 lines, -30 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
rjkroege
ptal
4 years, 2 months ago (2016-09-30 18:34:50 UTC) #8
oshima
lgtm with nits https://codereview.chromium.org/2355063002/diff/40001/ash/display/display_manager.h File ash/display/display_manager.h (right): https://codereview.chromium.org/2355063002/diff/40001/ash/display/display_manager.h#newcode352 ash/display/display_manager.h:352: const display::Display& GetSecondaryDisplay() const; just fyi: ...
4 years, 2 months ago (2016-10-04 00:47:17 UTC) #13
rjkroege
plus additional owners review: lazyboy@ for chrome/browser/extensions/* achuith@ for chrome/browser/ui/webui/options/chromeos/* msw@ for chrome/browser/ui/window_sizer/* https://codereview.chromium.org/2355063002/diff/40001/ash/display/display_manager.h File ...
4 years, 2 months ago (2016-10-05 00:21:46 UTC) #15
lazyboy
chrome/browser/extensions/* RS LGTM.
4 years, 2 months ago (2016-10-05 00:27:07 UTC) #16
msw
chrome/browser/ui/window_sizer/* lgtm
4 years, 2 months ago (2016-10-05 00:33:58 UTC) #17
achuithb
https://codereview.chromium.org/2355063002/diff/60001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc File chrome/browser/ui/webui/options/chromeos/display_options_handler.cc (right): https://codereview.chromium.org/2355063002/diff/60001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc#newcode19 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc:19: //#include "ash/screen_util.h" What's this?
4 years, 2 months ago (2016-10-05 02:38:10 UTC) #19
rjkroege
ptal https://codereview.chromium.org/2355063002/diff/60001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc File chrome/browser/ui/webui/options/chromeos/display_options_handler.cc (right): https://codereview.chromium.org/2355063002/diff/60001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc#newcode19 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc:19: //#include "ash/screen_util.h" On 2016/10/05 02:38:10, achuithb wrote: > ...
4 years, 2 months ago (2016-10-05 19:07:31 UTC) #20
achuithb
On 2016/10/05 19:07:31, rjkroege wrote: > ptal > > https://codereview.chromium.org/2355063002/diff/60001/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc > File chrome/browser/ui/webui/options/chromeos/display_options_handler.cc > (right): ...
4 years, 2 months ago (2016-10-05 22:13:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2355063002/80001
4 years, 2 months ago (2016-10-06 17:21:18 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-06 18:00:45 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 18:05:05 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/980ccfd4388c98b39813e0570b93502e9b053c50
Cr-Commit-Position: refs/heads/master@{#423586}

Powered by Google App Engine
This is Rietveld 408576698