Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h

Issue 1713723002: Implement accessibility support for CSS-transformed iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn build Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&); 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&);
51 51
52 public: 52 public:
53 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); 53 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&);
54 ~AXLayoutObject() override; 54 ~AXLayoutObject() override;
55 55
56 // Public, overridden from AXObject. 56 // Public, overridden from AXObject.
57 LayoutObject* getLayoutObject() const final { return m_layoutObject; } 57 LayoutObject* getLayoutObject() const final { return m_layoutObject; }
58 LayoutRect elementRect() const override; 58 LayoutRect elementRect() const override;
59 LayoutBoxModelObject* getLayoutBoxModelObject() const; 59 LayoutBoxModelObject* getLayoutBoxModelObject() const;
60 SkMatrix44 transformFromLocalParentFrame() const override;
60 bool shouldNotifyActiveDescendant() const; 61 bool shouldNotifyActiveDescendant() const;
61 ScrollableArea* getScrollableAreaIfScrollable() const final; 62 ScrollableArea* getScrollableAreaIfScrollable() const final;
62 AccessibilityRole determineAccessibilityRole() override; 63 AccessibilityRole determineAccessibilityRole() override;
63 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; 64 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override;
64 void checkCachedElementRect() const; 65 void checkCachedElementRect() const;
65 void updateCachedElementRect() const; 66 void updateCachedElementRect() const;
66 67
67 protected: 68 protected:
68 LayoutObject* m_layoutObject; 69 LayoutObject* m_layoutObject;
69 mutable LayoutRect m_cachedElementRect; 70 mutable LayoutRect m_cachedElementRect;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 AXRange textControlSelection() const; 218 AXRange textControlSelection() const;
218 int indexForVisiblePosition(const VisiblePosition&) const; 219 int indexForVisiblePosition(const VisiblePosition&) const;
219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; 220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const;
220 }; 221 };
221 222
222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
223 224
224 } // namespace blink 225 } // namespace blink
225 226
226 #endif // AXLayoutObject_h 227 #endif // AXLayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698