OLD | NEW |
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 IsInteractPermitted = | 8 var IsInteractPermitted = |
9 requireNative('automationInternal').IsInteractPermitted; | 9 requireNative('automationInternal').IsInteractPermitted; |
10 | 10 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 scrollXMin: defaultIntAttribute(), | 465 scrollXMin: defaultIntAttribute(), |
466 scrollXMax: defaultIntAttribute(), | 466 scrollXMax: defaultIntAttribute(), |
467 scrollY: defaultIntAttribute(), | 467 scrollY: defaultIntAttribute(), |
468 scrollYMin: defaultIntAttribute(), | 468 scrollYMin: defaultIntAttribute(), |
469 scrollYMax: defaultIntAttribute() | 469 scrollYMax: defaultIntAttribute() |
470 }; | 470 }; |
471 | 471 |
472 var EditableTextMixinAttributes = { | 472 var EditableTextMixinAttributes = { |
473 textSelStart: defaultIntAttribute(-1), | 473 textSelStart: defaultIntAttribute(-1), |
474 textSelEnd: defaultIntAttribute(-1), | 474 textSelEnd: defaultIntAttribute(-1), |
475 textInputType: defaultStringAttribute() | 475 type: defaultHtmlAttribute() |
476 }; | 476 }; |
477 | 477 |
478 var RangeMixinAttributes = { | 478 var RangeMixinAttributes = { |
479 valueForRange: defaultFloatAttribute(), | 479 valueForRange: defaultFloatAttribute(), |
480 minValueForRange: defaultFloatAttribute(), | 480 minValueForRange: defaultFloatAttribute(), |
481 maxValueForRange: defaultFloatAttribute() | 481 maxValueForRange: defaultFloatAttribute() |
482 }; | 482 }; |
483 | 483 |
484 var TableMixinAttributes = { | 484 var TableMixinAttributes = { |
485 tableRowCount: defaultIntAttribute(), | 485 tableRowCount: defaultIntAttribute(), |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 'attributes', | 1045 'attributes', |
1046 'indexInParent', | 1046 'indexInParent', |
1047 'root'] }); | 1047 'root'] }); |
1048 | 1048 |
1049 var AutomationRootNode = utils.expose('AutomationRootNode', | 1049 var AutomationRootNode = utils.expose('AutomationRootNode', |
1050 AutomationRootNodeImpl, | 1050 AutomationRootNodeImpl, |
1051 { superclass: AutomationNode }); | 1051 { superclass: AutomationNode }); |
1052 | 1052 |
1053 exports.AutomationNode = AutomationNode; | 1053 exports.AutomationNode = AutomationNode; |
1054 exports.AutomationRootNode = AutomationRootNode; | 1054 exports.AutomationRootNode = AutomationRootNode; |
OLD | NEW |