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

Unified Diff: chrome/common/extensions/api/automation.idl

Issue 2151713002: Less strict checked state changes and introduce disabled state for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: m 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: chrome/common/extensions/api/automation.idl
diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl
index bf02ca326a8e61b63ca5d3b8eb3fadfa9bd3c456..976bbcd7f3c80bb2b6823aac6b2198bc583a85dd 100644
--- a/chrome/common/extensions/api/automation.idl
+++ b/chrome/common/extensions/api/automation.idl
@@ -188,9 +188,8 @@
checked,
collapsed,
default,
- disabled, // ui/views only
+ disabled,
editable,
- enabled, // content only
expanded,
focusable,
focused,
@@ -263,8 +262,8 @@
// A map of $(ref:automation.StateType) to boolean, indicating for each
// state whether it should be set or not. For example:
- // <code>{ StateType.enabled: false }</code> would only match if
- // <code>StateType.enabled</code> was <em>not</em> present in the node's
+ // <code>{ StateType.disabled: false }</code> would only match if
+ // <code>StateType.disabled</code> was <em>not</em> present in the node's
// <code>state</code> object.
object? state;

Powered by Google App Engine
This is Rietveld 408576698