| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 AccessibilityRole roleValue() const override; | 55 AccessibilityRole roleValue() const override; |
| 56 bool isEnabled() const override { return true; } | 56 bool isEnabled() const override { return true; } |
| 57 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 57 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
| 58 | 58 |
| 59 Element* anchorElement() const override; | 59 Element* anchorElement() const override; |
| 60 Element* actionElement() const override; | 60 Element* actionElement() const override; |
| 61 KURL url() const override; | 61 KURL url() const override; |
| 62 bool isLink() const override { return true; } | 62 bool isLink() const override { return true; } |
| 63 bool isLinked() const override { return true; } | 63 bool isLinked() const override { return true; } |
| 64 AXObject* computeParent() const override; | 64 AXObject* computeParent() const override; |
| 65 | 65 void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContai
ner, SkMatrix44& outContainerTransform) const override; |
| 66 LayoutRect elementRect() const override; | |
| 67 | 66 |
| 68 private: | 67 private: |
| 69 bool isImageMapLink() const override { return true; } | 68 bool isImageMapLink() const override { return true; } |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink()); | 71 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink()); |
| 73 | 72 |
| 74 } // namespace blink | 73 } // namespace blink |
| 75 | 74 |
| 76 #endif // AXImageMapLink_h | 75 #endif // AXImageMapLink_h |
| OLD | NEW |