[Modern Media Controls] UI Library: StatusLabel
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2016 19:37:22 +0000 (19:37 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2016 19:37:22 +0000 (19:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=164544
<rdar://problem/29179541>

Reviewed by Dean Jackson.

We add a new StatusLabel class to display a string of text in place of the TimeControl.
A followup patch will add the logic to display "Error", "Loading" and "Live Broadcast"
test under the right media state.

Tests: media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html
       media/modern-media-controls/status-label/status-label.html

* Modules/modern-media-controls/controls/macos-inline-media-controls.css:
(.media-controls.mac.inline .time-label,):
(.media-controls.mac.inline .time-label): Deleted.
* Modules/modern-media-controls/controls/macos-inline-media-controls.js:
(MacOSInlineMediaControls.prototype.layout):
* Modules/modern-media-controls/controls/media-controls.js:
(MediaControls.):
* Modules/modern-media-controls/controls/status-label.css: Added.
(.status-label):
* Modules/modern-media-controls/controls/status-label.js: Added.
(StatusLabel.prototype.get text):
(StatusLabel.prototype.set text):
(StatusLabel.prototype.commitProperty):
* Modules/modern-media-controls/js-files:
* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 files changed:
LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-constructor-expected.txt
LayoutTests/media/modern-media-controls/media-controls/media-controls-constructor.html
LayoutTests/media/modern-media-controls/resources/media-controls-loader.js
LayoutTests/media/modern-media-controls/status-label/status-label-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/status-label/status-label.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/macos-inline-media-controls.css
Source/WebCore/Modules/modern-media-controls/controls/macos-inline-media-controls.js
Source/WebCore/Modules/modern-media-controls/controls/media-controls.js
Source/WebCore/Modules/modern-media-controls/controls/status-label.css [new file with mode: 0644]
Source/WebCore/Modules/modern-media-controls/controls/status-label.js [new file with mode: 0644]
Source/WebCore/Modules/modern-media-controls/js-files
Source/WebCore/WebCore.xcodeproj/project.pbxproj

index 8aa8710..a25f41b 100644 (file)
@@ -1,3 +1,35 @@
+2016-11-09  Antoine Quint  <graouts@apple.com>
+
+        [Modern Media Controls] UI Library: StatusLabel
+        https://bugs.webkit.org/show_bug.cgi?id=164544
+        <rdar://problem/29179541>
+
+        Reviewed by Dean Jackson.
+
+        Adding new tests for the core properties of the new StatusLabel class, as well as adding a test
+        to check we use the correct layout when the StatusLabel has its text set and the time controls
+        needs to be replaced with it. We also make a few existing tests use the script loader so that
+        they continue to pass with the addition of a new JS class.
+
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label-expected.txt: Added.
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html: Added.
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-visibility.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
+        * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-dropping-controls.html:
+        * media/modern-media-controls/macos-media-controls/macos-media-controls.html:
+        * media/modern-media-controls/media-controls/media-controls-constructor-expected.txt:
+        * media/modern-media-controls/media-controls/media-controls-constructor.html:
+        * media/modern-media-controls/media-controls/media-controls-placard.html:
+        * media/modern-media-controls/media-controls/media-controls-start-button.html:
+        * media/modern-media-controls/resources/media-controls-loader.js:
+        * media/modern-media-controls/status-label/status-label-expected.txt: Added.
+        * media/modern-media-controls/status-label/status-label.html: Added.
+
 2016-11-08  Antoine Quint  <graouts@apple.com>
 
         [Modern Media Controls] UI Library: iOS inline controls
diff --git a/LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label-expected.txt b/LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label-expected.txt
new file mode 100644 (file)
index 0000000..4470372
--- /dev/null
@@ -0,0 +1,17 @@
+Testing the MacOSInlineMediaControls layout with the statusLabel property set.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Default state
+PASS mediaControls.controlsBar.children.includes(mediaControls.statusLabel) is false
+PASS mediaControls.controlsBar.children.includes(mediaControls.timeControl) is true
+
+After setting statusLabel
+PASS mediaControls.controlsBar.children.includes(mediaControls.statusLabel) is true
+PASS mediaControls.controlsBar.children.includes(mediaControls.timeControl) is false
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html b/LayoutTests/media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html
new file mode 100644 (file)
index 0000000..cf0cf4e
--- /dev/null
@@ -0,0 +1,35 @@
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../resources/media-controls-loader.js" type="text/javascript"></script>
+<body>
+<script type="text/javascript">
+
+description("Testing the <code>MacOSInlineMediaControls</code> layout with the <code>statusLabel</code> property set.");
+
+window.jsTestIsAsync = true;
+
+const mediaControls = new MacOSInlineMediaControls({ width: 680, height: 50 });
+
+let numberOfFrames = 0;
+scheduler.frameDidFire = function()
+{
+
+    numberOfFrames++;
+
+    if (numberOfFrames == 1) {
+        debug("Default state");
+        shouldBeFalse("mediaControls.controlsBar.children.includes(mediaControls.statusLabel)");
+        shouldBeTrue("mediaControls.controlsBar.children.includes(mediaControls.timeControl)");
+        mediaControls.statusLabel.text = "Hello World!";
+    } else if (numberOfFrames == 2) {
+        debug("");
+        debug("After setting statusLabel");
+        shouldBeTrue("mediaControls.controlsBar.children.includes(mediaControls.statusLabel)");
+        shouldBeFalse("mediaControls.controlsBar.children.includes(mediaControls.timeControl)");
+        debug("");
+        finishJSTest();
+    }
+};
+
+</script>
+<script src="../../../resources/js-test-post.js"></script>
+</body>
index cb567be..6381865 100644 (file)
@@ -17,6 +17,7 @@ PASS mediaControls.skipBackButton instanceof SkipBackButton is true
 PASS mediaControls.airplayButton instanceof AirplayButton is true
 PASS mediaControls.pipButton instanceof PiPButton is true
 PASS mediaControls.fullscreenButton instanceof FullscreenButton is true
+PASS mediaControls.statusLabel instanceof StatusLabel is true
 PASS mediaControls.timeControl instanceof TimeControl is true
 PASS mediaControls.airplayPlacard instanceof AirplayPlacard is true
 PASS mediaControls.pipPlacard instanceof PiPPlacard is true
index 22d9dd5..175a99d 100644 (file)
@@ -23,6 +23,7 @@ shouldBeTrue("mediaControls.skipBackButton instanceof SkipBackButton");
 shouldBeTrue("mediaControls.airplayButton instanceof AirplayButton");
 shouldBeTrue("mediaControls.pipButton instanceof PiPButton");
 shouldBeTrue("mediaControls.fullscreenButton instanceof FullscreenButton");
+shouldBeTrue("mediaControls.statusLabel instanceof StatusLabel");
 shouldBeTrue("mediaControls.timeControl instanceof TimeControl");
 shouldBeTrue("mediaControls.airplayPlacard instanceof AirplayPlacard");
 shouldBeTrue("mediaControls.pipPlacard instanceof PiPPlacard");
index 67ec9ec..f5ef65c 100644 (file)
@@ -3,7 +3,7 @@
     const layoutTestsPath = window.location.href.substr(0, window.location.href.indexOf("/LayoutTests/"));
     const modulePath = layoutTestsPath ? layoutTestsPath + "/Source/WebCore/Modules/modern-media-controls" : "/modern-media-controls";
 
-    ["media-controls", "scrubber", "volume-slider", "slider", "button", "start-button", "icon-button", "airplay-button", "time-label", "macos-inline-media-controls", "macos-fullscreen-media-controls", "ios-inline-media-controls", "buttons-container", "placard"].forEach(cssFile => {
+    ["media-controls", "scrubber", "volume-slider", "slider", "button", "start-button", "icon-button", "airplay-button", "time-label", "status-label", "macos-inline-media-controls", "macos-fullscreen-media-controls", "ios-inline-media-controls", "buttons-container", "placard"].forEach(cssFile => {
         document.write(`<link rel="stylesheet" type="text/css" href="${modulePath}/controls/${cssFile}.css">`);
     });
 
diff --git a/LayoutTests/media/modern-media-controls/status-label/status-label-expected.txt b/LayoutTests/media/modern-media-controls/status-label/status-label-expected.txt
new file mode 100644 (file)
index 0000000..9791da1
--- /dev/null
@@ -0,0 +1,31 @@
+Testing the StatusText class.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Constructor
+PASS statusLabel.element.localName is "div"
+PASS statusLabel.element.className is "status-label"
+PASS statusLabel.text is ""
+
+Setting the `text` property
+layoutDelegate.needsLayout set to true
+PASS statusLabel.text is "Hello World!"
+PASS statusLabel.element.textContent is "Hello World!"
+
+Computed style
+PASS style.position is "absolute"
+PASS style.textOverflow is "ellipsis"
+PASS style.whiteSpace is "nowrap"
+PASS style.overflow is "hidden"
+PASS style.fontFamily is "-apple-system"
+PASS style.fontSize is "14px"
+PASS rgba(style.color).r is 255
+PASS rgba(style.color).g is 255
+PASS rgba(style.color).b is 255
+PASS rgba(style.color).a is within 0.001 of 0.572
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/media/modern-media-controls/status-label/status-label.html b/LayoutTests/media/modern-media-controls/status-label/status-label.html
new file mode 100644 (file)
index 0000000..7bc5a1a
--- /dev/null
@@ -0,0 +1,53 @@
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../resources/media-controls-utils.js" type="text/javascript"></script>
+<script src="../resources/media-controls-loader.js" type="text/javascript"></script>
+<body>
+<script type="text/javascript">
+
+window.jsTestIsAsync = true;
+
+description("Testing the <code>StatusText</code> class.");
+
+const statusLabel = new StatusLabel({
+    set needsLayout(flag)
+    {
+        debug("layoutDelegate.needsLayout set to " + flag);
+    }
+});
+
+debug("Constructor");
+shouldBeEqualToString("statusLabel.element.localName", "div");
+shouldBeEqualToString("statusLabel.element.className", "status-label");
+shouldBeEqualToString("statusLabel.text", "");
+
+debug("");
+debug("Setting the `text` property");
+statusLabel.text = "Hello World!";
+shouldBeEqualToString("statusLabel.text", "Hello World!");
+
+let style;
+scheduler.frameDidFire = function()
+{
+    document.body.appendChild(statusLabel.element);
+
+    shouldBeEqualToString("statusLabel.element.textContent", "Hello World!");
+
+    debug("");
+    debug("Computed style");
+    style = window.getComputedStyle(statusLabel.element);
+    shouldBeEqualToString("style.position", "absolute");
+    shouldBeEqualToString("style.textOverflow", "ellipsis");
+    shouldBeEqualToString("style.whiteSpace", "nowrap");
+    shouldBeEqualToString("style.overflow", "hidden");
+    shouldBeEqualToString("style.fontFamily", "-apple-system");
+    shouldBeEqualToString("style.fontSize", "14px");
+    shouldBeEqualToRGBAColor("style.color", "rgba(255, 255, 255, 0.572)");
+
+    statusLabel.element.remove();
+    debug("");
+    finishJSTest();
+}
+
+</script>
+<script src="../../../resources/js-test-post.js"></script>
+</body>
index 1203c42..f3de074 100644 (file)
@@ -1,3 +1,34 @@
+2016-11-09  Antoine Quint  <graouts@apple.com>
+
+        [Modern Media Controls] UI Library: StatusLabel
+        https://bugs.webkit.org/show_bug.cgi?id=164544
+        <rdar://problem/29179541>
+
+        Reviewed by Dean Jackson.
+
+        We add a new StatusLabel class to display a string of text in place of the TimeControl.
+        A followup patch will add the logic to display "Error", "Loading" and "Live Broadcast"
+        test under the right media state.
+
+        Tests: media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html
+               media/modern-media-controls/status-label/status-label.html
+
+        * Modules/modern-media-controls/controls/macos-inline-media-controls.css:
+        (.media-controls.mac.inline .time-label,):
+        (.media-controls.mac.inline .time-label): Deleted.
+        * Modules/modern-media-controls/controls/macos-inline-media-controls.js:
+        (MacOSInlineMediaControls.prototype.layout):
+        * Modules/modern-media-controls/controls/media-controls.js:
+        (MediaControls.):
+        * Modules/modern-media-controls/controls/status-label.css: Added.
+        (.status-label):
+        * Modules/modern-media-controls/controls/status-label.js: Added.
+        (StatusLabel.prototype.get text):
+        (StatusLabel.prototype.set text):
+        (StatusLabel.prototype.commitProperty):
+        * Modules/modern-media-controls/js-files:
+        * WebCore.xcodeproj/project.pbxproj:
+
 2016-11-09  Chris Dumez  <cdumez@apple.com>
 
         [Mac] Stop using deprecated AppKit enumeration values
index 1f1673c..0005c67 100644 (file)
     -webkit-mask-position-y: 13px;
 }
 
-/* Time labels */
+/* Labels */
 
-.media-controls.mac.inline .time-label {
+.media-controls.mac.inline .time-label,
+.media-controls.mac.inline .status-label {
     top: 14.5px;
 }
 
index ab37f39..286b71f 100644 (file)
@@ -74,13 +74,19 @@ class MacOSInlineMediaControls extends MacOSMediaControls
         this._leftContainer.layout();
         this._rightContainer.layout();
 
-        this.timeControl.width = this.width - this._leftContainer.width - this._rightContainer.width;
+        const middleContainer = !!this.statusLabel.text ? this.statusLabel : this.timeControl;
+        this.controlsBar.children = [this._leftContainer, middleContainer, this._rightContainer, this._volumeSliderContainer];
 
-        if (this.timeControl.isSufficientlyWide) {
-            this.controlsBar.insertBefore(this.timeControl, this._rightContainer);
+        if (middleContainer === this.timeControl)
+            this.timeControl.width = this.width - this._leftContainer.width - this._rightContainer.width;
+
+        if (middleContainer === this.timeControl && this.timeControl.isSufficientlyWide)
             this.timeControl.x = this._leftContainer.width;
-        else {
+        else {
             this.timeControl.remove();
+
+            let droppedControls = false;
+
             // Since we don't have enough space to display the scrubber, we may also not have
             // enough space to display all buttons in the left and right containers, so gradually drop them.
             for (let button of [this.airplayButton, this.pipButton, this.tracksButton, this.muteButton, this.skipBackButton, this.fullscreenButton]) {
@@ -88,6 +94,8 @@ class MacOSInlineMediaControls extends MacOSMediaControls
                 if (this._leftContainer.width + this._rightContainer.width < this.width)
                     break;
 
+                droppedControls = true;
+
                 // If the button was already not participating in layout, we can skip it.
                 if (!button.visible)
                     continue;
@@ -98,6 +106,12 @@ class MacOSInlineMediaControls extends MacOSMediaControls
                 this._leftContainer.layout();
                 this._rightContainer.layout();
             }
+
+            // We didn't need to drop controls and we have status text to show.
+            if (!droppedControls && middleContainer === this.statusLabel) {
+                this.statusLabel.x = this._leftContainer.width;
+                this.statusLabel.width = this.width - this._leftContainer.width - this._rightContainer.width;
+            }
         }
 
         this._rightContainer.x = this.width - this._rightContainer.width;
index 5b84848..57918a5 100644 (file)
@@ -42,6 +42,7 @@ class MediaControls extends LayoutNode
         this.pipButton = new PiPButton(this);
         this.fullscreenButton = new FullscreenButton(this);
 
+        this.statusLabel = new StatusLabel(this)
         this.timeControl = new TimeControl(this);
 
         this.controlsBar = new LayoutItem({
diff --git a/Source/WebCore/Modules/modern-media-controls/controls/status-label.css b/Source/WebCore/Modules/modern-media-controls/controls/status-label.css
new file mode 100644 (file)
index 0000000..f05f622
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+.status-label {
+    position: absolute;
+
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    overflow: hidden;
+
+    font-family: -apple-system;
+    font-size: 14px;
+
+    color: rgba(255, 255, 255, 0.572);
+}
diff --git a/Source/WebCore/Modules/modern-media-controls/controls/status-label.js b/Source/WebCore/Modules/modern-media-controls/controls/status-label.js
new file mode 100644 (file)
index 0000000..b44183f
--- /dev/null
@@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+class StatusLabel extends LayoutItem
+{
+
+    constructor(layoutDelegate)
+    {
+        super({
+            element: `<div class="status-label">`,
+            layoutDelegate
+        });
+
+        this._text = "";
+    }
+
+    // Public
+
+    get text()
+    {
+        return this._text;
+    }
+
+    set text(text)
+    {
+        if (text === this._text)
+            return;
+
+        this._text = text;
+        this.markDirtyProperty("text");
+
+        if (this.layoutDelegate)
+            this.layoutDelegate.needsLayout = true;
+    }
+
+    // Protected
+
+    commitProperty(propertyName)
+    {
+        if (propertyName === "text")
+            this.element.textContent = this._text;
+        else
+            super.commitProperty(propertyName);
+    }
+
+}
index 8e921d1..abf3611 100644 (file)
@@ -21,6 +21,7 @@ controls/aspect-ratio-button.js
 controls/rewind-button.js
 controls/forward-button.js
 controls/buttons-container.js
+controls/status-label.js
 controls/media-controls.js
 controls/ios-inline-media-controls.js
 controls/macos-media-controls.js
index 800ee25..eaf0ed1 100644 (file)
                7177E2481DB80D2F00919A0B /* start-support.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "start-support.js"; sourceTree = "<group>"; };
                717F90571DC40ED60006F520 /* volume-support.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "volume-support.js"; sourceTree = "<group>"; };
                717F90581DC4BB600006F520 /* airplay-support.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "airplay-support.js"; sourceTree = "<group>"; };
+               718C7F561DD385C500B733C8 /* status-label.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = "status-label.css"; sourceTree = "<group>"; };
+               718C7F571DD385C500B733C8 /* status-label.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "status-label.js"; sourceTree = "<group>"; };
                71A57DEF154BE25C0009D120 /* SVGPathUtilities.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGPathUtilities.cpp; sourceTree = "<group>"; };
                71A57DF0154BE25C0009D120 /* SVGPathUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathUtilities.h; sourceTree = "<group>"; };
                71B1E123164048CC00B1880A /* InspectorLayerTreeAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorLayerTreeAgent.cpp; sourceTree = "<group>"; };
                                716FA0F81DB26591007323CC /* slider.js */,
                                716FA0F91DB26591007323CC /* start-button.css */,
                                716FA0FA1DB26591007323CC /* start-button.js */,
+                               718C7F561DD385C500B733C8 /* status-label.css */,
+                               718C7F571DD385C500B733C8 /* status-label.js */,
                                716FA0FB1DB26591007323CC /* time-control.js */,
                                716FA0FC1DB26591007323CC /* time-label.css */,
                                716FA0FD1DB26591007323CC /* time-label.js */,