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

Issue 2792733002: Display: dectect changes to mirror mode and send a notification. (Closed)

Created:
3 years, 8 months ago by stevenjb
Modified:
3 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Display: dectect changes to mirror mode and send a notification. Currently if an external display is removed exiting mirror mode, not DisplayObserver notification is sent. This CL adds a DisplayMetric bit and sets it whenever the mirror mode changes. BUG=707328 Review-Url: https://codereview.chromium.org/2792733002 Cr-Commit-Position: refs/heads/master@{#461810} Committed: https://chromium.googlesource.com/chromium/src/+/0c150c2f05a1bc1e46f8bbace6228d365d4d50d2

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M ui/display/display_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/manager/display_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/display/manager/display_manager.cc View 1 1 chunk +15 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
stevenjb
https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h File ui/display/manager/display_manager.h (right): https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h#newcode475 ui/display/manager/display_manager.h:475: bool mirror_mode_for_metrics_ = false; I tried to avoid the ...
3 years, 8 months ago (2017-04-01 00:38:02 UTC) #2
oshima
https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h File ui/display/manager/display_manager.h (right): https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h#newcode475 ui/display/manager/display_manager.h:475: bool mirror_mode_for_metrics_ = false; On 2017/04/01 00:38:02, stevenjb wrote: ...
3 years, 8 months ago (2017-04-03 19:38:17 UTC) #3
stevenjb
https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h File ui/display/manager/display_manager.h (right): https://codereview.chromium.org/2792733002/diff/1/ui/display/manager/display_manager.h#newcode475 ui/display/manager/display_manager.h:475: bool mirror_mode_for_metrics_ = false; On 2017/04/03 19:38:17, oshima wrote: ...
3 years, 8 months ago (2017-04-03 19:49:50 UTC) #4
oshima
lgtm let me take a look at it but let's land this as you need ...
3 years, 8 months ago (2017-04-03 22:31:51 UTC) #5
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/2792733002/1
3 years, 8 months ago (2017-04-03 22:48:14 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/397085)
3 years, 8 months ago (2017-04-03 23:36:28 UTC) #9
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/2792733002/20001
3 years, 8 months ago (2017-04-04 18:11:00 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 20:15:04 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0c150c2f05a1bc1e46f8bbace622...

Powered by Google App Engine
This is Rietveld 408576698