| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 virtual bool isNativeSpinButton() const { return false; } | 379 virtual bool isNativeSpinButton() const { return false; } |
| 380 virtual bool isNativeTextControl() const { return false; } // input or texta
rea | 380 virtual bool isNativeTextControl() const { return false; } // input or texta
rea |
| 381 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox | 381 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox |
| 382 virtual bool isPasswordField() const { return false; } | 382 virtual bool isPasswordField() const { return false; } |
| 383 virtual bool isPasswordFieldAndShouldHideValue() const; | 383 virtual bool isPasswordFieldAndShouldHideValue() const; |
| 384 bool isPresentational() const { return roleValue() == NoneRole || roleValue(
) == PresentationalRole; } | 384 bool isPresentational() const { return roleValue() == NoneRole || roleValue(
) == PresentationalRole; } |
| 385 virtual bool isProgressIndicator() const { return false; } | 385 virtual bool isProgressIndicator() const { return false; } |
| 386 bool isRadioButton() const { return roleValue() == RadioButtonRole; } | 386 bool isRadioButton() const { return roleValue() == RadioButtonRole; } |
| 387 bool isScrollbar() const { return roleValue() == ScrollBarRole; } | 387 bool isScrollbar() const { return roleValue() == ScrollBarRole; } |
| 388 virtual bool isSlider() const { return false; } | 388 virtual bool isSlider() const { return false; } |
| 389 virtual bool isNativeSlider() const { return false; } |
| 389 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } | 390 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } |
| 390 virtual bool isSpinButtonPart() const { return false; } | 391 virtual bool isSpinButtonPart() const { return false; } |
| 391 bool isTabItem() const { return roleValue() == TabRole; } | 392 bool isTabItem() const { return roleValue() == TabRole; } |
| 392 virtual bool isTableCell() const { return false; } | 393 virtual bool isTableCell() const { return false; } |
| 393 virtual bool isTableRow() const { return false; } | 394 virtual bool isTableRow() const { return false; } |
| 394 virtual bool isTableCol() const { return false; } | 395 virtual bool isTableCol() const { return false; } |
| 395 bool isTextControl() const; | 396 bool isTextControl() const; |
| 396 bool isTree() const { return roleValue() == TreeRole; } | 397 bool isTree() const { return roleValue() == TreeRole; } |
| 397 bool isTreeItem() const { return roleValue() == TreeItemRole; } | 398 bool isTreeItem() const { return roleValue() == TreeItemRole; } |
| 398 bool isWebArea() const { return roleValue() == WebAreaRole; } | 399 bool isWebArea() const { return roleValue() == WebAreaRole; } |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 static bool includesARIAWidgetRole(const String&); | 673 static bool includesARIAWidgetRole(const String&); |
| 673 static bool hasInteractiveARIAAttribute(const Element&); | 674 static bool hasInteractiveARIAAttribute(const Element&); |
| 674 }; | 675 }; |
| 675 | 676 |
| 676 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 677 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 677 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 678 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 678 | 679 |
| 679 } // namespace blink | 680 } // namespace blink |
| 680 | 681 |
| 681 #endif // AXObject_h | 682 #endif // AXObject_h |
| OLD | NEW |