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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 virtual void detachFromParent() { m_parent = 0; } | 556 virtual void detachFromParent() { m_parent = 0; } |
557 virtual AXObject* observableObject() const { return 0; } | 557 virtual AXObject* observableObject() const { return 0; } |
558 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } | 558 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } |
559 | 559 |
560 // Properties of the object's owning document or page. | 560 // Properties of the object's owning document or page. |
561 virtual double estimatedLoadingProgress() const { return 0; } | 561 virtual double estimatedLoadingProgress() const { return 0; } |
562 AXObject* focusedUIElement() const; | 562 AXObject* focusedUIElement() const; |
563 | 563 |
564 // DOM and layout tree access. | 564 // DOM and layout tree access. |
565 virtual Node* node() const { return 0; } | 565 virtual Node* node() const { return 0; } |
566 virtual LayoutObject* renderer() const { return 0; } | 566 virtual LayoutObject* layoutObject() const { return 0; } |
567 virtual Document* document() const; | 567 virtual Document* document() const; |
568 virtual FrameView* documentFrameView() const; | 568 virtual FrameView* documentFrameView() const; |
569 virtual Element* anchorElement() const { return 0; } | 569 virtual Element* anchorElement() const { return 0; } |
570 virtual Element* actionElement() const { return 0; } | 570 virtual Element* actionElement() const { return 0; } |
571 virtual Widget* widgetForAttachmentView() const { return 0; } | 571 virtual Widget* widgetForAttachmentView() const { return 0; } |
572 String language() const; | 572 String language() const; |
573 bool hasAttribute(const QualifiedName&) const; | 573 bool hasAttribute(const QualifiedName&) const; |
574 const AtomicString& getAttribute(const QualifiedName&) const; | 574 const AtomicString& getAttribute(const QualifiedName&) const; |
575 | 575 |
576 // Selected text. | 576 // Selected text. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 static bool includesARIAWidgetRole(const String&); | 658 static bool includesARIAWidgetRole(const String&); |
659 static bool hasInteractiveARIAAttribute(const Element&); | 659 static bool hasInteractiveARIAAttribute(const Element&); |
660 }; | 660 }; |
661 | 661 |
662 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 662 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
663 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 663 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
664 | 664 |
665 } // namespace blink | 665 } // namespace blink |
666 | 666 |
667 #endif // AXObject_h | 667 #endif // AXObject_h |
OLD | NEW |