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

Unified Diff: Source/devtools/blink/chromeServerProfile/Default/Cache/f_000052

Issue 242263007: Add <label> to items in Event Listener Breakpoint of Chrome Dev Tools Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 6 years, 8 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: Source/devtools/blink/chromeServerProfile/Default/Cache/f_000052
diff --git a/Source/devtools/front_end/RemoteObject.js b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000052
similarity index 98%
copy from Source/devtools/front_end/RemoteObject.js
copy to Source/devtools/blink/chromeServerProfile/Default/Cache/f_000052
index 8584146e9adde85269afce1f0f82c35579337414..2a5420e3ebfe94f7c1e37ee4c2dd74ea854e0fe8 100644
--- a/Source/devtools/front_end/RemoteObject.js
+++ b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000052
@@ -114,19 +114,6 @@ WebInspector.RemoteObject.prototype = {
},
/**
- * @return {boolean}
- */
- isNode: function()
- {
- return false;
- },
-
- reveal: function()
- {
- WebInspector.Revealer.reveal(this);
- },
-
- /**
* @param {function(?DebuggerAgent.FunctionDetails)} callback
*/
functionDetails: function(callback)
@@ -427,14 +414,14 @@ WebInspector.RemoteObjectImpl.prototype = {
},
/**
- * @param {function(?WebInspector.DOMNode)} callback
+ * @param {function(?DOMAgent.NodeId)} callback
*/
pushNodeToFrontend: function(callback)
{
- if (this.isNode())
+ if (this._objectId)
this._domModel.pushNodeToFrontend(this._objectId, callback);
else
- callback(null);
+ callback(0);
},
highlightAsDOMNode: function()
@@ -523,14 +510,6 @@ WebInspector.RemoteObjectImpl.prototype = {
},
/**
- * @return {boolean}
- */
- isNode: function()
- {
- return !!this._objectId && this.type === "object" && this.subtype === "node";
- },
-
- /**
* @param {function(?DebuggerAgent.FunctionDetails)} callback
*/
functionDetails: function(callback)

Powered by Google App Engine
This is Rietveld 408576698