| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 virtual bool isMenuButton() const { return false; } | 346 virtual bool isMenuButton() const { return false; } |
| 347 virtual bool isMenuList() const { return false; } | 347 virtual bool isMenuList() const { return false; } |
| 348 virtual bool isMenuListOption() const { return false; } | 348 virtual bool isMenuListOption() const { return false; } |
| 349 virtual bool isMenuListPopup() const { return false; } | 349 virtual bool isMenuListPopup() const { return false; } |
| 350 bool isMenuRelated() const; | 350 bool isMenuRelated() const; |
| 351 virtual bool isMockObject() const { return false; } | 351 virtual bool isMockObject() const { return false; } |
| 352 virtual bool isNativeSpinButton() const { return false; } | 352 virtual bool isNativeSpinButton() const { return false; } |
| 353 virtual bool isNativeTextControl() const { return false; } // input or texta
rea | 353 virtual bool isNativeTextControl() const { return false; } // input or texta
rea |
| 354 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox | 354 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox |
| 355 virtual bool isPasswordField() const { return false; } | 355 virtual bool isPasswordField() const { return false; } |
| 356 virtual bool isPasswordFieldAndShouldHideValue() const; |
| 356 virtual bool isProgressIndicator() const { return false; } | 357 virtual bool isProgressIndicator() const { return false; } |
| 357 bool isRadioButton() const { return roleValue() == RadioButtonRole; } | 358 bool isRadioButton() const { return roleValue() == RadioButtonRole; } |
| 358 bool isScrollbar() const { return roleValue() == ScrollBarRole; } | 359 bool isScrollbar() const { return roleValue() == ScrollBarRole; } |
| 359 virtual bool isSlider() const { return false; } | 360 virtual bool isSlider() const { return false; } |
| 360 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } | 361 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } |
| 361 virtual bool isSpinButtonPart() const { return false; } | 362 virtual bool isSpinButtonPart() const { return false; } |
| 362 bool isTabItem() const { return roleValue() == TabRole; } | 363 bool isTabItem() const { return roleValue() == TabRole; } |
| 363 virtual bool isTableCell() const { return false; } | 364 virtual bool isTableCell() const { return false; } |
| 364 virtual bool isTableRow() const { return false; } | 365 virtual bool isTableRow() const { return false; } |
| 365 virtual bool isTableCol() const { return false; } | 366 virtual bool isTableCol() const { return false; } |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 // functions called here may only search up the tree (ancestors), not down. | 611 // functions called here may only search up the tree (ancestors), not down. |
| 611 void updateCachedAttributeValuesIfNeeded() const; | 612 void updateCachedAttributeValuesIfNeeded() const; |
| 612 }; | 613 }; |
| 613 | 614 |
| 614 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 615 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 615 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 616 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 616 | 617 |
| 617 } // namespace blink | 618 } // namespace blink |
| 618 | 619 |
| 619 #endif // AXObject_h | 620 #endif // AXObject_h |
| OLD | NEW |