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

Unified Diff: chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js

Issue 177049: On Linux, move the passing of filedescriptors to a dedicated socketpair(). (Closed)
Patch Set: Removed *.d files from reference build Created 11 years, 4 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: chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js
diff --git a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js
index 8611cf5e27dcc6443fa5cfa6a2a0ca5757beb93b..347df6084f127114665561b245e78ce78eb181c3 100644
--- a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js
+++ b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/Breakpoint.js
@@ -29,6 +29,7 @@ WebInspector.Breakpoint = function(url, line, sourceID)
this.line = line;
this.sourceID = sourceID;
this._enabled = true;
+ this._sourceText = "";
}
WebInspector.Breakpoint.prototype = {
@@ -48,6 +49,28 @@ WebInspector.Breakpoint.prototype = {
this.dispatchEventToListeners("enabled");
else
this.dispatchEventToListeners("disabled");
+ },
+
+ get sourceText()
+ {
+ return this._sourceText;
+ },
+
+ set sourceText(text)
+ {
+ this._sourceText = text;
+ this.dispatchEventToListeners("text-changed");
+ },
+
+ get label()
+ {
+ var displayName = (this.url ? WebInspector.displayNameForURL(this.url) : WebInspector.UIString("(program)"));
+ return displayName + ":" + this.line;
+ },
+
+ get id()
+ {
+ return this.sourceID + ":" + this.line;
}
}

Powered by Google App Engine
This is Rietveld 408576698