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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 bool isColorWell() const { return roleValue() == ColorWellRole; } | 315 bool isColorWell() const { return roleValue() == ColorWellRole; } |
316 bool isComboBox() const { return roleValue() == ComboBoxRole; } | 316 bool isComboBox() const { return roleValue() == ComboBoxRole; } |
317 virtual bool isControl() const { return false; } | 317 virtual bool isControl() const { return false; } |
318 virtual bool isDataTable() const { return false; } | 318 virtual bool isDataTable() const { return false; } |
319 virtual bool isFieldset() const { return false; } | 319 virtual bool isFieldset() const { return false; } |
320 virtual bool isFileUploadButton() const { return false; } | 320 virtual bool isFileUploadButton() const { return false; } |
321 virtual bool isHeading() const { return false; } | 321 virtual bool isHeading() const { return false; } |
322 virtual bool isImage() const { return false; } | 322 virtual bool isImage() const { return false; } |
323 virtual bool isImageMapLink() const { return false; } | 323 virtual bool isImageMapLink() const { return false; } |
324 virtual bool isInputImage() const { return false; } | 324 virtual bool isInputImage() const { return false; } |
| 325 bool isLandmarkRelated() const; |
325 virtual bool isLink() const { return false; } | 326 virtual bool isLink() const { return false; } |
326 virtual bool isList() const { return false; } | 327 virtual bool isList() const { return false; } |
327 bool isListItem() const { return roleValue() == ListItemRole; } | 328 bool isListItem() const { return roleValue() == ListItemRole; } |
328 virtual bool isListBoxOption() const { return false; } | 329 virtual bool isListBoxOption() const { return false; } |
329 virtual bool isMenu() const { return false; } | 330 virtual bool isMenu() const { return false; } |
330 virtual bool isMenuButton() const { return false; } | 331 virtual bool isMenuButton() const { return false; } |
331 virtual bool isMenuList() const { return false; } | 332 virtual bool isMenuList() const { return false; } |
332 virtual bool isMenuListOption() const { return false; } | 333 virtual bool isMenuListOption() const { return false; } |
333 virtual bool isMenuListPopup() const { return false; } | 334 virtual bool isMenuListPopup() const { return false; } |
334 bool isMenuRelated() const; | 335 bool isMenuRelated() const; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 | 576 |
576 bool m_detached; | 577 bool m_detached; |
577 }; | 578 }; |
578 | 579 |
579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 580 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 581 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
581 | 582 |
582 } // namespace WebCore | 583 } // namespace WebCore |
583 | 584 |
584 #endif // AXObject_h | 585 #endif // AXObject_h |
OLD | NEW |