Multi-monitor extension API.
Bring systemInfo.display out of experimental.
Rename function systemInfo.display.get() to systemInfo.display.getDisplayInfo(),
and implement this function for Chrome OS.
See design docs at
https://code.google.com/p/chromium/issues/detail?id=168709#c13
For other platforms we plan to eventually implement the API but the
schedule is still TBD.
TODO: determine the display device DPI.
TODO: wire up notification of display changes.
BUG=168709
TEST=CQ, manual testing
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179047
Please take a look. This implements systemInfo.display.getDisplayInfo() for Chrome OS. mihaip@, asargent@: owners of chrome/browser/extensions, ...
7 years, 11 months ago
(2013-01-24 01:58:50 UTC)
#1
Please take a look. This implements systemInfo.display.getDisplayInfo() for
Chrome OS.
mihaip@, asargent@: owners of
chrome/browser/extensions, chrome/common/extensions, chrome/renderer/extensions,
chrome/renderer/resources/extensions
sky@, thakis@: owners of
chrome/chrome_browser_extensions.gypi,
chrome/renderer/resources/renderer_resources.grd
oshima@, mukai@: FYI
hshi1
On 2013/01/24 01:58:50, hshi1 wrote: > Please take a look. This implements systemInfo.display.getDisplayInfo() for > ...
7 years, 11 months ago
(2013-01-25 16:40:36 UTC)
#2
On 2013/01/24 01:58:50, hshi1 wrote:
> Please take a look. This implements systemInfo.display.getDisplayInfo() for
> Chrome OS.
>
> mihaip@, asargent@: owners of
> chrome/browser/extensions, chrome/common/extensions,
chrome/renderer/extensions,
> chrome/renderer/resources/extensions
>
> sky@, thakis@: owners of
> chrome/chrome_browser_extensions.gypi,
> chrome/renderer/resources/renderer_resources.grd
>
> oshima@, mukai@: FYI
Ping... Mihai or Antony, can you please review the extensions changes? It is
fairly straightforward. Thanks.
oshima
https://codereview.chromium.org/11882009/diff/55009/chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc File chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc (right): https://codereview.chromium.org/11882009/diff/55009/chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc#newcode1 chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 11 months ago
(2013-01-25 17:28:41 UTC)
#3
lgtm https://codereview.chromium.org/11882009/diff/78001/chrome/renderer/resources/extensions/system_info_display_custom_bindings.js File chrome/renderer/resources/extensions/system_info_display_custom_bindings.js (right): https://codereview.chromium.org/11882009/diff/78001/chrome/renderer/resources/extensions/system_info_display_custom_bindings.js#newcode17 chrome/renderer/resources/extensions/system_info_display_custom_bindings.js:17: new chrome.Event("systemInfo.display.onDisplayChanged"); On 2013/01/26 02:02:17, hshi1 wrote: > ...
7 years, 11 months ago
(2013-01-26 02:05:03 UTC)
#12
lgtm
https://codereview.chromium.org/11882009/diff/78001/chrome/renderer/resources...
File chrome/renderer/resources/extensions/system_info_display_custom_bindings.js
(right):
https://codereview.chromium.org/11882009/diff/78001/chrome/renderer/resources...
chrome/renderer/resources/extensions/system_info_display_custom_bindings.js:17:
new chrome.Event("systemInfo.display.onDisplayChanged");
On 2013/01/26 02:02:17, hshi1 wrote:
> On 2013/01/26 01:52:29, Matt Perry wrote:
> > How does this event work? Nothing ever adds a listener to it, and it doesn't
> > seem to be dispatched ever.
>
> See the CL description -- the event is currently a TODO item, I'm leaving this
> to a separate CL.
>
I would leave this whole file out of this CL then, since it doesn't seem to be
needed until you hook up the event. Not a big deal though.
hshi1
Adding Nico (somehow I forgot to add you for OWNERS review). Need your review for ...
7 years, 11 months ago
(2013-01-26 02:12:19 UTC)
#13
Adding Nico (somehow I forgot to add you for OWNERS review). Need your review
for chrome/chrome_browser_extensions.gypi and renderer_resources.grd. Thanks.
Nico
grd and gypi lgtm
7 years, 11 months ago
(2013-01-26 04:41:30 UTC)
#14
grd and gypi lgtm
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/11882009/86004
7 years, 11 months ago
(2013-01-26 04:44:41 UTC)
#15
Presubmit check for 11882009-86004 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago
(2013-01-26 04:44:50 UTC)
#16
Presubmit check for 11882009-86004 failed and returned exit status 1.
Running presubmit commit checks ...
** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
chrome/browser/extensions/api/system_info_display/system_info_display_api.cc,
line 13, 85 chars
Presubmit checks took 4.7s to calculate.
Issue 11882009: Multi-monitor extension API.
(Closed)
Created 7 years, 11 months ago by hshi1
Modified 7 years, 11 months ago
Reviewers: asargent_no_longer_on_chrome, sky, oshima, Jun Mukai, Matt Perry, Nico
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 21