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

Issue 1594683002: Introduce DisplayConfigurationController (Closed)

Created:
4 years, 11 months ago by stevenjb
Modified:
4 years, 11 months ago
CC:
arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, kalyank, 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@issue_576375_display1b1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce DisplayConfigurationController This class provides a consistent interface for UI and extension API display configuration changes. It handles any animation transtions, extracting animation code from DisplayManager and WindowTreeHostManager. This also cleans up some of the code in DisplayOptionsHandler. BUG=576375 Committed: https://crrev.com/537c5c3f3a4f96823e5923694eda37a34add3cbe Cr-Commit-Position: refs/heads/master@{#370528}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 13

Patch Set 3 : Feedback #

Patch Set 4 : Rebase #

Patch Set 5 : DisplayAnimator -> DisplayAnimatorChromeOS #

Total comments: 6

Patch Set 6 : Additional cleanup #

Patch Set 7 : Add comment #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -547 lines) Patch
M ash/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -2 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M ash/display/display_animator.h View 1 2 3 4 1 chunk +7 lines, -40 lines 0 comments Download
D ash/display/display_animator.cc View 1 2 3 4 1 chunk +0 lines, -209 lines 0 comments Download
A + ash/display/display_animator_chromeos.h View 1 2 3 4 3 chunks +15 lines, -16 lines 0 comments Download
A + ash/display/display_animator_chromeos.cc View 1 2 3 4 4 chunks +15 lines, -11 lines 0 comments Download
A ash/display/display_configuration_controller.h View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
A ash/display/display_configuration_controller.cc View 1 2 3 4 5 6 1 chunk +170 lines, -0 lines 0 comments Download
M ash/display/display_manager.cc View 4 chunks +3 lines, -7 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ash/display/screen_orientation_controller_chromeos.cc View 1 2 2 chunks +4 lines, -9 lines 0 comments Download
M ash/display/window_tree_host_manager.h View 1 2 3 4 5 2 chunks +3 lines, -29 lines 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 2 3 4 5 7 chunks +3 lines, -89 lines 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 chunks +5 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 6 chunks +7 lines, -5 lines 0 comments Download
M ash/test/shell_test_api.cc View 1 2 3 4 2 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 4 5 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 8 chunks +21 lines, -20 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/display_options.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.h View 1 chunk +1 line, -10 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 12 chunks +58 lines, -56 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (14 generated)
stevenjb
LMKWYT
4 years, 11 months ago (2016-01-16 02:33:54 UTC) #3
oshima
https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc#newcode640 ash/accelerators/accelerator_controller.cc:640: #if defined(OS_CHROMEOS) I think you don't have to worry ...
4 years, 11 months ago (2016-01-19 18:49:16 UTC) #4
stevenjb
https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc#newcode640 ash/accelerators/accelerator_controller.cc:640: #if defined(OS_CHROMEOS) On 2016/01/19 18:49:16, oshima wrote: > I ...
4 years, 11 months ago (2016-01-19 20:32:04 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1594683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1594683002/60001
4 years, 11 months ago (2016-01-19 20:33:07 UTC) #7
oshima
https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc#newcode640 ash/accelerators/accelerator_controller.cc:640: #if defined(OS_CHROMEOS) On 2016/01/19 20:32:04, stevenjb wrote: > On ...
4 years, 11 months ago (2016-01-19 20:59:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/112970)
4 years, 11 months ago (2016-01-19 21:15:42 UTC) #10
stevenjb
PTAL https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): https://codereview.chromium.org/1594683002/diff/20001/ash/accelerators/accelerator_controller.cc#newcode640 ash/accelerators/accelerator_controller.cc:640: #if defined(OS_CHROMEOS) On 2016/01/19 20:59:30, oshima wrote: > ...
4 years, 11 months ago (2016-01-20 01:25:36 UTC) #11
oshima
looks much better, thanks. The previous patch seems to have test failures. Can you look ...
4 years, 11 months ago (2016-01-20 02:02:51 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1594683002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1594683002/100001
4 years, 11 months ago (2016-01-20 02:09:36 UTC) #14
stevenjb
PS5 should fix the tests also, tested in Debug mode locally (destruction order was incorrect). ...
4 years, 11 months ago (2016-01-20 02:13:13 UTC) #15
oshima
lgtm
4 years, 11 months ago (2016-01-20 02:26:40 UTC) #16
stevenjb
+rockot@chromium.org for c/b/extensions OWNER +isherman@chromium.org for actions.xml
4 years, 11 months ago (2016-01-20 18:00:47 UTC) #18
stevenjb
4 years, 11 months ago (2016-01-20 18:34:39 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1594683002/70021 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1594683002/70021
4 years, 11 months ago (2016-01-20 18:36:08 UTC) #22
Ken Rockot(use gerrit already)
rs lgtm
4 years, 11 months ago (2016-01-20 18:40:54 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 19:45:58 UTC) #25
stevenjb
+mpearson@, jwd@ for a quick OWNERS review of actions.xml, thanks!
4 years, 11 months ago (2016-01-20 21:32:41 UTC) #27
Ilya Sherman
actions.xml lgtm
4 years, 11 months ago (2016-01-20 23:13:27 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1594683002/70021 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1594683002/70021
4 years, 11 months ago (2016-01-20 23:27:23 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:70021)
4 years, 11 months ago (2016-01-20 23:38:25 UTC) #33
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 23:39:31 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/537c5c3f3a4f96823e5923694eda37a34add3cbe
Cr-Commit-Position: refs/heads/master@{#370528}

Powered by Google App Engine
This is Rietveld 408576698