| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Overridden from AXObject. | 78 // Overridden from AXObject. |
| 79 // | 79 // |
| 80 | 80 |
| 81 virtual void init() override; | 81 virtual void init() override; |
| 82 virtual void detach() override; | 82 virtual void detach() override; |
| 83 virtual bool isDetached() const override { return !m_layoutObject; } | 83 virtual bool isDetached() const override { return !m_layoutObject; } |
| 84 virtual bool isAXLayoutObject() const override { return true; } | 84 virtual bool isAXLayoutObject() const override { return true; } |
| 85 | 85 |
| 86 // Check object role or purpose. | 86 // Check object role or purpose. |
| 87 virtual bool isAttachment() const override; | 87 virtual bool isAttachment() const override; |
| 88 virtual bool isRichlyEditable() const override; |
| 88 virtual bool isLinked() const override; | 89 virtual bool isLinked() const override; |
| 89 virtual bool isLoaded() const override; | 90 virtual bool isLoaded() const override; |
| 90 virtual bool isOffScreen() const override; | 91 virtual bool isOffScreen() const override; |
| 91 virtual bool isReadOnly() const override; | 92 virtual bool isReadOnly() const override; |
| 92 virtual bool isVisited() const override; | 93 virtual bool isVisited() const override; |
| 93 | 94 |
| 94 // Check object state. | 95 // Check object state. |
| 95 virtual bool isFocused() const override; | 96 virtual bool isFocused() const override; |
| 96 virtual bool isSelected() const override; | 97 virtual bool isSelected() const override; |
| 97 | 98 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 LayoutRect computeElementRect() const; | 227 LayoutRect computeElementRect() const; |
| 227 VisibleSelection selection() const; | 228 VisibleSelection selection() const; |
| 228 int indexForVisiblePosition(const VisiblePosition&) const; | 229 int indexForVisiblePosition(const VisiblePosition&) const; |
| 229 }; | 230 }; |
| 230 | 231 |
| 231 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 232 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 232 | 233 |
| 233 } // namespace blink | 234 } // namespace blink |
| 234 | 235 |
| 235 #endif // AXLayoutObject_h | 236 #endif // AXLayoutObject_h |
| OLD | NEW |