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

Unified Diff: third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js

Issue 2058323002: Add ARIA panel to accessibility sidebar pane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix test Created 4 years, 5 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/accessibility/AccessibilityNodeView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js b/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js
index 51c4d8617eaa450637a9b47828d24764e16290d3..f5918fd44891772f74e4f546daa3af1057f3f8e8 100644
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js
@@ -15,6 +15,8 @@ WebInspector.AXNodeSubPane = function()
this._treeOutline = this.createTreeOutline();
this._ignoredReasonsTree = this.createTreeOutline();
+
+ this.element.classList.add("accessibility-computed");
};
@@ -105,6 +107,16 @@ WebInspector.AXNodeSubPane.prototype = {
}
},
+ /**
+ * @override
+ * @param {?WebInspector.DOMNode} node
+ */
+ setNode: function(node)
+ {
+ WebInspector.AccessibilitySubPane.prototype.setNode.call(this, node);
+ this._axNode = null;
+ },
+
__proto__: WebInspector.AccessibilitySubPane.prototype
};

Powered by Google App Engine
This is Rietveld 408576698