| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 virtual bool isLink() const { return false; } | 348 virtual bool isLink() const { return false; } |
| 349 virtual bool isList() const { return false; } | 349 virtual bool isList() const { return false; } |
| 350 bool isListItem() const { return roleValue() == ListItemRole; } | 350 bool isListItem() const { return roleValue() == ListItemRole; } |
| 351 virtual bool isListBoxOption() const { return false; } | 351 virtual bool isListBoxOption() const { return false; } |
| 352 virtual bool isMenu() const { return false; } | 352 virtual bool isMenu() const { return false; } |
| 353 virtual bool isMenuButton() const { return false; } | 353 virtual bool isMenuButton() const { return false; } |
| 354 virtual bool isMenuList() const { return false; } | 354 virtual bool isMenuList() const { return false; } |
| 355 virtual bool isMenuListOption() const { return false; } | 355 virtual bool isMenuListOption() const { return false; } |
| 356 virtual bool isMenuListPopup() const { return false; } | 356 virtual bool isMenuListPopup() const { return false; } |
| 357 bool isMenuRelated() const; | 357 bool isMenuRelated() const; |
| 358 virtual bool isMeter() const { return false; } |
| 358 virtual bool isMockObject() const { return false; } | 359 virtual bool isMockObject() const { return false; } |
| 359 virtual bool isNativeSpinButton() const { return false; } | 360 virtual bool isNativeSpinButton() const { return false; } |
| 360 virtual bool isNativeTextControl() const { return false; } // input or texta
rea | 361 virtual bool isNativeTextControl() const { return false; } // input or texta
rea |
| 361 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox | 362 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox |
| 362 virtual bool isPasswordField() const { return false; } | 363 virtual bool isPasswordField() const { return false; } |
| 363 virtual bool isPasswordFieldAndShouldHideValue() const; | 364 virtual bool isPasswordFieldAndShouldHideValue() const; |
| 364 virtual bool isProgressIndicator() const { return false; } | 365 virtual bool isProgressIndicator() const { return false; } |
| 365 bool isRadioButton() const { return roleValue() == RadioButtonRole; } | 366 bool isRadioButton() const { return roleValue() == RadioButtonRole; } |
| 366 bool isScrollbar() const { return roleValue() == ScrollBarRole; } | 367 bool isScrollbar() const { return roleValue() == ScrollBarRole; } |
| 367 virtual bool isSlider() const { return false; } | 368 virtual bool isSlider() const { return false; } |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 // functions called here may only search up the tree (ancestors), not down. | 632 // functions called here may only search up the tree (ancestors), not down. |
| 632 void updateCachedAttributeValuesIfNeeded() const; | 633 void updateCachedAttributeValuesIfNeeded() const; |
| 633 }; | 634 }; |
| 634 | 635 |
| 635 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 636 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 636 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 637 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 637 | 638 |
| 638 } // namespace blink | 639 } // namespace blink |
| 639 | 640 |
| 640 #endif // AXObject_h | 641 #endif // AXObject_h |
| OLD | NEW |