| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 virtual bool isMenuListPopup() const { return false; } | 334 virtual bool isMenuListPopup() const { return false; } |
| 335 bool isMenuRelated() const; | 335 bool isMenuRelated() const; |
| 336 virtual bool isMockObject() const { return false; } | 336 virtual bool isMockObject() const { return false; } |
| 337 virtual bool isNativeSpinButton() const { return false; } | 337 virtual bool isNativeSpinButton() const { return false; } |
| 338 virtual bool isNativeTextControl() const { return false; } // input or texta
rea | 338 virtual bool isNativeTextControl() const { return false; } // input or texta
rea |
| 339 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox | 339 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox |
| 340 virtual bool isPasswordField() const { return false; } | 340 virtual bool isPasswordField() const { return false; } |
| 341 virtual bool isProgressIndicator() const { return false; } | 341 virtual bool isProgressIndicator() const { return false; } |
| 342 bool isRadioButton() const { return roleValue() == RadioButtonRole; } | 342 bool isRadioButton() const { return roleValue() == RadioButtonRole; } |
| 343 bool isScrollbar() const { return roleValue() == ScrollBarRole; } | 343 bool isScrollbar() const { return roleValue() == ScrollBarRole; } |
| 344 bool isSeamlessWebArea() const { return roleValue() == SeamlessWebAreaRole;
} | |
| 345 virtual bool isSlider() const { return false; } | 344 virtual bool isSlider() const { return false; } |
| 346 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } | 345 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } |
| 347 virtual bool isSpinButtonPart() const { return false; } | 346 virtual bool isSpinButtonPart() const { return false; } |
| 348 bool isTabItem() const { return roleValue() == TabRole; } | 347 bool isTabItem() const { return roleValue() == TabRole; } |
| 349 virtual bool isTableCell() const { return false; } | 348 virtual bool isTableCell() const { return false; } |
| 350 virtual bool isTableRow() const { return false; } | 349 virtual bool isTableRow() const { return false; } |
| 351 virtual bool isTableCol() const { return false; } | 350 virtual bool isTableCol() const { return false; } |
| 352 bool isTextControl() const; | 351 bool isTextControl() const; |
| 353 bool isTree() const { return roleValue() == TreeRole; } | 352 bool isTree() const { return roleValue() == TreeRole; } |
| 354 bool isTreeItem() const { return roleValue() == TreeItemRole; } | 353 bool isTreeItem() const { return roleValue() == TreeItemRole; } |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 | 574 |
| 576 bool m_detached; | 575 bool m_detached; |
| 577 }; | 576 }; |
| 578 | 577 |
| 579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 578 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 579 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 581 | 580 |
| 582 } // namespace WebCore | 581 } // namespace WebCore |
| 583 | 582 |
| 584 #endif // AXObject_h | 583 #endif // AXObject_h |
| OLD | NEW |