| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2008 Nuanti Ltd. | 4 * Copyright (C) 2008 Nuanti Ltd. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 virtual AccessibilityExpanded IsExpanded() const { | 445 virtual AccessibilityExpanded IsExpanded() const { |
| 446 return kExpandedUndefined; | 446 return kExpandedUndefined; |
| 447 } | 447 } |
| 448 virtual bool IsFocused() const { return false; } | 448 virtual bool IsFocused() const { return false; } |
| 449 virtual bool IsHovered() const { return false; } | 449 virtual bool IsHovered() const { return false; } |
| 450 virtual bool IsLinked() const { return false; } | 450 virtual bool IsLinked() const { return false; } |
| 451 virtual bool IsLoaded() const { return false; } | 451 virtual bool IsLoaded() const { return false; } |
| 452 virtual bool IsModal() const { return false; } | 452 virtual bool IsModal() const { return false; } |
| 453 virtual bool IsMultiSelectable() const { return false; } | 453 virtual bool IsMultiSelectable() const { return false; } |
| 454 virtual bool IsOffScreen() const { return false; } | 454 virtual bool IsOffScreen() const { return false; } |
| 455 virtual bool IsPressed() const { return false; } | 455 virtual AccessibilityButtonState PressedState() const { |
| 456 return kButtonStateOff; |
| 457 } |
| 456 virtual bool IsReadOnly() const { return false; } | 458 virtual bool IsReadOnly() const { return false; } |
| 457 virtual bool IsRequired() const { return false; } | 459 virtual bool IsRequired() const { return false; } |
| 458 virtual bool IsSelected() const { return false; } | 460 virtual bool IsSelected() const { return false; } |
| 459 virtual bool IsSelectedOptionActive() const { return false; } | 461 virtual bool IsSelectedOptionActive() const { return false; } |
| 460 virtual bool IsVisible() const { return true; } | 462 virtual bool IsVisible() const { return true; } |
| 461 virtual bool IsVisited() const { return false; } | 463 virtual bool IsVisited() const { return false; } |
| 462 | 464 |
| 463 // Check whether certain properties can be modified. | 465 // Check whether certain properties can be modified. |
| 464 virtual bool CanSetFocusAttribute() const { return false; } | 466 virtual bool CanSetFocusAttribute() const { return false; } |
| 465 virtual bool CanSetValueAttribute() const { return false; } | 467 virtual bool CanSetValueAttribute() const { return false; } |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 | 896 |
| 895 DEFINE_TYPE_CASTS(AXObjectImpl, AXObject, obj, true, true); | 897 DEFINE_TYPE_CASTS(AXObjectImpl, AXObject, obj, true, true); |
| 896 | 898 |
| 897 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 899 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 898 DEFINE_TYPE_CASTS(thisType, AXObjectImpl, object, object->predicate, \ | 900 DEFINE_TYPE_CASTS(thisType, AXObjectImpl, object, object->predicate, \ |
| 899 object.predicate) | 901 object.predicate) |
| 900 | 902 |
| 901 } // namespace blink | 903 } // namespace blink |
| 902 | 904 |
| 903 #endif // AXObjectImpl_h | 905 #endif // AXObjectImpl_h |
| OLD | NEW |