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

Issue 2217713002: Remove the system menu display settings row (Closed)

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

Description

Remove the system menu display settings row Remove the display row in the system menu which show up when number of displays changes, screen orientation changes or display resolution changes. However, Notification will be keep sending to the notification center as it is now. Since display tray is removed, the dependencies to SystemTrayItem from TrayDisplay is also removed. So the class name is updated to screen_layout_observer to reflect that it keeps observing screen layout changes and sending notifications to users. TEST=ScreenLayoutObserverTest in ash_unittests BUG=630637 Committed: https://crrev.com/a68ade5167de02938634fa2387e53e20b9353c18 Cr-Commit-Position: refs/heads/master@{#415988}

Patch Set 1 #

Total comments: 51

Patch Set 2 : updates unittests #

Total comments: 12

Patch Set 3 : address comments #

Patch Set 4 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -1398 lines) Patch
M ash/ash.gyp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ash/ash_chromeos_strings.grdp View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ash/resources/ash_resources.grd View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D ash/resources/default_100_percent/cros/status/status_display_dark.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/cros/status/status_display_dark.png View 1 Binary file 0 comments Download
M ash/shell.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
A + ash/system/chromeos/screen_layout_observer.h View 1 2 3 2 chunks +10 lines, -22 lines 0 comments Download
A + ash/system/chromeos/screen_layout_observer.cc View 1 2 3 10 chunks +74 lines, -242 lines 0 comments Download
A + ash/system/chromeos/screen_layout_observer_unittest.cc View 1 2 7 chunks +43 lines, -388 lines 0 comments Download
D ash/system/chromeos/tray_display.h View 1 2 3 1 chunk +0 lines, -76 lines 0 comments Download
D ash/system/chromeos/tray_display_unittest.cc View 1 chunk +0 lines, -617 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M ash/test/test_system_tray_delegate.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M ash/test/test_system_tray_delegate.cc View 1 2 3 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 38 (20 generated)
yiyix
On 2016/08/04 21:04:55, yiyix wrote: > mailto:yiyix@chromium.org changed reviewers: > + mailto:jamescook@chromium.org @jamescook, could you ...
4 years, 4 months ago (2016-08-04 21:06:22 UTC) #3
James Cook
https://codereview.chromium.org/2217713002/diff/1/ash/common/system/tray/system_tray.cc File ash/common/system/tray/system_tray.cc (right): https://codereview.chromium.org/2217713002/diff/1/ash/common/system/tray/system_tray.cc#newcode198 ash/common/system/tray/system_tray.cc:198: // TODO(jamescook): Remove this when mus has support for ...
4 years, 4 months ago (2016-08-05 17:00:25 UTC) #4
tdanderson
https://chromiumcodereview.appspot.com/2217713002/diff/1/ash/system/chromeos/tray_display.cc File ash/system/chromeos/tray_display.cc (left): https://chromiumcodereview.appspot.com/2217713002/diff/1/ash/system/chromeos/tray_display.cc#oldcode165 ash/system/chromeos/tray_display.cc:165: bundle.GetImageNamed(IDR_AURA_UBER_TRAY_DISPLAY).ToImageSkia()); Don't forget to also remove this ID from ...
4 years, 4 months ago (2016-08-08 21:15:57 UTC) #6
yiyix
I made some updates to the unit test class. @jamescook, tdanderson, could you please look ...
4 years, 4 months ago (2016-08-13 05:28:52 UTC) #7
James Cook
I will get to this when I can, but the cros build is having trouble ...
4 years, 4 months ago (2016-08-15 16:33:45 UTC) #8
tdanderson
I think this lg, assuming that you have signoff from Tom/UX regarding any special cases ...
4 years, 4 months ago (2016-08-15 18:55:16 UTC) #9
James Cook
Also, can you add a TEST= line to the CL description? I like to reference ...
4 years, 4 months ago (2016-08-15 21:42:15 UTC) #10
yiyix
@tdanderson and I have discussed in person that it is okay to not show a ...
4 years, 4 months ago (2016-08-16 15:58:37 UTC) #12
tdanderson
lgtm
4 years, 4 months ago (2016-08-16 16:05:28 UTC) #13
James Cook
LGTM. Nice patch.
4 years, 4 months ago (2016-08-16 16:20:19 UTC) #14
yiyix
@oshima, could you please review the changes in chrome/? Thank you
4 years, 4 months ago (2016-08-16 17:51:14 UTC) #16
oshima
I didn't know that we're removing it, but I agree that notificaiton would be good ...
4 years, 4 months ago (2016-08-16 18:29:54 UTC) #17
yiyix
On 2016/08/16 18:29:54, oshima wrote: > I didn't know that we're removing it, but I ...
4 years, 4 months ago (2016-08-18 20:44:23 UTC) #18
oshima
On 2016/08/18 20:44:23, yiyix wrote: > On 2016/08/16 18:29:54, oshima wrote: > > I didn't ...
4 years, 4 months ago (2016-08-24 13:05:22 UTC) #19
oshima
On 2016/08/18 20:44:23, yiyix wrote: > On 2016/08/16 18:29:54, oshima wrote: > > I didn't ...
4 years, 4 months ago (2016-08-24 13:05:24 UTC) #20
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/2217713002/80001
4 years, 3 months ago (2016-09-01 17:33:02 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-01 17:38:31 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 17:42:00 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a68ade5167de02938634fa2387e53e20b9353c18
Cr-Commit-Position: refs/heads/master@{#415988}

Powered by Google App Engine
This is Rietveld 408576698