| 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 // Check object state. | 675 // Check object state. |
| 676 virtual bool isChecked() const { return false; } | 676 virtual bool isChecked() const { return false; } |
| 677 virtual bool isClickable() const; | 677 virtual bool isClickable() const; |
| 678 virtual bool isCollapsed() const { return false; } | 678 virtual bool isCollapsed() const { return false; } |
| 679 virtual bool isEnabled() const { return false; } | 679 virtual bool isEnabled() const { return false; } |
| 680 virtual AccessibilityExpanded isExpanded() const { return ExpandedUndefined; } | 680 virtual AccessibilityExpanded isExpanded() const { return ExpandedUndefined; } |
| 681 virtual bool isFocused() const { return false; } | 681 virtual bool isFocused() const { return false; } |
| 682 virtual bool isHovered() const { return false; } | 682 virtual bool isHovered() const { return false; } |
| 683 virtual bool isLinked() const { return false; } | 683 virtual bool isLinked() const { return false; } |
| 684 virtual bool isLoaded() const { return false; } | 684 virtual bool isLoaded() const { return false; } |
| 685 virtual bool isModal() const { return false; } |
| 685 virtual bool isMultiSelectable() const { return false; } | 686 virtual bool isMultiSelectable() const { return false; } |
| 686 virtual bool isOffScreen() const { return false; } | 687 virtual bool isOffScreen() const { return false; } |
| 687 virtual bool isPressed() const { return false; } | 688 virtual bool isPressed() const { return false; } |
| 688 virtual bool isReadOnly() const { return false; } | 689 virtual bool isReadOnly() const { return false; } |
| 689 virtual bool isRequired() const { return false; } | 690 virtual bool isRequired() const { return false; } |
| 690 virtual bool isSelected() const { return false; } | 691 virtual bool isSelected() const { return false; } |
| 691 virtual bool isSelectedOptionActive() const { return false; } | 692 virtual bool isSelectedOptionActive() const { return false; } |
| 692 virtual bool isVisible() const { return true; } | 693 virtual bool isVisible() const { return true; } |
| 693 virtual bool isVisited() const { return false; } | 694 virtual bool isVisited() const { return false; } |
| 694 | 695 |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 static unsigned s_numberOfLiveAXObjects; | 1106 static unsigned s_numberOfLiveAXObjects; |
| 1106 }; | 1107 }; |
| 1107 | 1108 |
| 1108 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 1109 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 1109 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ | 1110 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ |
| 1110 object.predicate) | 1111 object.predicate) |
| 1111 | 1112 |
| 1112 } // namespace blink | 1113 } // namespace blink |
| 1113 | 1114 |
| 1114 #endif // AXObject_h | 1115 #endif // AXObject_h |
| OLD | NEW |