OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |