Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: content/browser/resources/media/media_internals.html

Issue 18889006: Removed old media-internals page and rewrote it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/resources/media/media_internals.html
diff --git a/content/browser/resources/media/media_internals.html b/content/browser/resources/media/media_internals.html
old mode 100644
new mode 100755
index 05d321f0ac7fb78f4926a2ea66a42c2fc9e9936c..3f53ee83b9fb245f0d58e36a09f3796f12bdfb8b
--- a/content/browser/resources/media/media_internals.html
+++ b/content/browser/resources/media/media_internals.html
@@ -1,28 +1,127 @@
-<!DOCTYPE HTML>
-<html i18n-values="dir:textdirection;">
-<!--
-Copyright (c) 2012 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
- <head>
- <link rel="stylesheet" href="media_internals.css">
- <script src="chrome://resources/js/cr.js"></script>
- <script src="chrome://resources/js/cr/ui.js"></script>
- <script src="chrome://resources/js/util.js"></script>
- <script src="chrome://media-internals/media_internals.js"></script>
- <script src="chrome://media-internals/strings.js"></script>
- <title>Media Internals</title>
- </head>
- <body>
- <h2>Active media players:</h2>
- <ul id="media-players"></ul>
- <h2>Active audio streams:</h2>
- <div id="audio-streams"></div>
- <h2>Cached resources:</h2>
- <div id="cache-entries"></div>
- <script src="chrome://resources/js/i18n_template.js"></script>
- <script src="chrome://resources/js/i18n_process.js"></script>
- <script src="chrome://resources/js/jstemplate_compiled.js"></script>
- </body>
+<html>
+<head>
+ <title> Media Internals </title>
+ <link rel="stylesheet" type="text/css" href="media_internals.css">
+ <style media="print">
+ @media print {
+ #player-list {
+ display: none;
+ }
+
+ #player-details {
+ margin-left: 0px;
+ border: none;
+ }
+
+ div.collapse.closed>.collapse-content {
+ display: block;
+ }
+
+ h1, h2, div, .collapse-content {
+ border: none;
+ }
+
+ label, input {
+ display: none;
+ }
+
+ h1 {
+ display: none;
+ }
+
+ div#log-wrapper .collapse-content {
+ max-height: none;
+ }
+
+ div.collapse>.collapse-content {
+ border: none;
+ padding: 0px;
+ }
+ }
+ </style>
+</head>
+
+<body>
+
+<h1> Media-Internals </h1>
+
+<div class="collapse closed" style="display: none;">
+ <h2> System Properties </h2>
+
+ <div class="system-properties collapse-content">
+ <table>
+ <thead>
+ <tr>
+ <td> Property Name</td>
+ <td> Property Value</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td> Key</td>
+ <td> Value</td>
+ </tr>
+ <tr>
+ <td>Bandwidth</td>
+ <td> 1.2 G/s</td>
+ </tr>
+ <tr>
+ <td> OOG Support</td>
+ <td> Enabled</td>
+ </tr>
+ <tr>
+ <td> Number of Streams</td>
+ <td> 3</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
+<div class="collapse open">
+ <h2> Player Information </h2>
+
+ <div class="player-properties collapse-content">
+ <div id="player-list">
+ <h3> Streams </h3>
+ <label><input id="removal-checkbox" type="checkbox" />Remove dead players</label>
+
+ <div id="stream"></div>
+ </div>
+ <div id="player-details">
+ <h3> Player Name </h3>
+
+ <div id="player-info-wrapper">
+ <div id="properties">
+ </div>
+ <div id="graph-wrapper">
+ <div class="collapse closed">
+ <h2> Grahps </h2>
+
+ <div class="collapse-content">
+ <div id="graph">
+
+ </div>
+ </div>
+ </div>
+ </div>
+ <div id="log-wrapper">
+ <div class="collapse closed">
+ <h2> Log </h2>
+
+ <div class="collapse-content">
+ <label for="filter-input"> Filter </label>
+ <input id="filter-input" type="text"/>
+
+ <div id="log">
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+</div>
+<script src="./media_internals.js" language="javascript" type="text/javascript"></script>
+</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698