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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js

Issue 2377193004: [DevTools] Rework some focus code. (Closed)
Patch Set: FocusRestorer Created 4 years, 3 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/elements/ElementsTreeOutline.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
index e79c8021c8b819ae7a530f2f3df8aedcdbe00323..a3d9b00a1c40cf11870c0e0146cad3174727c654 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
@@ -155,14 +155,6 @@ WebInspector.ElementsTreeOutline.prototype = {
},
/**
- * @return {boolean}
- */
- hasFocus: function()
- {
- return this._element === WebInspector.currentFocusElement();
- },
-
- /**
* @param {boolean} wrap
*/
setWordWrap: function(wrap)

Powered by Google App Engine
This is Rietveld 408576698