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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js

Issue 1419813005: DevTools: always use CodeMirror for response preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
index 72962d75f839a1afa1fb2eabe720966bc2ae170d..51b4978cb6c8bea6154140c162a67d629332be4c 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
@@ -59,36 +59,3 @@ WebInspector.ResourceSourceFrame.prototype = {
__proto__: WebInspector.SourceFrame.prototype
}
-
-/**
- * @constructor
- * @extends {WebInspector.VBox}
- * @param {!WebInspector.ContentProvider} resource
- */
-WebInspector.ResourceSourceFrameFallback = function(resource)
-{
- WebInspector.VBox.call(this);
- this.registerRequiredCSS("source_frame/resourceSourceFrame.css");
- this._resource = resource;
- this._content = this.element.createChild("div", "resource-source-frame-fallback monospace");
-}
-
-WebInspector.ResourceSourceFrameFallback.prototype = {
- wasShown: function()
- {
- if (!this._contentRequested) {
- this._contentRequested = true;
- this._resource.requestContent(this._contentLoaded.bind(this));
- }
- },
-
- /**
- * @param {?string} content
- */
- _contentLoaded: function(content)
- {
- this._content.textContent = content;
- },
-
- __proto__: WebInspector.VBox.prototype
-}

Powered by Google App Engine
This is Rietveld 408576698