<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[244933] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/244933">244933</a></dd>
<dt>Author</dt> <dd>drousso@apple.com</dd>
<dt>Date</dt> <dd>2019-05-03 16:08:19 -0700 (Fri, 03 May 2019)</dd>
</dl>

<h3>Log Message</h3>
<pre>Web Inspector: DOM: rename "low power" to "display composited"
https://bugs.webkit.org/show_bug.cgi?id=197296

Reviewed by Joseph Pecoraro.

Removed specific ChangeLog entries since it is almost entirely mechanical changes.

Source/JavaScriptCore:

* inspector/protocol/DOM.json:

Source/WebCore:

* inspector/agents/InspectorDOMAgent.h:
* inspector/agents/InspectorDOMAgent.cpp:

Source/WebInspectorUI:

* UserInterface/Protocol/DOMObserver.js:
* UserInterface/Controllers/DOMManager.js:
* UserInterface/Controllers/TimelineManager.js:
* UserInterface/Models/DOMNode.js:
* UserInterface/Models/MediaInstrument.js:
* UserInterface/Models/MediaTimelineRecord.js:
* UserInterface/Models/TimelineRecording.js:
* UserInterface/Views/DOMEventsBreakdownView.js:
* UserInterface/Views/DOMEventsBreakdownView.css:
* UserInterface/Views/NetworkTableContentView.js:
* UserInterface/Views/NetworkTableContentView.css:
* UserInterface/Views/TimelineIcons.css:
* UserInterface/Views/TimelineTabContentView.js:
* UserInterface/Images/PowerEfficientPlaybackStateChanged.svg: Added.
* UserInterface/Images/LowPower.svg: Removed.
* Localizations/en.lproj/localizedStrings.js:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorprotocolDOMjson">trunk/Source/JavaScriptCore/inspector/protocol/DOM.json</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreinspectoragentsInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectoragentsInspectorDOMAgenth">trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.h</a></li>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUILocalizationsenlprojlocalizedStringsjs">trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceControllersDOMManagerjs">trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMManager.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceControllersTimelineManagerjs">trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsDOMNodejs">trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsMediaInstrumentjs">trunk/Source/WebInspectorUI/UserInterface/Models/MediaInstrument.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsMediaTimelineRecordjs">trunk/Source/WebInspectorUI/UserInterface/Models/MediaTimelineRecord.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsTimelineRecordingjs">trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRecording.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceProtocolDOMObserverjs">trunk/Source/WebInspectorUI/UserInterface/Protocol/DOMObserver.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMEventsBreakdownViewcss">trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.css</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMEventsBreakdownViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsNetworkTableContentViewcss">trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsNetworkTableContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTimelineIconscss">trunk/Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTimelineTabContentViewjs">trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceImagesPowerEfficientPlaybackStateChangedsvg">trunk/Source/WebInspectorUI/UserInterface/Images/PowerEfficientPlaybackStateChanged.svg</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceImagesLowPowersvg">trunk/Source/WebInspectorUI/UserInterface/Images/LowPower.svg</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog    2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/JavaScriptCore/ChangeLog       2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2019-05-03  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: DOM: rename "low power" to "display composited"
+        https://bugs.webkit.org/show_bug.cgi?id=197296
+
+        Reviewed by Joseph Pecoraro.
+
+        Removed specific ChangeLog entries since it is almost entirely mechanical changes.
+
+        * inspector/protocol/DOM.json:
+
</ins><span class="cx"> 2019-05-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
</span><span class="cx"> 
</span><span class="cx">         [WinCairo] Implement and enable RemoteInspector Server.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorprotocolDOMjson"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/protocol/DOM.json (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/protocol/DOM.json  2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/JavaScriptCore/inspector/protocol/DOM.json     2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -677,12 +677,12 @@
</span><span class="cx">             ]
</span><span class="cx">         },
</span><span class="cx">         {
</span><del>-            "name": "videoLowPowerChanged",
-            "description": "Called when a video element enters/exits low power mode.",
</del><ins>+            "name": "powerEfficientPlaybackStateChanged",
+            "description": "Called when an element enters/exits a power efficient playback state.",
</ins><span class="cx">             "parameters": [
</span><span class="cx">                 { "name": "nodeId", "$ref": "NodeId" },
</span><del>-                { "name": "timestamp", "$ref": "Network.Timestamp", "description": "Time when the video element entered/exited low power mode" },
-                { "name": "isLowPower", "type": "boolean" }
</del><ins>+                { "name": "timestamp", "$ref": "Network.Timestamp" },
+                { "name": "isPowerEfficient", "type": "boolean" }
</ins><span class="cx">             ]
</span><span class="cx">         }
</span><span class="cx">     ]
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebCore/ChangeLog      2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2019-05-03  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: DOM: rename "low power" to "display composited"
+        https://bugs.webkit.org/show_bug.cgi?id=197296
+
+        Reviewed by Joseph Pecoraro.
+
+        Removed specific ChangeLog entries since it is almost entirely mechanical changes.
+
+        * inspector/agents/InspectorDOMAgent.h:
+        * inspector/agents/InspectorDOMAgent.cpp:
+
</ins><span class="cx"> 2019-05-03  Daniel Bates  <dabates@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Pass KeyboardEvent by reference in more places
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectoragentsInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp      2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp 2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -2514,14 +2514,14 @@
</span><span class="cx">             continue;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        bool isLowPower = (displayCompositedVideoFrames - iterator->value.displayCompositedFrames) > 0;
-        if (iterator->value.isLowPower != isLowPower) {
-            iterator->value.isLowPower = isLowPower;
</del><ins>+        bool isPowerEfficient = (displayCompositedVideoFrames - iterator->value.displayCompositedFrames) > 0;
+        if (iterator->value.isPowerEfficient != isPowerEfficient) {
+            iterator->value.isPowerEfficient = isPowerEfficient;
</ins><span class="cx"> 
</span><span class="cx">             int nodeId = pushNodePathToFrontend(mediaElement);
</span><span class="cx">             if (nodeId) {
</span><span class="cx">                 auto timestamp = m_environment.executionStopwatch()->elapsedTime().seconds();
</span><del>-                m_frontendDispatcher->videoLowPowerChanged(nodeId, timestamp, iterator->value.isLowPower);
</del><ins>+                m_frontendDispatcher->powerEfficientPlaybackStateChanged(nodeId, timestamp, iterator->value.isPowerEfficient);
</ins><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectoragentsInspectorDOMAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.h (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.h        2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebCore/inspector/agents/InspectorDOMAgent.h   2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -264,7 +264,7 @@
</span><span class="cx">     Timer m_mediaMetricsTimer;
</span><span class="cx">     struct MediaMetrics {
</span><span class="cx">         unsigned displayCompositedFrames { 0 };
</span><del>-        bool isLowPower { false };
</del><ins>+        bool isPowerEfficient { false };
</ins><span class="cx"> 
</span><span class="cx">         MediaMetrics() { }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog    2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/ChangeLog       2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -1,5 +1,31 @@
</span><span class="cx"> 2019-05-03  Devin Rousso  <drousso@apple.com>
</span><span class="cx"> 
</span><ins>+        Web Inspector: DOM: rename "low power" to "display composited"
+        https://bugs.webkit.org/show_bug.cgi?id=197296
+
+        Reviewed by Joseph Pecoraro.
+
+        Removed specific ChangeLog entries since it is almost entirely mechanical changes.
+
+        * UserInterface/Protocol/DOMObserver.js:
+        * UserInterface/Controllers/DOMManager.js:
+        * UserInterface/Controllers/TimelineManager.js:
+        * UserInterface/Models/DOMNode.js:
+        * UserInterface/Models/MediaInstrument.js:
+        * UserInterface/Models/MediaTimelineRecord.js:
+        * UserInterface/Models/TimelineRecording.js:
+        * UserInterface/Views/DOMEventsBreakdownView.js:
+        * UserInterface/Views/DOMEventsBreakdownView.css:
+        * UserInterface/Views/NetworkTableContentView.js:
+        * UserInterface/Views/NetworkTableContentView.css:
+        * UserInterface/Views/TimelineIcons.css:
+        * UserInterface/Views/TimelineTabContentView.js:
+        * UserInterface/Images/PowerEfficientPlaybackStateChanged.svg: Added.
+        * UserInterface/Images/LowPower.svg: Removed.
+        * Localizations/en.lproj/localizedStrings.js:
+
+2019-05-03  Devin Rousso  <drousso@apple.com>
+
</ins><span class="cx">         Web Inspector: Record actions performed on WebGL2RenderingContext
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=176008
</span><span class="cx">         <rdar://problem/34213884>
</span></span></pre></div>
<a id="trunkSourceWebInspectorUILocalizationsenlprojlocalizedStringsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js   2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js      2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -421,7 +421,6 @@
</span><span class="cx"> localizedStrings["Ensure that only one main content section is used on the page."] = "Ensure that only one main content section is used on the page.";
</span><span class="cx"> localizedStrings["Ensure that values for \u0022%s\u0022 are valid."] = "Ensure that values for \u0022%s\u0022 are valid.";
</span><span class="cx"> localizedStrings["Entered Full-Screen Mode"] = "Entered Full-Screen Mode";
</span><del>-localizedStrings["Entered Low-Power Mode"] = "Entered Low-Power Mode";
</del><span class="cx"> localizedStrings["Entire Recording"] = "Entire Recording";
</span><span class="cx"> localizedStrings["Error"] = "Error";
</span><span class="cx"> localizedStrings["Error: "] = "Error: ";
</span><span class="lines">@@ -442,7 +441,6 @@
</span><span class="cx"> localizedStrings["Exception with thrown value: %s"] = "Exception with thrown value: %s";
</span><span class="cx"> localizedStrings["Execution context for $0"] = "Execution context for $0";
</span><span class="cx"> localizedStrings["Exited Full-Screen Mode"] = "Exited Full-Screen Mode";
</span><del>-localizedStrings["Exited Low-Power Mode"] = "Exited Low-Power Mode";
</del><span class="cx"> localizedStrings["Expand All"] = "Expand All";
</span><span class="cx"> localizedStrings["Expand columns"] = "Expand columns";
</span><span class="cx"> localizedStrings["Expanded"] = "Expanded";
</span><span class="lines">@@ -628,7 +626,6 @@
</span><span class="cx"> localizedStrings["Log: "] = "Log: ";
</span><span class="cx"> localizedStrings["Logs"] = "Logs";
</span><span class="cx"> localizedStrings["Low"] = "Low";
</span><del>-localizedStrings["Low-Power Mode"] = "Low-Power Mode";
</del><span class="cx"> localizedStrings["Lowest: %s"] = "Lowest: %s";
</span><span class="cx"> localizedStrings["MIME Type"] = "MIME Type";
</span><span class="cx"> localizedStrings["MIME Type:"] = "MIME Type:";
</span><span class="lines">@@ -763,6 +760,9 @@
</span><span class="cx"> localizedStrings["Polite"] = "Polite";
</span><span class="cx"> localizedStrings["Pong Frame"] = "Pong Frame";
</span><span class="cx"> localizedStrings["Port"] = "Port";
</span><ins>+localizedStrings["Power Efficient Playback"] = "Power Efficient Playback";
+localizedStrings["Power Efficient Playback Started"] = "Power Efficient Playback Started";
+localizedStrings["Power Efficient Playback Stopped"] = "Power Efficient Playback Stopped";
</ins><span class="cx"> localizedStrings["Prefer indent using:"] = "Prefer indent using:";
</span><span class="cx"> localizedStrings["Preserve Log"] = "Preserve Log";
</span><span class="cx"> localizedStrings["Press %s to import a test or result file"] = "Press %s to import a test or result file";
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceControllersDOMManagerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMManager.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMManager.js      2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/DOMManager.js 2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -166,7 +166,7 @@
</span><span class="cx">         node.didFireEvent(eventName, timestamp, data);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    videoLowPowerChanged(nodeId, timestamp, isLowPower)
</del><ins>+    powerEfficientPlaybackStateChanged(nodeId, timestamp, isPowerEfficient)
</ins><span class="cx">     {
</span><span class="cx">         // Called from WI.DOMObserver.
</span><span class="cx"> 
</span><span class="lines">@@ -174,7 +174,7 @@
</span><span class="cx">         if (!node)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        node.videoLowPowerChanged(timestamp, isLowPower);
</del><ins>+        node.powerEfficientPlaybackStateChanged(timestamp, isPowerEfficient);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Private
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceControllersTimelineManagerjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js 2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js    2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -365,7 +365,7 @@
</span><span class="cx">         WI.memoryManager.addEventListener(WI.MemoryManager.Event.MemoryPressure, this._memoryPressure, this);
</span><span class="cx"> 
</span><span class="cx">         WI.DOMNode.addEventListener(WI.DOMNode.Event.DidFireEvent, this._handleDOMNodeDidFireEvent, this);
</span><del>-        WI.DOMNode.addEventListener(WI.DOMNode.Event.LowPowerChanged, this._handleDOMNodeLowPowerChanged, this);
</del><ins>+        WI.DOMNode.addEventListener(WI.DOMNode.Event.PowerEfficientPlaybackStateChanged, this._handleDOMNodePowerEfficientPlaybackStateChanged, this);
</ins><span class="cx"> 
</span><span class="cx">         this._updateCapturingState(TimelineManager.CapturingState.Active, {startTime: this._capturingStartTime});
</span><span class="cx">     }
</span><span class="lines">@@ -1248,13 +1248,13 @@
</span><span class="cx">         }));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    _handleDOMNodeLowPowerChanged(event)
</del><ins>+    _handleDOMNodePowerEfficientPlaybackStateChanged(event)
</ins><span class="cx">     {
</span><del>-        let {timestamp, isLowPower} = event.data;
</del><ins>+        let {timestamp, isPowerEfficient} = event.data;
</ins><span class="cx"> 
</span><del>-        this._addRecord(new WI.MediaTimelineRecord(WI.MediaTimelineRecord.EventType.LowPower, timestamp, {
</del><ins>+        this._addRecord(new WI.MediaTimelineRecord(WI.MediaTimelineRecord.EventType.PowerEfficientPlaybackStateChanged, timestamp, {
</ins><span class="cx">             domNode: event.target,
</span><del>-            isLowPower,
</del><ins>+            isPowerEfficient,
</ins><span class="cx">         }));
</span><span class="cx">     }
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceImagesLowPowersvg"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebInspectorUI/UserInterface/Images/LowPower.svg (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Images/LowPower.svg    2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/LowPower.svg       2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2018 Apple Inc. All rights reserved. -->
-<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 16 16">
-    <path fill="rgb(148, 190, 164)" d="M 13 1 L 3 1 C 1.898438 1 1 1.898438 1 3 L 1 13 C 1 14.101562 1.898438 15 3 15 L 13 15 C 14.101562 15 15 14.101562 15 13 L 15 3 C 15 1.898438 14.101562 1 13 1 Z"/>
-    <path fill="rgb(101, 161, 134)" d="M 13 1 L 3 1 C 1.898438 1 1 1.898438 1 3 L 1 13 C 1 14.101562 1.898438 15 3 15 L 13 15 C 14.101562 15 15 14.101562 15 13 L 15 3 C 15 1.898438 14.101562 1 13 1 M 13 2 C 13.550781 2 14 2.449219 14 3 L 14 13 C 14 13.550781 13.550781 14 13 14 L 3 14 C 2.449219 14 2 13.550781 2 13 L 2 3 C 2 2.449219 2.449219 2 3 2 L 13 2"/>
-    <path fill="rgb(101, 161, 134)" d="M 5 13 L 6 13 L 11 13 L 12 13 L 12 12 L 12 10.8648649 L 12 9.86486486 L 11 9.86486486 L 8.57948709 9.86486483 L 8.57948718 4 L 8.57948718 3 L 7.57948718 3 L 6 3 L 5 3 L 5 4 L 5 12 L 5 13 Z M 5 13"/>
-    <path fill="white" d="M 6 4 L 7.57948718 4 L 7.57948718 10.8648649 L 11 10.8648649 L 11 12 L 6 12 L 6 4 Z M 6 4"/>
-</svg>
</del></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceImagesPowerEfficientPlaybackStateChangedsvg"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/UserInterface/Images/PowerEfficientPlaybackStateChanged.svg (0 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Images/PowerEfficientPlaybackStateChanged.svg                          (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/PowerEfficientPlaybackStateChanged.svg     2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
+<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 16 16">
+    <path fill="rgb(148, 190, 164)" d="M 13 1 L 3 1 C 1.898438 1 1 1.898438 1 3 L 1 13 C 1 14.101562 1.898438 15 3 15 L 13 15 C 14.101562 15 15 14.101562 15 13 L 15 3 C 15 1.898438 14.101562 1 13 1 Z"/>
+    <path fill="rgb(101, 161, 134)" d="M 13 1 L 3 1 C 1.898438 1 1 1.898438 1 3 L 1 13 C 1 14.101562 1.898438 15 3 15 L 13 15 C 14.101562 15 15 14.101562 15 13 L 15 3 C 15 1.898438 14.101562 1 13 1 M 13 2 C 13.550781 2 14 2.449219 14 3 L 14 13 C 14 13.550781 13.550781 14 13 14 L 3 14 C 2.449219 14 2 13.550781 2 13 L 2 3 C 2 2.449219 2.449219 2 3 2 L 13 2"/>
+    <path fill="white" d="M 6.78125 7.769531 L 7.136719 7.769531 C 7.757812 7.769531 8.246094 7.636719 8.605469 7.371094 C 8.96875 7.105469 9.148438 6.746094 9.148438 6.292969 C 9.148438 5.496094 8.59375 5.097656 7.488281 5.097656 L 6.78125 5.097656 Z M 5 12 L 5 4 L 8.042969 4 C 9.105469 4 9.863281 4.164062 10.316406 4.488281 C 10.773438 4.816406 11 5.359375 11 6.125 C 11 6.988281 10.695312 7.660156 10.085938 8.144531 C 9.480469 8.625 8.628906 8.863281 7.535156 8.863281 L 6.78125 8.863281 L 6.78125 12 Z"/>
+    <path fill="rgb(101, 161, 134)" d="M 7.78125 6.679688 L 7.78125 6.113281 C 8.019531 6.136719 8.117188 6.1875 8.144531 6.203125 C 8.140625 6.210938 8.148438 6.242188 8.148438 6.292969 C 8.148438 6.441406 8.105469 6.496094 8.015625 6.566406 C 7.953125 6.613281 7.875 6.648438 7.78125 6.679688 M 8.042969 3 L 4 3 L 4 13 L 7.78125 13 L 7.78125 9.863281 C 8.988281 9.824219 9.96875 9.507812 10.707031 8.925781 C 11.550781 8.257812 12 7.289062 12 6.125 C 12 4.753906 11.402344 4.035156 10.902344 3.675781 C 10.265625 3.222656 9.332031 3 8.042969 3 M 6.78125 7.769531 L 7.136719 7.769531 C 7.757812 7.769531 8.246094 7.636719 8.605469 7.371094 C 8.96875 7.105469 9.148438 6.746094 9.148438 6.292969 C 9.148438 5.496094 8.59375 5.097656 7.488281 5.097656 L 6.78125 5.097656 L 6.78125 7.769531 M 8.042969 4 C 9.105469 4 9.863281 4.164062 10.316406 4.488281 C 10.773438 4.816406 11 5.359375 11 6.125 C 11 6.988281 10.695312 7.660156 10.085938 8.144531 C 9.480469 8.625 8.628906 8.86328
 1 7.535156 8.863281 L 6.78125 8.863281 L 6.78125 12 L 5 12 L 5 4 L 8.042969 4"/>
+</svg>
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsDOMNodejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js      2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js 2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -147,7 +147,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         this._domEvents = [];
</span><del>-        this._lowPowerRanges = [];
</del><ins>+        this._powerEfficientPlaybackRanges = [];
</ins><span class="cx"> 
</span><span class="cx">         if (this._shouldListenForEventListeners())
</span><span class="cx">             WI.DOMNode.addEventListener(WI.DOMNode.Event.DidFireEvent, this._handleDOMNodeDidFireEvent, this);
</span><span class="lines">@@ -188,7 +188,7 @@
</span><span class="cx"> 
</span><span class="cx">     get frame() { return this._frame; }
</span><span class="cx">     get domEvents() { return this._domEvents; }
</span><del>-    get lowPowerRanges() { return this._lowPowerRanges; }
</del><ins>+    get powerEfficientPlaybackRanges() { return this._powerEfficientPlaybackRanges; }
</ins><span class="cx"> 
</span><span class="cx">     get attached()
</span><span class="cx">     {
</span><span class="lines">@@ -757,30 +757,30 @@
</span><span class="cx">         });
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    videoLowPowerChanged(timestamp, isLowPower)
</del><ins>+    powerEfficientPlaybackStateChanged(timestamp, isPowerEfficient)
</ins><span class="cx">     {
</span><span class="cx">         // Called from WI.DOMManager.
</span><span class="cx"> 
</span><del>-        console.assert(this.canEnterLowPowerMode());
</del><ins>+        console.assert(this.canEnterPowerEfficientPlaybackState());
</ins><span class="cx"> 
</span><del>-        let lastValue = this._lowPowerRanges.lastValue;
</del><ins>+        let lastValue = this._powerEfficientPlaybackRanges.lastValue;
</ins><span class="cx"> 
</span><del>-        if (isLowPower) {
</del><ins>+        if (isPowerEfficient) {
</ins><span class="cx">             console.assert(!lastValue || lastValue.endTimestamp);
</span><span class="cx">             if (!lastValue || lastValue.endTimestamp)
</span><del>-                this._lowPowerRanges.push({startTimestamp: timestamp});
</del><ins>+                this._powerEfficientPlaybackRanges.push({startTimestamp: timestamp});
</ins><span class="cx">         } else {
</span><span class="cx">             console.assert(!lastValue || lastValue.startTimestamp);
</span><span class="cx">             if (!lastValue)
</span><del>-                this._lowPowerRanges.push({endTimestamp: timestamp});
</del><ins>+                this._powerEfficientPlaybackRanges.push({endTimestamp: timestamp});
</ins><span class="cx">             else if (lastValue.startTimestamp)
</span><span class="cx">                 lastValue.endTimestamp = timestamp;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        this.dispatchEventToListeners(WI.DOMNode.Event.LowPowerChanged, {isLowPower, timestamp});
</del><ins>+        this.dispatchEventToListeners(DOMNode.Event.PowerEfficientPlaybackStateChanged, {isPowerEfficient, timestamp});
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    canEnterLowPowerMode()
</del><ins>+    canEnterPowerEfficientPlaybackState()
</ins><span class="cx">     {
</span><span class="cx">         return this.localName() === "video" || this.nodeName().toLowerCase() === "video";
</span><span class="cx">     }
</span><span class="lines">@@ -957,7 +957,7 @@
</span><span class="cx">     AttributeRemoved: "dom-node-attribute-removed",
</span><span class="cx">     EventListenersChanged: "dom-node-event-listeners-changed",
</span><span class="cx">     DidFireEvent: "dom-node-did-fire-event",
</span><del>-    LowPowerChanged: "dom-node-video-low-power-changed",
</del><ins>+    PowerEfficientPlaybackStateChanged: "dom-node-power-efficient-playback-state-changed",
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> WI.DOMNode.PseudoElementType = {
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsMediaInstrumentjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/MediaInstrument.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/MediaInstrument.js      2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/MediaInstrument.js 2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -36,8 +36,8 @@
</span><span class="cx"> 
</span><span class="cx">     static supported()
</span><span class="cx">     {
</span><del>-        // COMPATIBILITY (iOS 12): DOM.didFireEvent and DOM.videoLowPowerChanged did not exist.
-        return window.DOMAgent && DOMAgent.hasEvent("didFireEvent") && DOMAgent.hasEvent("videoLowPowerChanged");
</del><ins>+        // COMPATIBILITY (iOS 12): DOM.didFireEvent.
+        return InspectorBackend.domains.DOM && InspectorBackend.domains.DOM.hasEvent("didFireEvent");
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Protected
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsMediaTimelineRecordjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/MediaTimelineRecord.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/MediaTimelineRecord.js  2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/MediaTimelineRecord.js     2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -25,7 +25,7 @@
</span><span class="cx"> 
</span><span class="cx"> WI.MediaTimelineRecord = class MediaTimelineRecord extends WI.TimelineRecord
</span><span class="cx"> {
</span><del>-    constructor(eventType, timestamp, {domNode, domEvent, isLowPower} = {})
</del><ins>+    constructor(eventType, timestamp, {domNode, domEvent, isPowerEfficient} = {})
</ins><span class="cx">     {
</span><span class="cx">         console.assert(Object.values(WI.MediaTimelineRecord.EventType).includes(eventType));
</span><span class="cx"> 
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">         this._eventType = eventType;
</span><span class="cx">         this._domNode = domNode || null;
</span><span class="cx">         this._domEvent = domEvent || null;
</span><del>-        this._isLowPower = isLowPower || false;
</del><ins>+        this._isPowerEfficient = isPowerEfficient || false;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Import / Export
</span><span class="lines">@@ -42,6 +42,11 @@
</span><span class="cx">     static fromJSON(json)
</span><span class="cx">     {
</span><span class="cx">         let {eventType, timestamp} = json;
</span><ins>+
+        // COMPATIBILITY (iOS 12.2): isLowPower was renamed to isPowerEfficient.
+        if ("isLowPower" in json && !("isPowerEfficient" in json))
+            json.isPowerEfficient = json.isLowPower;
+
</ins><span class="cx">         return new WI.MediaTimelineRecord(eventType, timestamp, json);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -61,7 +66,7 @@
</span><span class="cx">             eventType: this._eventType,
</span><span class="cx">             timestamp: this.startTime,
</span><span class="cx">             domEvent,
</span><del>-            isLowPower: this._isLowPower,
</del><ins>+            isPowerEfficient: this._isPowerEfficient,
</ins><span class="cx">         };
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -70,7 +75,7 @@
</span><span class="cx">     get eventType() { return this._eventType; }
</span><span class="cx">     get domNode() { return this._domNode; }
</span><span class="cx">     get domEvent() { return this._domEvent; }
</span><del>-    get isLowPower() { return this._isLowPower; }
</del><ins>+    get isPowerEfficient() { return this._isPowerEfficient; }
</ins><span class="cx"> 
</span><span class="cx">     get displayName()
</span><span class="cx">     {
</span><span class="lines">@@ -81,8 +86,8 @@
</span><span class="cx">             return eventName;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        if (this._eventType === WI.MediaTimelineRecord.EventType.LowPower)
-            return this._isLowPower ? WI.UIString("Entered Low-Power Mode") : WI.UIString("Exited Low-Power Mode");
</del><ins>+        if (this._eventType === MediaTimelineRecord.EventType.PowerEfficientPlaybackStateChanged)
+            return this._isPowerEfficient ? WI.UIString("Power Efficient Playback Started") : WI.UIString("Power Efficient Playback Stopped");
</ins><span class="cx"> 
</span><span class="cx">         if (this._domNode)
</span><span class="cx">             return this._domNode.displayName;
</span><span class="lines">@@ -96,16 +101,19 @@
</span><span class="cx">         super.saveIdentityToCookie(cookie);
</span><span class="cx"> 
</span><span class="cx">         cookie["media-timeline-record-event-type"] = this._eventType;
</span><ins>+        if (this._eventType === MediaTimelineRecord.EventType.PowerEfficientPlaybackStateChanged)
+            cookie["media-timeline-record-power-efficient-playback"] = this._isPowerEfficient;
</ins><span class="cx">         if (this._domNode)
</span><span class="cx">             cookie["media-timeline-record-dom-node"] = this._domNode.path();
</span><del>-        if (this._domEvent)
</del><ins>+        if (this._domEvent) {
</ins><span class="cx">             cookie["media-timeline-record-dom-event"] = this._domEvent.eventName;
</span><del>-        if (this._isLowPower || (this._domEvent && this._domEvent.data && this._domEvent.data.enabled))
-            cookie["media-timeline-record-active"] = true;
</del><ins>+            if (this._domEvent.data && this._domEvent.data.enabled)
+                cookie["media-timeline-record-dom-event-active"] = true;
+        }
</ins><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> WI.MediaTimelineRecord.EventType = {
</span><span class="cx">     DOMEvent: "dom-event",
</span><del>-    LowPower: "low-power",
</del><ins>+    PowerEfficientPlaybackStateChanged: "power-efficient-playback-state-changed",
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsTimelineRecordingjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRecording.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRecording.js    2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRecording.js       2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -467,8 +467,8 @@
</span><span class="cx">             if (record.eventType === WI.MediaTimelineRecord.EventType.DOMEvent) {
</span><span class="cx">                 if (record.domEvent && record.domEvent.eventName)
</span><span class="cx">                     key += ":" + record.domEvent.eventName;
</span><del>-            } else if (record.eventType === WI.MediaTimelineRecord.EventType.LowPower)
-                key += ":" + (record.isLowPower ? "enabled" : "disabled");
</del><ins>+            } else if (record.eventType === WI.MediaTimelineRecord.EventType.PowerEfficientPlaybackStateChanged)
+                key += ":" + (record.isPowerEfficient ? "enabled" : "disabled");
</ins><span class="cx">         }
</span><span class="cx">         if (record.sourceCodeLocation)
</span><span class="cx">             key += ":" + record.sourceCodeLocation.lineNumber + ":" + record.sourceCodeLocation.columnNumber;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceProtocolDOMObserverjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Protocol/DOMObserver.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Protocol/DOMObserver.js        2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Protocol/DOMObserver.js   2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -119,6 +119,12 @@
</span><span class="cx"> 
</span><span class="cx">     videoLowPowerChanged(nodeId, timestamp, isLowPower)
</span><span class="cx">     {
</span><del>-        WI.domManager.videoLowPowerChanged(nodeId, timestamp, isLowPower);
</del><ins>+        // COMPATIBILITY (iOS 12.2): DOM.videoLowPowerChanged was renamed to DOM.powerEfficientPlaybackStateChanged.
+        WI.domManager.powerEfficientPlaybackStateChanged(nodeId, timestamp, isLowPower);
</ins><span class="cx">     }
</span><ins>+
+    powerEfficientPlaybackStateChanged(nodeId, timestamp, isPowerEfficient)
+    {
+        WI.domManager.powerEfficientPlaybackStateChanged(nodeId, timestamp, isPowerEfficient);
+    }
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMEventsBreakdownViewcss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.css (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.css       2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.css  2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx">     background-color: hsla(0, 0%, 75%, 0.25);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.dom-events-breakdown .graph > .area.low-power {
</del><ins>+.dom-events-breakdown .graph > .area.power-efficient-playback {
</ins><span class="cx">     background-color: hsla(83, 100%, 48%, 0.4);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMEventsBreakdownViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.js        2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.js   2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -34,14 +34,13 @@
</span><span class="cx">         if (domNodeOrEvents instanceof WI.DOMNode) {
</span><span class="cx">             this._domNode = domNodeOrEvents;
</span><span class="cx">             this._domNode.addEventListener(WI.DOMNode.Event.DidFireEvent, this._handleDOMNodeDidFireEvent, this);
</span><del>-            if (this._domNode.canEnterLowPowerMode())
-                this._domNode.addEventListener(WI.DOMNode.Event.LowPowerChanged, this._handleDOMNodeLowPowerChanged, this);
</del><ins>+            if (this._domNode.canEnterPowerEfficientPlaybackState())
+                this._domNode.addEventListener(WI.DOMNode.Event.PowerEfficientPlaybackStateChanged, this._handleDOMNodePowerEfficientPlaybackStateChanged, this);
</ins><span class="cx"> 
</span><span class="cx">             this._domEvents = null;
</span><span class="cx">         } else {
</span><span class="cx">             this._domNode = null;
</span><span class="cx">             this._domEvents = domNodeOrEvents;
</span><del>-            this._lowPowerRanges = [];
</del><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         this._includeGraph = includeGraph || false;
</span><span class="lines">@@ -112,7 +111,7 @@
</span><span class="cx">                 fullscreenRanges.lastValue.originator = fullscreenDOMEvent.originator;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        let lowPowerRanges = this._domNode ? this._domNode.lowPowerRanges : [];
</del><ins>+        let powerEfficientPlaybackRanges = this._domNode ? this._domNode.powerEfficientPlaybackRanges : [];
</ins><span class="cx"> 
</span><span class="cx">         for (let domEvent of domEvents) {
</span><span class="cx">             let rowElement = this._tableBodyElement.appendChild(document.createElement("tr"));
</span><span class="lines">@@ -138,13 +137,13 @@
</span><span class="cx">                         fullscreenArea.title = WI.UIString("Full-Screen");
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                let lowPowerRange = lowPowerRanges.find((range) => domEvent.timestamp >= range.startTimestamp && domEvent.timestamp <= range.endTimestamp);
-                if (lowPowerRange) {
-                    let lowPowerArea = graphCell.appendChild(document.createElement("div"));
-                    lowPowerArea.classList.add("area", "low-power");
-                    lowPowerArea.title = WI.UIString("Low-Power Mode");
-                    lowPowerArea.style.setProperty(styleAttribute, percentOfTotalTime(lowPowerRange.startTimestamp - startTimestamp) + "%");
-                    lowPowerArea.style.setProperty("width", percentOfTotalTime(lowPowerRange.endTimestamp - lowPowerRange.startTimestamp) + "%");
</del><ins>+                let powerEfficientPlaybackRange = powerEfficientPlaybackRanges.find((range) => domEvent.timestamp >= range.startTimestamp && domEvent.timestamp <= range.endTimestamp);
+                if (powerEfficientPlaybackRange) {
+                    let powerEfficientPlaybackArea = graphCell.appendChild(document.createElement("div"));
+                    powerEfficientPlaybackArea.classList.add("area", "power-efficient-playback");
+                    powerEfficientPlaybackArea.title = WI.UIString("Power Efficient Playback");
+                    powerEfficientPlaybackArea.style.setProperty(styleAttribute, percentOfTotalTime(powerEfficientPlaybackRange.startTimestamp - startTimestamp) + "%");
+                    powerEfficientPlaybackArea.style.setProperty("width", percentOfTotalTime(powerEfficientPlaybackRange.endTimestamp - powerEfficientPlaybackRange.startTimestamp) + "%");
</ins><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 let graphImage = graphCell.appendChild(document.createElement("img"));
</span><span class="lines">@@ -183,7 +182,7 @@
</span><span class="cx">         this.needsLayout();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    _handleDOMNodeLowPowerChanged(event)
</del><ins>+    _handleDOMNodePowerEfficientPlaybackStateChanged(event)
</ins><span class="cx">     {
</span><span class="cx">         this.needsLayout();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsNetworkTableContentViewcss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css      2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css 2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx">     background-color: hsla(0, 0%, 75%, 0.75);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.network-table :not(.header) .cell.waterfall .waterfall-container > .area.low-power {
</del><ins>+.network-table :not(.header) .cell.waterfall .waterfall-container > .area.power-efficient-playback {
</ins><span class="cx">     background-color: var(--network-request-color);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsNetworkTableContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js       2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js  2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -822,15 +822,15 @@
</span><span class="cx">                 }
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            for (let lowPowerRange of domNode.lowPowerRanges) {
-                let startTimestamp = lowPowerRange.startTimestamp || graphStartTime;
-                let endTimestamp = lowPowerRange.endTimestamp || collection.waterfallEndTime;
</del><ins>+            for (let powerEfficientPlaybackRange of domNode.powerEfficientPlaybackRanges) {
+                let startTimestamp = powerEfficientPlaybackRange.startTimestamp || graphStartTime;
+                let endTimestamp = powerEfficientPlaybackRange.endTimestamp || collection.waterfallEndTime;
</ins><span class="cx"> 
</span><del>-                let lowPowerElement = container.appendChild(document.createElement("div"));
-                lowPowerElement.classList.add("area", "low-power");
-                lowPowerElement.title = WI.UIString("Low-Power Mode");
-                positionByStartOffset(lowPowerElement, startTimestamp);
-                setWidthForDuration(lowPowerElement, startTimestamp, endTimestamp);
</del><ins>+                let powerEfficientPlaybackRangeElement = container.appendChild(document.createElement("div"));
+                powerEfficientPlaybackRangeElement.classList.add("area", "power-efficient-playback");
+                powerEfficientPlaybackRangeElement.title = WI.UIString("Power Efficient Playback");
+                positionByStartOffset(powerEfficientPlaybackRangeElement, startTimestamp);
+                setWidthForDuration(powerEfficientPlaybackRangeElement, startTimestamp, endTimestamp);
</ins><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             let playing = false;
</span><span class="lines">@@ -1819,8 +1819,8 @@
</span><span class="cx">             this._domNodeEntries.set(resource.initiatorNode, nodeEntry);
</span><span class="cx"> 
</span><span class="cx">             resource.initiatorNode.addEventListener(WI.DOMNode.Event.DidFireEvent, this._handleNodeDidFireEvent, this);
</span><del>-            if (resource.initiatorNode.canEnterLowPowerMode())
-                resource.initiatorNode.addEventListener(WI.DOMNode.Event.LowPowerChanged, this._handleNodeLowPowerChanged, this);
</del><ins>+            if (resource.initiatorNode.canEnterPowerEfficientPlaybackState())
+                resource.initiatorNode.addEventListener(WI.DOMNode.Event.PowerEfficientPlaybackStateChanged, this._handleDOMNodePowerEfficientPlaybackStateChanged, this);
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if (!this._entriesSortComparator)
</span><span class="lines">@@ -1858,7 +1858,7 @@
</span><span class="cx">         });
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    _handleNodeLowPowerChanged(event)
</del><ins>+    _handleDOMNodePowerEfficientPlaybackStateChanged(event)
</ins><span class="cx">     {
</span><span class="cx">         this._runForMainCollection((collection, wasMain) => {
</span><span class="cx">             let domNode = event.target;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTimelineIconscss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css        2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css   2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -133,8 +133,8 @@
</span><span class="cx">     content: url(../Images/DOMEventFullscreen.svg);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.low-power-record .icon {
-    content: url(../Images/LowPower.svg);
</del><ins>+.power-efficient-playback-state-changed-record .icon {
+    content: url(../Images/PowerEfficientPlaybackStateChanged.svg);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media (prefers-color-scheme: dark) {
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTimelineTabContentViewjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js (244932 => 244933)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js        2019-05-03 23:04:09 UTC (rev 244932)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js   2019-05-03 23:08:19 UTC (rev 244933)
</span><span class="lines">@@ -251,8 +251,8 @@
</span><span class="cx">             switch (timelineRecord.eventType) {
</span><span class="cx">             case WI.MediaTimelineRecord.EventType.DOMEvent:
</span><span class="cx">                 return "dom-event-record";
</span><del>-            case WI.MediaTimelineRecord.EventType.LowPower:
-                return "low-power-record";
</del><ins>+            case WI.MediaTimelineRecord.EventType.PowerEfficientPlaybackStateChanged:
+                return "power-efficient-playback-state-changed-record";
</ins><span class="cx">             default:
</span><span class="cx">                 console.error("Unknown MediaTimelineRecord eventType: " + timelineRecord.eventType, timelineRecord);
</span><span class="cx">             }
</span></span></pre>
</div>
</div>

</body>
</html>