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

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

Issue 2526073003: Re-add the line break attribute (Closed)
Patch Set: --file=/tmp/m Created 4 years 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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 ['activedescendantId', 'activeDescendant'], 714 ['activedescendantId', 'activeDescendant'],
715 ['nextOnLineId', 'nextOnLine'], 715 ['nextOnLineId', 'nextOnLine'],
716 ['previousOnLineId', 'previousOnLine'], 716 ['previousOnLineId', 'previousOnLine'],
717 ['tableColumnHeaderId', 'tableColumnHeader'], 717 ['tableColumnHeaderId', 'tableColumnHeader'],
718 ['tableHeaderId', 'tableHeader'], 718 ['tableHeaderId', 'tableHeader'],
719 ['tableRowHeaderId', 'tableRowHeader'], 719 ['tableRowHeaderId', 'tableRowHeader'],
720 ['titleUiElement', 'titleUIElement']]; 720 ['titleUiElement', 'titleUIElement']];
721 721
722 var intListAttributes = [ 722 var intListAttributes = [
723 'characterOffsets', 723 'characterOffsets',
724 'lineBreaks',
724 'markerEnds', 725 'markerEnds',
725 'markerStarts', 726 'markerStarts',
726 'markerTypes', 727 'markerTypes',
727 'wordEnds', 728 'wordEnds',
728 'wordStarts']; 729 'wordStarts'];
729 730
730 var nodeRefListAttributes = [ 731 var nodeRefListAttributes = [
731 ['cellIds', 'cells'], 732 ['cellIds', 'cells'],
732 ['controlsIds', 'controls'], 733 ['controlsIds', 'controls'],
733 ['describedbyIds', 'describedBy'], 734 ['describedbyIds', 'describedBy'],
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) { 1117 utils.defineProperty(AutomationRootNode, 'getOrCreate', function(treeID) {
1117 return AutomationRootNodeImpl.getOrCreate(treeID); 1118 return AutomationRootNodeImpl.getOrCreate(treeID);
1118 }); 1119 });
1119 1120
1120 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) { 1121 utils.defineProperty(AutomationRootNode, 'destroy', function(treeID) {
1121 AutomationRootNodeImpl.destroy(treeID); 1122 AutomationRootNodeImpl.destroy(treeID);
1122 }); 1123 });
1123 1124
1124 exports.$set('AutomationNode', AutomationNode); 1125 exports.$set('AutomationNode', AutomationNode);
1125 exports.$set('AutomationRootNode', AutomationRootNode); 1126 exports.$set('AutomationRootNode', AutomationRootNode);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698