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

Issue 2270553002: Move ash::DisplayInfo to ui (Closed)

Created:
4 years, 4 months ago by rjkroege
Modified:
4 years, 3 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, davemoore+watch_chromium.org, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, jam, kalyank, kylechar, michaelpg+watch-options_chromium.org, mlamouri+watch-screen-orientation_chromium.org, oshima+watch_chromium.org, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ash::DisplayInfo to ui To permit reusing portions of ash/display in both mus and ash, we need to move some code to ui. Start this process by relocating ash/common/display/display_info.* as it is the root of the inclusion dependency tree. BUG=581462 Committed: https://crrev.com/259c01882447ce69f9e65fa526bb3789822a18c2 Cr-Commit-Position: refs/heads/master@{#415395}

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : rebased #

Total comments: 2

Patch Set 4 : build #

Total comments: 8

Patch Set 5 : review comments #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -1710 lines) Patch
M ash/accelerators/accelerator_commands_aura.cc View 1 2 3 4 4 chunks +11 lines, -9 lines 0 comments Download
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M ash/aura/wm_shell_aura.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/aura/wm_shell_aura.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
D ash/common/display/display_info.h View 1 chunk +0 lines, -364 lines 0 comments Download
D ash/common/display/display_info.cc View 1 chunk +0 lines, -499 lines 0 comments Download
D ash/common/display/display_info_unittest.cc View 1 chunk +0 lines, -147 lines 0 comments Download
M ash/common/system/audio/tray_audio.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos_unittest.cc View 1 2 3 4 4 chunks +11 lines, -10 lines 0 comments Download
M ash/dip_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_change_observer_chromeos.h View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 8 chunks +28 lines, -24 lines 0 comments Download
M ash/display/display_change_observer_chromeos_unittest.cc View 1 2 3 4 7 chunks +11 lines, -11 lines 0 comments Download
M ash/display/display_manager.h View 1 2 3 4 10 chunks +26 lines, -20 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 4 39 chunks +90 lines, -75 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 4 39 chunks +109 lines, -97 lines 0 comments Download
M ash/display/display_util.h View 1 2 3 4 2 chunks +21 lines, -16 lines 0 comments Download
M ash/display/display_util.cc View 1 2 3 4 7 chunks +73 lines, -60 lines 0 comments Download
M ash/display/mirror_window_controller.h View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M ash/display/mirror_window_controller.cc View 1 2 3 4 5 chunks +6 lines, -6 lines 0 comments Download
M ash/display/mirror_window_controller_unittest.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M ash/display/resolution_notification_controller.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ash/display/resolution_notification_controller.cc View 1 2 3 4 7 chunks +15 lines, -14 lines 0 comments Download
M ash/display/resolution_notification_controller_unittest.cc View 1 2 3 4 10 chunks +21 lines, -18 lines 0 comments Download
M ash/display/root_window_transformers.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M ash/display/root_window_transformers.cc View 1 2 3 4 7 chunks +10 lines, -8 lines 0 comments Download
M ash/display/root_window_transformers_unittest.cc View 1 2 3 4 5 3 chunks +5 lines, -4 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M ash/display/unified_mouse_warp_controller_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ash/display/window_tree_host_manager.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 2 3 4 6 chunks +7 lines, -6 lines 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 2 3 4 5 11 chunks +31 lines, -27 lines 0 comments Download
M ash/host/ash_window_tree_host_unified.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M ash/system/chromeos/tray_display.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/chromeos/tray_display.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M ash/test/display_manager_test_api.cc View 1 2 3 4 7 chunks +13 lines, -11 lines 0 comments Download
M ash/touch/touch_observer_hud_unittest.cc View 1 2 3 4 2 chunks +8 lines, -6 lines 0 comments Download
M ash/touch/touch_transformer_controller.h View 1 2 3 4 2 chunks +11 lines, -9 lines 0 comments Download
M ash/touch/touch_transformer_controller.cc View 1 2 3 4 6 chunks +12 lines, -12 lines 0 comments Download
M ash/touch/touch_transformer_controller_unittest.cc View 1 2 3 4 6 chunks +28 lines, -26 lines 0 comments Download
M ash/touch/touchscreen_util.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/touch/touchscreen_util.cc View 1 2 3 4 12 chunks +16 lines, -14 lines 0 comments Download
M ash/touch/touchscreen_util_unittest.cc View 1 2 3 4 6 chunks +31 lines, -25 lines 0 comments Download
M ash/wallpaper/wallpaper_controller.cc View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M ash/wallpaper/wallpaper_view.cc View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/ash_native_cursor_manager_interactive_uitest.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 3 4 5 6 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 4 4 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/display/overscan_calibrator.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 2 3 4 5 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos_unittest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service_regular.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 2 3 4 6 chunks +10 lines, -10 lines 0 comments Download
M components/exo/pointer.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M components/exo/wm_helper.h View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M components/exo/wm_helper_ash.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/wm_helper_ash.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/wm_helper_mus.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/exo/wm_helper_mus.cc View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M ui/display/BUILD.gn View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A + ui/display/manager/managed_display_info.h View 1 2 3 4 7 chunks +25 lines, -21 lines 0 comments Download
A + ui/display/manager/managed_display_info.cc View 1 2 3 4 20 chunks +41 lines, -37 lines 0 comments Download
A + ui/display/manager/managed_display_info_unittest.cc View 1 2 3 4 5 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 47 (29 generated)
rjkroege
ptal. More moving.
4 years, 4 months ago (2016-08-23 00:03:24 UTC) #2
oshima
On 2016/08/23 00:03:24, rjkroege wrote: > ptal. More moving. Test failure looks real. Can you ...
4 years, 4 months ago (2016-08-24 13:04:27 UTC) #7
rjkroege
oops. I forgot to delete one line of debugging code. Fixed. PTAL.
4 years, 4 months ago (2016-08-24 19:03:09 UTC) #9
hshi
https://codereview.chromium.org/2270553002/diff/40001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2270553002/diff/40001/ash/common/wm_shell.h#newcode36 ash/common/wm_shell.h:36: } nit: alphabetically "namespace ui" should appear above "namespace ...
4 years, 4 months ago (2016-08-25 00:43:42 UTC) #18
rjkroege
ptal https://codereview.chromium.org/2270553002/diff/40001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2270553002/diff/40001/ash/common/wm_shell.h#newcode36 ash/common/wm_shell.h:36: } On 2016/08/25 00:43:42, hshi wrote: > nit: ...
4 years, 3 months ago (2016-08-25 21:42:16 UTC) #19
oshima
lgtm https://codereview.chromium.org/2270553002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc File ash/content/display/screen_orientation_controller_chromeos_unittest.cc (right): https://codereview.chromium.org/2270553002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc#newcode640 ash/content/display/screen_orientation_controller_chromeos_unittest.cc:640: // so nit: format https://codereview.chromium.org/2270553002/diff/60001/ash/display/window_tree_host_manager.h File ash/display/window_tree_host_manager.h (right): ...
4 years, 3 months ago (2016-08-26 21:47:53 UTC) #24
kylechar
https://codereview.chromium.org/2270553002/diff/60001/ui/display/manager/managed_display_info.h File ui/display/manager/managed_display_info.h (right): https://codereview.chromium.org/2270553002/diff/60001/ui/display/manager/managed_display_info.h#newcode22 ui/display/manager/managed_display_info.h:22: namespace ui { Should this be namespace display? It ...
4 years, 3 months ago (2016-08-29 16:01:33 UTC) #26
rjkroege
comments addressed. ptal. And: reveman@ owners for components/exo/* stevenjb@ owners for chrome/browser/ui/webui/options/chromeos rockot@ owners for ...
4 years, 3 months ago (2016-08-29 22:22:00 UTC) #28
stevenjb
c/b/ui/webui lgtm
4 years, 3 months ago (2016-08-29 22:23:39 UTC) #29
reveman
components/exo lgtm
4 years, 3 months ago (2016-08-29 22:24:18 UTC) #30
Ken Rockot(use gerrit already)
lgtm
4 years, 3 months ago (2016-08-30 01:01:49 UTC) #31
Roger Tawa OOO till Jul 10th
lgtm chrome/browser/signin
4 years, 3 months ago (2016-08-30 15:48:46 UTC) #34
hshi
lgtm
4 years, 3 months ago (2016-08-30 17:47:49 UTC) #35
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/2270553002/80001
4 years, 3 months ago (2016-08-30 17:49:25 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/120858) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-08-30 17:53:57 UTC) #40
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/2270553002/100001
4 years, 3 months ago (2016-08-30 18:04:46 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-08-30 19:30:13 UTC) #45
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 19:32:54 UTC) #47
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/259c01882447ce69f9e65fa526bb3789822a18c2
Cr-Commit-Position: refs/heads/master@{#415395}

Powered by Google App Engine
This is Rietveld 408576698