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

Unified Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 755883006: Remove unused roles(EditableText, SplitGroup, GrowArea) from Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: chrome/renderer/resources/extensions/automation/automation_node.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index c4252444d4dc85011cbf9526ff2b14d85bb26c58..9dcf62619a5586e0e62426f8486d4cbbe1a8bd1b 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -773,8 +773,7 @@ AutomationRootNodeImpl.prototype = {
}
// If this is an editable text area, set editable text attributes.
- if (nodeData.role == schema.RoleType.editableText ||
- nodeData.role == schema.RoleType.textField ||
+ if (nodeData.role == schema.RoleType.textField ||
nodeData.role == schema.RoleType.textArea) {
this.mixinAttributes_(nodeImpl, EditableTextMixinAttributes, nodeData);
}
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/test/data/extensions/api_test/automation/tests/unit/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698