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

Unified Diff: Source/devtools/front_end/ResourceType.js

Issue 114123005: Show media and VTT text tracks in the devtools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated broken test Created 7 years 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
« no previous file with comments | « Source/devtools/front_end/NetworkManager.js ('k') | Source/devtools/front_end/networkLogView.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ResourceType.js
diff --git a/Source/devtools/front_end/ResourceType.js b/Source/devtools/front_end/ResourceType.js
index 2c206c7fd07a5ee9e1cd1518f7666999c97f8f30..552f817cef4cdd1064b0549d3eab0d9c9b142710 100644
--- a/Source/devtools/front_end/ResourceType.js
+++ b/Source/devtools/front_end/ResourceType.js
@@ -116,9 +116,11 @@ WebInspector.resourceTypes = {
Document: new WebInspector.ResourceType("document", "Document", "Documents", "rgb(47,102,236)", true),
Stylesheet: new WebInspector.ResourceType("stylesheet", "Stylesheet", "Stylesheets", "rgb(157,231,119)", true),
Image: new WebInspector.ResourceType("image", "Image", "Images", "rgb(164,60,255)", false),
+ Media: new WebInspector.ResourceType("media", "Media", "Media", "rgb(164,60,255)", false), // FIXME: Decide the color.
Script: new WebInspector.ResourceType("script", "Script", "Scripts", "rgb(255,121,0)", true),
XHR: new WebInspector.ResourceType("xhr", "XHR", "XHR", "rgb(231,231,10)", true),
Font: new WebInspector.ResourceType("font", "Font", "Fonts", "rgb(255,82,62)", false),
+ TextTrack: new WebInspector.ResourceType("texttrack", "TextTrack", "TextTracks", "rgb(164,60,255)", true), // FIXME: Decide the color.
WebSocket: new WebInspector.ResourceType("websocket", "WebSocket", "WebSockets", "rgb(186,186,186)", false), // FIXME: Decide the color.
Other: new WebInspector.ResourceType("other", "Other", "Other", "rgb(186,186,186)", false)
}
@@ -176,5 +178,8 @@ WebInspector.ResourceType.mimeTypesForExtensions = {
"sh": "text/x-sh",
// SCSS
- "scss": "text/x-scss"
+ "scss": "text/x-scss",
+
+ // Video Text Tracks.
+ "vtt": "text/vtt"
}
« no previous file with comments | « Source/devtools/front_end/NetworkManager.js ('k') | Source/devtools/front_end/networkLogView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698