|
|
Created:
7 years, 11 months ago by hshi1 Modified:
7 years, 11 months ago CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv (Not doing code reviews), stevenjb+watch_chromium.org, oshima+watch_chromium.org Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionOnly show start/stop mirroring button when there are multiple displays.
BUG=169124
TEST=manually on parrot
Patch Set 1 #Patch Set 2 : Redirect to chrome settings in single display mode. #
Total comments: 2
Messages
Total messages: 15 (0 generated)
Can you review this? Thanks!
lgtm but probably the display dialog itself should be hidden when there's only one display...
On 2013/01/10 01:27:04, Jun Mukai wrote: > lgtm but probably the display dialog itself should be hidden when there's only > one display... to do so, probably you can just call this.getDefaultPage() in onDisplayChanged_. Asking oshima offline to make sure my thought.
On 2013/01/10 01:27:04, Jun Mukai wrote: > lgtm but probably the display dialog itself should be hidden when there's only > one display... You're correct that when there's only one display, the display setting dialog will not show up on the settings page or be user-accessible via the status notification area in the bottom-right corner. This problem really only shows up when (1) manually type "chrome://settings/display" to open the dialog; or (2) start with multiple displays, open the dialog, then unplug the external monitor.
Message was sent while issue was closed.
On 2013/01/10 01:31:16, hshi1 wrote: > On 2013/01/10 01:27:04, Jun Mukai wrote: > > lgtm but probably the display dialog itself should be hidden when there's only > > one display... > > You're correct that when there's only one display, the display setting dialog > will not show up on the settings page or be user-accessible via the status > notification area in the bottom-right corner. > > This problem really only shows up when > (1) manually type "chrome://settings/display" to open the dialog; or > (2) start with multiple displays, open the dialog, then unplug the external > monitor. My second comment was slightly wrong, this.showDefaultPage(). I think it will redirect the page to 'chrome://settings' from .../display, so we can stop the problem even for those 2 cases you pointed. Can you add that in onDisplayChanged_? Hiding the mirroring button is looking good though, so please keep it. It would be good especially in case that we decide to show the display settings page for some reasons in the future.
Updated with patch set #2 thanks!
lgtm!
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/11818043/4002
Retried try job too often on win_aura for step(s) content_browsertests
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/11818043/4002
Retried try job too often on linux_chromeos for step(s) browser_tests
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/11818043/4002
Message was sent while issue was closed.
https://codereview.chromium.org/11818043/diff/4002/chrome/browser/resources/o... File chrome/browser/resources/options/chromeos/display_options.js (right): https://codereview.chromium.org/11818043/diff/4002/chrome/browser/resources/o... chrome/browser/resources/options/chromeos/display_options.js:1057: OptionsPage.showDefaultPage(); My bad. This is causing all the chrome://settings/xxx pages to be re-directed to the main settings page when only one monitor is attached. CL was already reverted. Need to re-consider this.
Message was sent while issue was closed.
https://codereview.chromium.org/11818043/diff/4002/chrome/browser/resources/o... File chrome/browser/resources/options/chromeos/display_options.js (right): https://codereview.chromium.org/11818043/diff/4002/chrome/browser/resources/o... chrome/browser/resources/options/chromeos/display_options.js:1057: OptionsPage.showDefaultPage(); On 2013/01/10 18:59:24, hshi1 wrote: > My bad. This is causing all the chrome://settings/xxx pages to be re-directed to > the main settings page when only one monitor is attached. CL was already > reverted. Need to re-consider this. Oops, I missed that point too :( Sorry for my bad proposal. Let's separate the patch, first create a CL of toggle-mirroring button, which is apparently safe.
Message was sent while issue was closed.
Makes sense. I've uploaded the CL for toggle-mirroing button at https://codereview.chromium.org/11786011/. |