OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 27 matching lines...) Expand all Loading... |
38 class AXSVGRoot final : public AXLayoutObject { | 38 class AXSVGRoot final : public AXLayoutObject { |
39 WTF_MAKE_NONCOPYABLE(AXSVGRoot); | 39 WTF_MAKE_NONCOPYABLE(AXSVGRoot); |
40 | 40 |
41 protected: | 41 protected: |
42 AXSVGRoot(LayoutObject*, AXObjectCacheImpl&); | 42 AXSVGRoot(LayoutObject*, AXObjectCacheImpl&); |
43 | 43 |
44 public: | 44 public: |
45 static AXSVGRoot* Create(LayoutObject*, AXObjectCacheImpl&); | 45 static AXSVGRoot* Create(LayoutObject*, AXObjectCacheImpl&); |
46 ~AXSVGRoot() override; | 46 ~AXSVGRoot() override; |
47 | 47 |
48 void SetParent(AXObject*) override; | 48 void SetParent(AXObjectImpl*) override; |
49 | 49 |
50 AccessibilityRole DetermineAccessibilityRole() override; | 50 AccessibilityRole DetermineAccessibilityRole() override; |
51 bool ComputeAccessibilityIsIgnored(IgnoredReasons*) const override; | 51 bool ComputeAccessibilityIsIgnored(IgnoredReasons*) const override; |
52 | 52 |
53 private: | 53 private: |
54 AXObject* ComputeParent() const override; | 54 AXObjectImpl* ComputeParent() const override; |
55 bool IsAXSVGRoot() const override { return true; } | 55 bool IsAXSVGRoot() const override { return true; } |
56 }; | 56 }; |
57 | 57 |
58 } // namespace blink | 58 } // namespace blink |
59 | 59 |
60 #endif // AXSVGRoot_h | 60 #endif // AXSVGRoot_h |
OLD | NEW |