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

Side by Side Diff: Source/core/accessibility/AXObject.h

Issue 596393004: Add AX attribute for input type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 virtual Node* node() const { return 0; } 507 virtual Node* node() const { return 0; }
508 virtual RenderObject* renderer() const { return 0; } 508 virtual RenderObject* renderer() const { return 0; }
509 virtual Document* document() const; 509 virtual Document* document() const;
510 virtual FrameView* documentFrameView() const; 510 virtual FrameView* documentFrameView() const;
511 virtual Element* anchorElement() const { return 0; } 511 virtual Element* anchorElement() const { return 0; }
512 virtual Element* actionElement() const { return 0; } 512 virtual Element* actionElement() const { return 0; }
513 virtual Widget* widgetForAttachmentView() const { return 0; } 513 virtual Widget* widgetForAttachmentView() const { return 0; }
514 String language() const; 514 String language() const;
515 bool hasAttribute(const QualifiedName&) const; 515 bool hasAttribute(const QualifiedName&) const;
516 const AtomicString& getAttribute(const QualifiedName&) const; 516 const AtomicString& getAttribute(const QualifiedName&) const;
517 const AtomicString& textInputType() const;
517 518
518 // Selected text. 519 // Selected text.
519 virtual PlainTextRange selectedTextRange() const { return PlainTextRange(); } 520 virtual PlainTextRange selectedTextRange() const { return PlainTextRange(); }
520 521
521 // Modify or take an action on an object. 522 // Modify or take an action on an object.
522 virtual void increment() { } 523 virtual void increment() { }
523 virtual void decrement() { } 524 virtual void decrement() { }
524 bool performDefaultAction() const { return press(); } 525 bool performDefaultAction() const { return press(); }
525 virtual bool press() const; 526 virtual bool press() const;
526 // Make this object visible by scrolling as many nested scrollable views as needed. 527 // Make this object visible by scrolling as many nested scrollable views as needed.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 579
579 bool m_detached; 580 bool m_detached;
580 }; 581 };
581 582
582 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 583 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
583 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 584 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
584 585
585 } // namespace blink 586 } // namespace blink
586 587
587 #endif // AXObject_h 588 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | Source/core/accessibility/AXObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698