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

Side by Side Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 2917123002: Support role description in automation/ChromeVox (Closed)
Patch Set: Rebase. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var AutomationEvent = require('automationEvent').AutomationEvent; 5 var AutomationEvent = require('automationEvent').AutomationEvent;
6 var automationInternal = 6 var automationInternal =
7 require('binding').Binding.create('automationInternal').generate(); 7 require('binding').Binding.create('automationInternal').generate();
8 var exceptionHandler = require('uncaught_exception_handler'); 8 var exceptionHandler = require('uncaught_exception_handler');
9 var IsInteractPermitted = 9 var IsInteractPermitted =
10 requireNative('automationInternal').IsInteractPermitted; 10 requireNative('automationInternal').IsInteractPermitted;
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 'containerLiveStatus', 704 'containerLiveStatus',
705 'description', 705 'description',
706 'display', 706 'display',
707 'htmlTag', 707 'htmlTag',
708 'imageDataUrl', 708 'imageDataUrl',
709 'language', 709 'language',
710 'liveRelevant', 710 'liveRelevant',
711 'liveStatus', 711 'liveStatus',
712 'name', 712 'name',
713 'placeholder', 713 'placeholder',
714 'roleDescription',
714 'textInputType', 715 'textInputType',
715 'url', 716 'url',
716 'value']; 717 'value'];
717 718
718 var boolAttributes = [ 719 var boolAttributes = [
719 'ariaReadonly', 720 'ariaReadonly',
720 'containerLiveAtomic', 721 'containerLiveAtomic',
721 'containerLiveBusy', 722 'containerLiveBusy',
722 'liveAtomic', 723 'liveAtomic',
723 'liveBusy']; 724 'liveBusy'];
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { 1167 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) {
1167 return AutomationRootNodeImpl.getOrCreate(treeID); 1168 return AutomationRootNodeImpl.getOrCreate(treeID);
1168 }); 1169 });
1169 1170
1170 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { 1171 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) {
1171 AutomationRootNodeImpl.destroy(treeID); 1172 AutomationRootNodeImpl.destroy(treeID);
1172 }); 1173 });
1173 1174
1174 exports.$set('AutomationNode', AutomationNode); 1175 exports.$set('AutomationNode', AutomationNode);
1175 exports.$set('AutomationRootNode', AutomationRootNode); 1176 exports.$set('AutomationRootNode', AutomationRootNode);
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | third_party/closure_compiler/externs/automation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698