summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/idl_schema.py
diff options
context:
space:
mode:
authordtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-09 10:45:09 +0000
committerdtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-09 10:45:09 +0000
commit70e263e2fbd7c254a0bf462cd8e409a0102eec10 (patch)
treeb6ddf2f54e160abe97adebf6c87ca232744a660d /tools/json_schema_compiler/idl_schema.py
parent36c70f67d90318f5d13735b9a88188a0f186515c (diff)
downloadchromium_src-70e263e2fbd7c254a0bf462cd8e409a0102eec10.zip
chromium_src-70e263e2fbd7c254a0bf462cd8e409a0102eec10.tar.gz
chromium_src-70e263e2fbd7c254a0bf462cd8e409a0102eec10.tar.bz2
Generate ax enums from idl.
This cl lays the groundwork for sharing all ax enums between platfrom accessibility and extension accessibility. BUG= Review URL: https://codereview.chromium.org/143473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/idl_schema.py')
-rw-r--r--tools/json_schema_compiler/idl_schema.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
index 62d31ed..bc8b2bf 100644
--- a/tools/json_schema_compiler/idl_schema.py
+++ b/tools/json_schema_compiler/idl_schema.py
@@ -309,7 +309,8 @@ class Enum(object):
'description': self.description,
'type': 'string',
'enum': enum}
- for property_name in ('inline_doc', 'noinline_doc', 'nodoc'):
+ for property_name in (
+ 'inline_doc', 'noinline_doc', 'nodoc', 'cpp_omit_enum_type',):
if self.node.GetProperty(property_name):
result[property_name] = True
if self.node.GetProperty('deprecated'):