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

Unified Diff: Source/modules/accessibility/AXScrollView.h

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Finished pulling out ScopedAXObjectCache etc. Many fprintfs remain. Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/accessibility/AXScrollView.h
diff --git a/Source/modules/accessibility/AXScrollView.h b/Source/modules/accessibility/AXScrollView.h
index cd7ce0041ec4a1cc24791e064e639c34467329e9..cd5424d47afd6e2a084fe016d46b83227c3c21aa 100644
--- a/Source/modules/accessibility/AXScrollView.h
+++ b/Source/modules/accessibility/AXScrollView.h
@@ -30,13 +30,14 @@
namespace blink {
+class AXObjectCache;
class AXScrollbar;
class Scrollbar;
class FrameView;
class AXScrollView final : public AXObject {
public:
- static PassRefPtr<AXScrollView> create(FrameView*);
+ static PassRefPtr<AXScrollView> create(FrameView*, AXObjectCache*);
virtual AccessibilityRole roleValue() const override { return ScrollAreaRole; }
FrameView* scrollView() const { return m_scrollView; }
@@ -48,7 +49,7 @@ protected:
virtual void scrollTo(const IntPoint&) const override;
private:
- explicit AXScrollView(FrameView*);
+ AXScrollView(FrameView*, AXObjectCache*);
virtual bool computeAccessibilityIsIgnored() const override;
virtual bool isAXScrollView() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698