Commit 2a8298f2 authored by Mike Wasserman's avatar Mike Wasserman Committed by Commit Bot

Update some Screen Enumeration mentions to Window Placement

Use the active window-placement repo url and name instead.
Leaves some mentions that are still abstractly applicable.
Copy Screen TODO from third_party/blink/renderer/core/frame/screen.h

Bug: 897300
Change-Id: I134516e21a74f0cec5f543306efa39fad6d76dc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358134Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Michael Wasserman <msw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799460}
parent 5de0588a
......@@ -44,7 +44,8 @@
[HighEntropy=Direct, Measure] readonly attribute long availTop;
// Proposed
// https://github.com/webscreens/screen-enumeration
// https://github.com/webscreens/window-placement
// TODO(crbug.com/1116528): Use a dictionary, not the Screen interface, for proposed multi-screen info.
[HighEntropy=Direct, MeasureAs=WindowScreenLeft, RuntimeEnabled=WindowPlacement] readonly attribute long left;
[HighEntropy=Direct, MeasureAs=WindowScreenTop, RuntimeEnabled=WindowPlacement] readonly attribute long top;
[HighEntropy=Direct, MeasureAs=WindowScreenInternal, RuntimeEnabled=WindowPlacement] readonly attribute boolean internal;
......
......@@ -16,7 +16,7 @@ class ScriptPromise;
class ScriptState;
// A proposed interface for querying the state of the device's screen space.
// https://github.com/webscreens/screen-enumeration
// https://github.com/webscreens/window-placement
class GlobalScreenEnumeration {
STATIC_ONLY(GlobalScreenEnumeration);
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/webscreens/screen-enumeration
// https://github.com/webscreens/window-placement
[
SecureContext,
RuntimeEnabled=WindowPlacement,
......
<!DOCTYPE html>
<meta charset='utf-8'>
<title>Screen Enumeration: getScreens() tentative</title>
<title>Window Placement: getScreens() tentative</title>
<!-- TODO: update link to W3C whenever specifications are ready -->
<link rel='help' href='https://github.com/webscreens/screen-enumeration'/>
<link rel='help' href='https://github.com/webscreens/window-placement'/>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='resources/screenenumeration-helpers.js'></script>
......
<!DOCTYPE html>
<meta charset='utf-8'>
<title>Screen Enumeration: isMultiScreen() tentative</title>
<title>Window Placement: isMultiScreen() tentative</title>
<!-- TODO: update link to W3C whenever specifications are ready -->
<link rel='help' href='https://github.com/webscreens/screen-enumeration'/>
<link rel='help' href='https://github.com/webscreens/window-placement'/>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='resources/screenenumeration-helpers.js'></script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment