OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, Google 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // | 84 // |
85 | 85 |
86 virtual void init() override; | 86 virtual void init() override; |
87 virtual void detach() override; | 87 virtual void detach() override; |
88 virtual bool isDetached() const override { return !m_node; } | 88 virtual bool isDetached() const override { return !m_node; } |
89 virtual bool isAXNodeObject() const override final { return true; } | 89 virtual bool isAXNodeObject() const override final { return true; } |
90 | 90 |
91 // Check object role or purpose. | 91 // Check object role or purpose. |
92 virtual bool isAnchor() const override final; | 92 virtual bool isAnchor() const override final; |
93 virtual bool isControl() const override; | 93 virtual bool isControl() const override; |
| 94 bool isControllingVideoElement() const; |
94 virtual bool isEmbeddedObject() const override final; | 95 virtual bool isEmbeddedObject() const override final; |
95 virtual bool isFieldset() const override final; | 96 virtual bool isFieldset() const override final; |
96 virtual bool isHeading() const override final; | 97 virtual bool isHeading() const override final; |
97 virtual bool isHovered() const override final; | 98 virtual bool isHovered() const override final; |
98 virtual bool isImage() const override final; | 99 virtual bool isImage() const override final; |
99 bool isImageButton() const; | 100 bool isImageButton() const; |
100 virtual bool isInputImage() const override final; | 101 virtual bool isInputImage() const override final; |
101 virtual bool isLink() const override final; | 102 virtual bool isLink() const override final; |
102 virtual bool isMenu() const override final; | 103 virtual bool isMenu() const override final; |
103 virtual bool isMenuButton() const override final; | 104 virtual bool isMenuButton() const override final; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 void changeValueByPercent(float percentChange); | 196 void changeValueByPercent(float percentChange); |
196 float stepValueForRange() const; | 197 float stepValueForRange() const; |
197 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 198 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
198 }; | 199 }; |
199 | 200 |
200 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 201 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
201 | 202 |
202 } // namespace blink | 203 } // namespace blink |
203 | 204 |
204 #endif // AXNodeObject_h | 205 #endif // AXNodeObject_h |
OLD | NEW |