Description was changed from ========== MD Settings: Display: Add unified desktop control and fix api ...
3 years, 8 months ago
(2017-04-05 19:52:36 UTC)
#1
Description was changed from
==========
MD Settings: Display: Add unified desktop control and fix api
This CL:
* FIxes the chrome.system.display API to correctly support
unified desktop.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
==========
to
==========
MD Settings: Display: Add unified desktop control and fix api
This CL:
* FIxes the chrome.system.display API to correctly support
unified desktop.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
Dry run: Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/7543)
3 years, 8 months ago
(2017-04-05 20:11:26 UTC)
#7
https://codereview.chromium.org/2802603005/diff/1/extensions/common/api/system_display.idl File extensions/common/api/system_display.idl (right): https://codereview.chromium.org/2802603005/diff/1/extensions/common/api/system_display.idl#newcode132 extensions/common/api/system_display.idl:132: // True if this display is in unified desktop ...
3 years, 8 months ago
(2017-04-06 00:03:26 UTC)
#10
idl lgtm if there are no issues with linkifying. https://codereview.chromium.org/2802603005/diff/20001/extensions/common/api/system_display.idl File extensions/common/api/system_display.idl (right): https://codereview.chromium.org/2802603005/diff/20001/extensions/common/api/system_display.idl#newcode133 extensions/common/api/system_display.idl:133: ...
3 years, 8 months ago
(2017-04-06 14:51:43 UTC)
#12
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/356548)
3 years, 8 months ago
(2017-04-06 17:48:03 UTC)
#17
Please RE-REVIEW the API changes; it is a fairly significantly different approach.
3 years, 8 months ago
(2017-04-06 20:30:33 UTC)
#20
Please RE-REVIEW the API changes; it is a fairly significantly different
approach.
stevenjb
Description was changed from ========== MD Settings: Display: Add unified desktop control and fix api ...
3 years, 8 months ago
(2017-04-06 20:32:49 UTC)
#21
Description was changed from
==========
MD Settings: Display: Add unified desktop control and fix api
This CL:
* FIxes the chrome.system.display API to correctly support
unified desktop.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Display: Add unified desktop control and modify api
This CL:
* FIxes the chrome.system.display API to correctly support
unified desktop.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
stevenjb
Description was changed from ========== MD Settings: Display: Add unified desktop control and modify api ...
3 years, 8 months ago
(2017-04-06 20:33:17 UTC)
#22
Description was changed from
==========
MD Settings: Display: Add unified desktop control and modify api
This CL:
* FIxes the chrome.system.display API to correctly support
unified desktop.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Display: Add unified desktop control and modify api
This CL:
* Updates the chrome.system.display API to support unified
desktop for Settings UI.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
stevenjb
xuyuan@, malaykeshav@, ping
3 years, 8 months ago
(2017-04-11 15:45:37 UTC)
#23
xuyuan@, malaykeshav@, ping
xiyuan
still lgtm Sorry, thought I stamped it already.
3 years, 8 months ago
(2017-04-11 15:57:56 UTC)
#24
still lgtm
Sorry, thought I stamped it already.
stevenjb
You did :) But I made a non trivial change to the API so I ...
3 years, 8 months ago
(2017-04-11 17:08:30 UTC)
#25
You did :) But I made a non trivial change to the API so I requested a
re-review.
On Tue, Apr 11, 2017 at 9:57 AM, <xiyuan@chromium.org> wrote:
> still lgtm
>
> Sorry, thought I stamped it already.
>
> https://codereview.chromium.org/2802603005/
>
--
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
malaykeshav
lgtm https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensions/display_info_provider_chromeos.cc File chrome/browser/extensions/display_info_provider_chromeos.cc (right): https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensions/display_info_provider_chromeos.cc#newcode250 chrome/browser/extensions/display_info_provider_chromeos.cc:250: *error = "Unified desktop mode can not be ...
3 years, 8 months ago
(2017-04-11 17:29:13 UTC)
#26
https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensions/display_info_provider_chromeos.cc File chrome/browser/extensions/display_info_provider_chromeos.cc (right): https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensions/display_info_provider_chromeos.cc#newcode250 chrome/browser/extensions/display_info_provider_chromeos.cc:250: *error = "Unified desktop mode can not be set ...
3 years, 8 months ago
(2017-04-11 17:34:38 UTC)
#27
https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensio...
File chrome/browser/extensions/display_info_provider_chromeos.cc (right):
https://codereview.chromium.org/2802603005/diff/80001/chrome/browser/extensio...
chrome/browser/extensions/display_info_provider_chromeos.cc:250: *error =
"Unified desktop mode can not be set with mirroringSourceId.";
On 2017/04/11 17:29:12, malaykeshav wrote:
> What does this error mean?
> It cannot be set when displays are mirrored?
We disallow setting both 'is_unified' and 'mirroring_source_id' at the same
time. (|info| is a dictionary of scoped_ptr, so testing info.mirroring_source_id
tests the *presence* of the property, not the value).
In theory we could allow this value to be empty if is_unified is true, or
anything if *info.is_unified is false (and vice versa), but it's simpler just to
require that only one value or the other be set at a time, rather than duplicate
the model logic here.
stevenjb
The CQ bit was checked by stevenjb@chromium.org
3 years, 8 months ago
(2017-04-11 17:34:44 UTC)
#28
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/191651) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago
(2017-04-11 17:39:52 UTC)
#32
Sorry I didn't get this out sooner :/ https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/system_display.idl File extensions/common/api/system_display.idl (right): https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/system_display.idl#newcode173 extensions/common/api/system_display.idl:173: // ...
3 years, 8 months ago
(2017-04-11 18:54:08 UTC)
#36
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/system_display.idl File extensions/common/api/system_display.idl (right): https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/system_display.idl#newcode173 extensions/common/api/system_display.idl:173: // other properties may not apply. On 2017/04/11 18:54:08, ...
3 years, 8 months ago
(2017-04-11 19:34:47 UTC)
#38
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
File extensions/common/api/system_display.idl (right):
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:173: // other properties may not apply.
On 2017/04/11 18:54:08, Devlin wrote:
> Comment what the default is.
Done.
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:219: // $(ref:enableUnifiedDesktop)).
On 2017/04/11 18:54:08, Devlin wrote:
> Comment also what the default is.
Done.
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:220: boolean? singleUnified;
On 2017/04/11 18:54:08, Devlin wrote:
> singleUnified seems redundant to me - maybe singleDisplay or unifiedDisplay?
single = one result, unified = when in unified desktop mode.
'singleDisplay' is incorrect because multiple displays will be returned if not
in unified desktop mode.
'unifiedDisplay' is also misleading because we may not be in unified desktop
mode.
I don't think there is a good clear property name here. This is a restricted API
that only devs familiar with the concepts should be using.
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:231: // |flags|: See
$(ref:GetInfoFlags).
On 2017/04/11 18:54:08, Devlin wrote:
> similar to the others, |flags| will already have a type that indicates what it
> is. Instead, say something like "The options used to determine which
> information to return".
Done.
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:232: // |callback|: This will be
invoked with an array of $(ref:DisplayUnitInfo).
On 2017/04/11 18:54:08, Devlin wrote:
> same as 238 (sorry, wrote these backwards)
Done.
https://codereview.chromium.org/2802603005/diff/100001/extensions/common/api/...
extensions/common/api/system_display.idl:238: // |callback|: This will be
invoked with an array of $(ref:DisplayLayout).
On 2017/04/11 18:54:08, Devlin wrote:
> The docs already say this by virtue of what the callback looks like. Just say
> something like "the callback to invoke with the results."
Done.
stevenjb
The CQ bit was checked by stevenjb@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-11 19:34:55 UTC)
#39
Dry run: Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/7715)
3 years, 8 months ago
(2017-04-11 20:00:37 UTC)
#42
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1491951112960940, "parent_rev": "9b0d77b15fee21af7508c5dbce762a82599b2f3e", "commit_rev": "717b7c3c86906d088c16fb30f4588fb0a0ea15e3"}
3 years, 8 months ago
(2017-04-12 00:59:38 UTC)
#47
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1491951112960940,
"parent_rev": "9b0d77b15fee21af7508c5dbce762a82599b2f3e", "commit_rev":
"717b7c3c86906d088c16fb30f4588fb0a0ea15e3"}
commit-bot: I haz the power
Description was changed from ========== MD Settings: Display: Add unified desktop control and modify api ...
3 years, 8 months ago
(2017-04-12 01:00:24 UTC)
#48
Message was sent while issue was closed.
Description was changed from
==========
MD Settings: Display: Add unified desktop control and modify api
This CL:
* Updates the chrome.system.display API to support unified
desktop for Settings UI.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD Settings: Display: Add unified desktop control and modify api
This CL:
* Updates the chrome.system.display API to support unified
desktop for Settings UI.
* Adds a unified desktop setting to the MD Settings UI when
the flag is enabled.
BUG=703423
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2802603005
Cr-Commit-Position: refs/heads/master@{#463865}
Committed:
https://chromium.googlesource.com/chromium/src/+/717b7c3c86906d088c16fb30f458...
==========
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/717b7c3c86906d088c16fb30f4588fb0a0ea15e3
3 years, 8 months ago
(2017-04-12 01:00:27 UTC)
#49
Issue 2802603005: MD Settings: Display: Add unified desktop control and modify api
(Closed)
Created 3 years, 8 months ago by stevenjb
Modified 3 years, 8 months ago
Reviewers: malaykeshav, Devlin, robert.bradford, xiyuan
Base URL:
Comments: 34