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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/Script.js

Issue 1409223006: DevTools: replace content provider when re-adding into network project (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Same with isLiveEdit flag in a scriptParsed. Created 5 years, 1 month 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/sdk/Script.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
index 46a784225ad88dbc54c3b153b7c591f42e8399e9..55a12edbeaeb89876883ff2e0d9c04d28b0ed737 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js
@@ -36,10 +36,11 @@
* @param {number} endColumn
* @param {boolean} isContentScript
* @param {boolean} isInternalScript
+ * @param {boolean} isLiveEdit
* @param {string=} sourceMapURL
* @param {boolean=} hasSourceURL
*/
-WebInspector.Script = function(debuggerModel, scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, isInternalScript, sourceMapURL, hasSourceURL)
+WebInspector.Script = function(debuggerModel, scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, isInternalScript, isLiveEdit, sourceMapURL, hasSourceURL)
{
WebInspector.SDKObject.call(this, debuggerModel.target());
this.debuggerModel = debuggerModel;
@@ -51,6 +52,7 @@ WebInspector.Script = function(debuggerModel, scriptId, sourceURL, startLine, st
this.endColumn = endColumn;
this._isContentScript = isContentScript;
this._isInternalScript = isInternalScript;
+ this._isLiveEdit = isLiveEdit;
this.sourceMapURL = sourceMapURL;
this.hasSourceURL = hasSourceURL;
}
@@ -90,6 +92,14 @@ WebInspector.Script.prototype = {
},
/**
+ * @return {boolean}
+ */
+ isLiveEdit: function()
+ {
+ return this._isLiveEdit;
+ },
+
+ /**
* @override
* @return {string}
*/

Powered by Google App Engine
This is Rietveld 408576698