| 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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 virtual void setSelected(bool) { } | 530 virtual void setSelected(bool) { } |
| 531 void setSelectedText(const String&) { } | 531 void setSelectedText(const String&) { } |
| 532 virtual void setSelectedTextRange(const PlainTextRange&) { } | 532 virtual void setSelectedTextRange(const PlainTextRange&) { } |
| 533 virtual void setValue(const String&) { } | 533 virtual void setValue(const String&) { } |
| 534 virtual void setValue(float) { } | 534 virtual void setValue(float) { } |
| 535 | 535 |
| 536 // Notifications that this object may have changed. | 536 // Notifications that this object may have changed. |
| 537 virtual void childrenChanged() { } | 537 virtual void childrenChanged() { } |
| 538 virtual void handleActiveDescendantChanged() { } | 538 virtual void handleActiveDescendantChanged() { } |
| 539 virtual void handleAriaExpandedChanged() { } | 539 virtual void handleAriaExpandedChanged() { } |
| 540 void notifyIfIgnoredValueChanged(); | 540 bool notifyIfIgnoredValueChanged(); |
| 541 virtual void selectionChanged(); | 541 virtual void selectionChanged(); |
| 542 virtual void textChanged() { } | 542 virtual void textChanged() { } |
| 543 virtual void updateAccessibilityRole() { } | 543 virtual void updateAccessibilityRole() { } |
| 544 | 544 |
| 545 // Text metrics. Most of these should be deprecated, needs major cleanup. | 545 // Text metrics. Most of these should be deprecated, needs major cleanup. |
| 546 virtual VisiblePosition visiblePositionForIndex(int) const { return VisibleP
osition(); } | 546 virtual VisiblePosition visiblePositionForIndex(int) const { return VisibleP
osition(); } |
| 547 int lineForPosition(const VisiblePosition&) const; | 547 int lineForPosition(const VisiblePosition&) const; |
| 548 virtual int index(const VisiblePosition&) const { return -1; } | 548 virtual int index(const VisiblePosition&) const { return -1; } |
| 549 virtual void lineBreaks(Vector<int>&) const { } | 549 virtual void lineBreaks(Vector<int>&) const { } |
| 550 | 550 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 575 | 575 |
| 576 bool m_detached; | 576 bool m_detached; |
| 577 }; | 577 }; |
| 578 | 578 |
| 579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 581 | 581 |
| 582 } // namespace WebCore | 582 } // namespace WebCore |
| 583 | 583 |
| 584 #endif // AXObject_h | 584 #endif // AXObject_h |
| OLD | NEW |