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

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

Issue 2238613002: Support output for Chrome's native find in ChromeVox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@text_markers
Patch Set: Don't forget to bit shift in SendTreeChanges (checking against cached overall tree filter). Created 4 years, 4 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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 var nodeRefAttributes = [ 673 var nodeRefAttributes = [
674 ['activedescendantId', 'activeDescendant'], 674 ['activedescendantId', 'activeDescendant'],
675 ['tableColumnHeaderId', 'tableColumnHeader'], 675 ['tableColumnHeaderId', 'tableColumnHeader'],
676 ['tableHeaderId', 'tableHeader'], 676 ['tableHeaderId', 'tableHeader'],
677 ['tableRowHeaderId', 'tableRowHeader'], 677 ['tableRowHeaderId', 'tableRowHeader'],
678 ['titleUiElement', 'titleUIElement']]; 678 ['titleUiElement', 'titleUIElement']];
679 679
680 var intListAttributes = [ 680 var intListAttributes = [
681 'characterOffsets', 681 'characterOffsets',
682 'lineBreaks', 682 'lineBreaks',
683 'markerEnds',
684 'markerStarts',
685 'markerTypes',
683 'wordEnds', 686 'wordEnds',
684 'wordStarts']; 687 'wordStarts'];
685 688
686 var nodeRefListAttributes = [ 689 var nodeRefListAttributes = [
687 ['cellIds', 'cells'], 690 ['cellIds', 'cells'],
688 ['controlsIds', 'controls'], 691 ['controlsIds', 'controls'],
689 ['describedbyIds', 'describedBy'], 692 ['describedbyIds', 'describedBy'],
690 ['flowtoIds', 'flowTo'], 693 ['flowtoIds', 'flowTo'],
691 ['labelledbyIds', 'labelledBy'], 694 ['labelledbyIds', 'labelledBy'],
692 ['uniqueCellIds', 'uniqueCells']]; 695 ['uniqueCellIds', 'uniqueCells']];
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { 1057 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) {
1055 return AutomationRootNodeImpl.getOrCreate(treeID); 1058 return AutomationRootNodeImpl.getOrCreate(treeID);
1056 }); 1059 });
1057 1060
1058 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { 1061 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) {
1059 AutomationRootNodeImpl.destroy(treeID); 1062 AutomationRootNodeImpl.destroy(treeID);
1060 }); 1063 });
1061 1064
1062 exports.$set('AutomationNode', AutomationNode); 1065 exports.$set('AutomationNode', AutomationNode);
1063 exports.$set('AutomationRootNode', AutomationRootNode); 1066 exports.$set('AutomationRootNode', AutomationRootNode);
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/automation_internal_custom_bindings.cc ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698