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

Unified Diff: content/browser/accessibility/browser_accessibility.cc

Issue 143473003: Generate ax enums from idl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename literalvalues to cpp_omit_enum_type. Created 6 years, 11 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
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | tools/json_schema_compiler/cpp_util.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.cc
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
index 452f01b2560f281dd6d092edc34665dc5cff161e..382d12c93c27052b06fd7268598e51f61a71affc 100644
--- a/content/browser/accessibility/browser_accessibility.cc
+++ b/content/browser/accessibility/browser_accessibility.cc
@@ -602,7 +602,7 @@ bool BrowserAccessibility::IsEditableText() const {
// Note: WebAXStateReadonly being false means it's either a text control,
// or contenteditable. We also check for editable text roles to cover
// another element that has role=textbox set on it.
- return (!HasState(ui::AX_STATE_READONLY) ||
+ return (!HasState(ui::AX_STATE_READ_ONLY) ||
role_ == ui::AX_ROLE_TEXT_FIELD ||
role_ == ui::AX_ROLE_TEXT_AREA);
}
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | tools/json_schema_compiler/cpp_util.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698