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

Issue 22703004: Creates notifications for display resolution change. (Closed)

Created:
7 years, 4 months ago by Jun Mukai
Modified:
7 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Creates notifications for display resolution change. The notification notifies the change of the resolution, and contains "Revert" button in case the new resolution doesn't work well. Also it creates timeout in case the change operation is potentially dangerous, which means changing the resolution of the only one display. BUG=230733, 266097 R=oshima@chromium.org, derat@chromium.org TEST=new test cases in ash_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216881

Patch Set 1 #

Patch Set 2 : re-upload #

Total comments: 24

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : fix #

Patch Set 5 : fix on display_preferences_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+784 lines, -5 lines) Patch
M ash/ash.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A ash/display/resolution_notification_controller.h View 1 2 3 4 1 chunk +95 lines, -0 lines 0 comments Download
A ash/display/resolution_notification_controller.cc View 1 2 3 1 chunk +296 lines, -0 lines 0 comments Download
A ash/display/resolution_notification_controller_unittest.cc View 1 2 3 1 chunk +283 lines, -0 lines 0 comments Download
M ash/shell.h View 3 chunks +9 lines, -0 lines 0 comments Download
M ash/shell.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 4 6 chunks +48 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 2 2 chunks +29 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Jun Mukai
7 years, 4 months ago (2013-08-09 00:21:14 UTC) #1
Daniel Erat
all nits except for one question in resolution_notification_controller.cc https://codereview.chromium.org/22703004/diff/2001/ash/display/resolution_notification_controller.cc File ash/display/resolution_notification_controller.cc (right): https://codereview.chromium.org/22703004/diff/2001/ash/display/resolution_notification_controller.cc#newcode230 ash/display/resolution_notification_controller.cc:230: AcceptResolutionChange(); ...
7 years, 4 months ago (2013-08-09 15:50:24 UTC) #2
Jun Mukai
https://codereview.chromium.org/22703004/diff/2001/ash/display/resolution_notification_controller.cc File ash/display/resolution_notification_controller.cc (right): https://codereview.chromium.org/22703004/diff/2001/ash/display/resolution_notification_controller.cc#newcode230 ash/display/resolution_notification_controller.cc:230: AcceptResolutionChange(); On 2013/08/09 15:50:24, Daniel Erat wrote: > can ...
7 years, 4 months ago (2013-08-09 16:49:16 UTC) #3
Daniel Erat
LGTM (but see my comment -- might make more sense to switch back to the ...
7 years, 4 months ago (2013-08-09 16:55:46 UTC) #4
oshima
https://codereview.chromium.org/22703004/diff/10001/ash/display/resolution_notification_controller.h File ash/display/resolution_notification_controller.h (right): https://codereview.chromium.org/22703004/diff/10001/ash/display/resolution_notification_controller.h#newcode61 ash/display/resolution_notification_controller.h:61: struct ResolutionChangeInfo { can you move the definition to ...
7 years, 4 months ago (2013-08-09 17:42:56 UTC) #5
Jun Mukai
https://codereview.chromium.org/22703004/diff/10001/ash/display/resolution_notification_controller.h File ash/display/resolution_notification_controller.h (right): https://codereview.chromium.org/22703004/diff/10001/ash/display/resolution_notification_controller.h#newcode61 ash/display/resolution_notification_controller.h:61: struct ResolutionChangeInfo { On 2013/08/09 17:42:56, oshima wrote: > ...
7 years, 4 months ago (2013-08-09 21:04:57 UTC) #6
oshima_google
lgtm
7 years, 4 months ago (2013-08-09 21:10:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/22703004/21001
7 years, 4 months ago (2013-08-09 21:16:22 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-09 22:29:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/22703004/50001
7 years, 4 months ago (2013-08-10 01:43:51 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186162
7 years, 4 months ago (2013-08-10 07:00:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/22703004/50001
7 years, 4 months ago (2013-08-10 16:15:44 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 18:13:48 UTC) #13
Message was sent while issue was closed.
Change committed as 216881

Powered by Google App Engine
This is Rietveld 408576698