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

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

Issue 1162263008: Exposes datetime attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-upload due to browser_accessibility_cocoa.mm Created 5 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 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
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
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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698