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

Issue 1019623002: Remove DisplayState from the public interface for DisplayConfigurator (Closed)

Created:
5 years, 9 months ago by dnicoara
Modified:
5 years, 9 months ago
Reviewers:
James Cook, oshima
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DisplayState from the public interface for DisplayConfigurator The extra fields in DisplayState were only used internally and we don't need to keep track of them. We can simply compute them when performing the display configuration. This is a refactor, no functional change intended. BUG=none Committed: https://crrev.com/5cc656d7160107491cdebdefd8752ff013f12521 Cr-Commit-Position: refs/heads/master@{#321372}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update ash_unittests #

Total comments: 12

Patch Set 3 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -277 lines) Patch
M ash/display/display_change_observer_chromeos.h View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 5 chunks +33 lines, -44 lines 0 comments Download
M ash/display/display_change_observer_chromeos_unittest.cc View 1 8 chunks +10 lines, -20 lines 0 comments Download
M ash/display/projecting_observer_chromeos.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/display/projecting_observer_chromeos_unittest.cc View 1 7 chunks +22 lines, -44 lines 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 1 2 2 chunks +5 lines, -12 lines 0 comments Download
M ash/wm/power_button_controller.cc View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/display/chromeos/display_configurator.h View 5 chunks +4 lines, -28 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 18 chunks +51 lines, -45 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 3 chunks +9 lines, -15 lines 0 comments Download
M ui/display/chromeos/display_util.h View 2 chunks +8 lines, -5 lines 0 comments Download
M ui/display/chromeos/display_util.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M ui/display/chromeos/update_display_configuration_task.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/display/chromeos/update_display_configuration_task.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/display/chromeos/update_display_configuration_task_unittest.cc View 1 2 3 chunks +17 lines, -37 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
dnicoara
PTAL https://codereview.chromium.org/1019623002/diff/1/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/1019623002/diff/1/ui/display/chromeos/display_configurator.cc#newcode561 ui/display/chromeos/display_configurator.cc:561: for (DisplayStateList::const_iterator it = cached_displays_.begin(); I was thinking ...
5 years, 9 months ago (2015-03-18 20:01:50 UTC) #2
oshima
nice. just minor nits. https://codereview.chromium.org/1019623002/diff/1/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/1019623002/diff/1/ui/display/chromeos/display_configurator.cc#newcode561 ui/display/chromeos/display_configurator.cc:561: for (DisplayStateList::const_iterator it = cached_displays_.begin(); ...
5 years, 9 months ago (2015-03-18 23:02:45 UTC) #3
dnicoara
Also found a few places in extensions/* that required updates. https://codereview.chromium.org/1019623002/diff/20001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/1019623002/diff/20001/ash/display/display_change_observer_chromeos.cc#newcode88 ...
5 years, 9 months ago (2015-03-19 14:47:36 UTC) #4
oshima
lgtm
5 years, 9 months ago (2015-03-19 15:22:08 UTC) #5
dnicoara
+ jamescook@ for extensions/* review
5 years, 9 months ago (2015-03-19 15:23:24 UTC) #7
James Cook
extensions/shell LGTM
5 years, 9 months ago (2015-03-19 15:36:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1019623002/40001
5 years, 9 months ago (2015-03-19 15:39:29 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-19 16:40:02 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 16:40:42 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5cc656d7160107491cdebdefd8752ff013f12521
Cr-Commit-Position: refs/heads/master@{#321372}

Powered by Google App Engine
This is Rietveld 408576698