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

Issue 2196923002: Make ash::DisplayMode more like ui::DisplayMode (Closed)

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

Description

Make ash::DisplayMode more like ui::DisplayMode As a first step towards merging ui::DisplaySnapshot and ash::DisplayInfo, make ash::DisplayMode more like ui::DisplayMode so that a subsequent CL can remove ash::DisplayMode. BUG=626778 Committed: https://crrev.com/8503c15d538e221dcca5843c9376f86efd244c3e Cr-Commit-Position: refs/heads/master@{#410166}

Patch Set 1 #

Patch Set 2 : build fixes #

Patch Set 3 : more tests fixed #

Total comments: 14

Patch Set 4 : review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+910 lines, -741 lines) Patch
M ash/accelerators/accelerator_commands_aura.cc View 1 2 3 3 chunks +13 lines, -12 lines 1 comment Download
M ash/common/display/display_info.h View 1 2 3 5 chunks +43 lines, -16 lines 0 comments Download
M ash/common/display/display_info.cc View 1 7 chunks +79 lines, -46 lines 0 comments Download
M ash/common/display/display_info_unittest.cc View 1 2 3 2 chunks +27 lines, -28 lines 0 comments Download
M ash/display/display_change_observer_chromeos.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 6 chunks +38 lines, -34 lines 0 comments Download
M ash/display/display_change_observer_chromeos_unittest.cc View 6 chunks +160 lines, -160 lines 0 comments Download
M ash/display/display_manager.h View 4 chunks +8 lines, -5 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 13 chunks +68 lines, -58 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 16 chunks +139 lines, -109 lines 0 comments Download
M ash/display/display_util.h View 2 chunks +16 lines, -14 lines 0 comments Download
M ash/display/display_util.cc View 1 2 3 6 chunks +76 lines, -76 lines 0 comments Download
M ash/display/resolution_notification_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/display/resolution_notification_controller.cc View 7 chunks +28 lines, -19 lines 0 comments Download
M ash/display/resolution_notification_controller_unittest.cc View 11 chunks +75 lines, -57 lines 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/test/display_manager_test_api.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/touch/touch_transformer_controller_unittest.cc View 1 2 4 chunks +20 lines, -13 lines 0 comments Download
M ash/touch/touchscreen_util_unittest.cc View 1 2 3 2 chunks +16 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 2 3 3 chunks +23 lines, -22 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos_unittest.cc View 1 2 3 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 2 3 3 chunks +43 lines, -29 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
rjkroege
PTAL. First step. Change to unique_ptr in a next CL.
4 years, 4 months ago (2016-08-02 16:40:04 UTC) #15
oshima
https://codereview.chromium.org/2196923002/diff/40001/ash/accelerators/accelerator_commands_aura.cc File ash/accelerators/accelerator_commands_aura.cc (right): https://codereview.chromium.org/2196923002/diff/40001/ash/accelerators/accelerator_commands_aura.cc#newcode48 ash/accelerators/accelerator_commands_aura.cc:48: return false; move this outside of if? https://codereview.chromium.org/2196923002/diff/40001/ash/common/display/display_info.h File ...
4 years, 4 months ago (2016-08-02 19:44:58 UTC) #16
rjkroege
ptal https://codereview.chromium.org/2196923002/diff/40001/ash/accelerators/accelerator_commands_aura.cc File ash/accelerators/accelerator_commands_aura.cc (right): https://codereview.chromium.org/2196923002/diff/40001/ash/accelerators/accelerator_commands_aura.cc#newcode48 ash/accelerators/accelerator_commands_aura.cc:48: return false; On 2016/08/02 19:44:57, oshima wrote: > ...
4 years, 4 months ago (2016-08-04 00:12:05 UTC) #17
oshima
lgtm https://codereview.chromium.org/2196923002/diff/60001/ash/accelerators/accelerator_commands_aura.cc File ash/accelerators/accelerator_commands_aura.cc (right): https://codereview.chromium.org/2196923002/diff/60001/ash/accelerators/accelerator_commands_aura.cc#newcode51 ash/accelerators/accelerator_commands_aura.cc:51: return false; optional nit: return mode ? .. ...
4 years, 4 months ago (2016-08-04 17:54:01 UTC) #18
rjkroege
+sky for OWNERS in chrome/browser/
4 years, 4 months ago (2016-08-04 20:29:25 UTC) #20
sky
LGTM
4 years, 4 months ago (2016-08-04 22:26:03 UTC) #21
rjkroege
+stevenjb for final OWNERs for chrome/browser/ui/webui/options
4 years, 4 months ago (2016-08-05 18:58:19 UTC) #24
stevenjb
c/b/extensions, c/b/ui/webui lgtm
4 years, 4 months ago (2016-08-05 19:53:52 UTC) #25
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/2196923002/60001
4 years, 4 months ago (2016-08-05 20:38:04 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-05 21:20:21 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 21:21:53 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8503c15d538e221dcca5843c9376f86efd244c3e
Cr-Commit-Position: refs/heads/master@{#410166}

Powered by Google App Engine
This is Rietveld 408576698