| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 virtual bool isDataTable() const { return false; } | 327 virtual bool isDataTable() const { return false; } |
| 328 virtual bool isFieldset() const { return false; } | 328 virtual bool isFieldset() const { return false; } |
| 329 virtual bool isFileUploadButton() const { return false; } | 329 virtual bool isFileUploadButton() const { return false; } |
| 330 virtual bool isHeading() const { return false; } | 330 virtual bool isHeading() const { return false; } |
| 331 virtual bool isImage() const { return false; } | 331 virtual bool isImage() const { return false; } |
| 332 virtual bool isImageMapLink() const { return false; } | 332 virtual bool isImageMapLink() const { return false; } |
| 333 virtual bool isInputImage() const { return false; } | 333 virtual bool isInputImage() const { return false; } |
| 334 virtual bool isLink() const { return false; } | 334 virtual bool isLink() const { return false; } |
| 335 virtual bool isList() const { return false; } | 335 virtual bool isList() const { return false; } |
| 336 bool isListItem() const { return roleValue() == ListItemRole; } | 336 bool isListItem() const { return roleValue() == ListItemRole; } |
| 337 virtual bool isListBoxOption() const { return false; } |
| 337 virtual bool isMenu() const { return false; } | 338 virtual bool isMenu() const { return false; } |
| 338 virtual bool isMenuButton() const { return false; } | 339 virtual bool isMenuButton() const { return false; } |
| 339 virtual bool isMenuList() const { return false; } | 340 virtual bool isMenuList() const { return false; } |
| 340 virtual bool isMenuListOption() const { return false; } | 341 virtual bool isMenuListOption() const { return false; } |
| 341 virtual bool isMenuListPopup() const { return false; } | 342 virtual bool isMenuListPopup() const { return false; } |
| 342 bool isMenuRelated() const; | 343 bool isMenuRelated() const; |
| 343 virtual bool isMockObject() const { return false; } | 344 virtual bool isMockObject() const { return false; } |
| 344 virtual bool isNativeSpinButton() const { return false; } | 345 virtual bool isNativeSpinButton() const { return false; } |
| 345 virtual bool isNativeTextControl() const { return false; } // input or texta
rea | 346 virtual bool isNativeTextControl() const { return false; } // input or texta
rea |
| 346 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox | 347 virtual bool isNonNativeTextControl() const { return false; } // contentedit
able or role=textbox |
| 347 virtual bool isPasswordField() const { return false; } | 348 virtual bool isPasswordField() const { return false; } |
| 348 virtual bool isProgressIndicator() const { return false; } | 349 virtual bool isProgressIndicator() const { return false; } |
| 349 bool isRadioButton() const { return roleValue() == RadioButtonRole; } | 350 bool isRadioButton() const { return roleValue() == RadioButtonRole; } |
| 350 bool isScrollbar() const { return roleValue() == ScrollBarRole; } | 351 bool isScrollbar() const { return roleValue() == ScrollBarRole; } |
| 351 bool isSeamlessWebArea() const { return roleValue() == SeamlessWebAreaRole;
} | 352 bool isSeamlessWebArea() const { return roleValue() == SeamlessWebAreaRole;
} |
| 352 virtual bool isSlider() const { return false; } | 353 virtual bool isSlider() const { return false; } |
| 353 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } | 354 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } |
| 354 virtual bool isSpinButtonPart() const { return false; } | 355 virtual bool isSpinButtonPart() const { return false; } |
| 355 bool isTabItem() const { return roleValue() == TabRole; } | 356 bool isTabItem() const { return roleValue() == TabRole; } |
| 356 virtual bool isTableCell() const { return false; } | 357 virtual bool isTableCell() const { return false; } |
| 357 virtual bool isTableRow() const { return false; } | 358 virtual bool isTableRow() const { return false; } |
| 359 virtual bool isTableCol() const { return false; } |
| 358 bool isTextControl() const; | 360 bool isTextControl() const; |
| 359 bool isTree() const { return roleValue() == TreeRole; } | 361 bool isTree() const { return roleValue() == TreeRole; } |
| 360 bool isTreeItem() const { return roleValue() == TreeItemRole; } | 362 bool isTreeItem() const { return roleValue() == TreeItemRole; } |
| 361 bool isWebArea() const { return roleValue() == WebAreaRole; } | 363 bool isWebArea() const { return roleValue() == WebAreaRole; } |
| 362 | 364 |
| 363 // Check object state. | 365 // Check object state. |
| 364 virtual bool isChecked() const { return false; } | 366 virtual bool isChecked() const { return false; } |
| 365 virtual bool isClickable() const; | 367 virtual bool isClickable() const; |
| 366 virtual bool isCollapsed() const { return false; } | 368 virtual bool isCollapsed() const { return false; } |
| 367 virtual bool isEnabled() const { return false; } | 369 virtual bool isEnabled() const { return false; } |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 #if !HAVE(ACCESSIBILITY) | 587 #if !HAVE(ACCESSIBILITY) |
| 586 inline const AccessibilityObject::AccessibilityChildrenVector& AccessibilityObje
ct::children() { return m_children; } | 588 inline const AccessibilityObject::AccessibilityChildrenVector& AccessibilityObje
ct::children() { return m_children; } |
| 587 inline String AccessibilityObject::actionVerb() const { return emptyString(); } | 589 inline String AccessibilityObject::actionVerb() const { return emptyString(); } |
| 588 inline int AccessibilityObject::lineForPosition(const VisiblePosition&) const {
return -1; } | 590 inline int AccessibilityObject::lineForPosition(const VisiblePosition&) const {
return -1; } |
| 589 inline void AccessibilityObject::updateBackingStore() { } | 591 inline void AccessibilityObject::updateBackingStore() { } |
| 590 #endif | 592 #endif |
| 591 | 593 |
| 592 } // namespace WebCore | 594 } // namespace WebCore |
| 593 | 595 |
| 594 #endif // AccessibilityObject_h | 596 #endif // AccessibilityObject_h |
| OLD | NEW |