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

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

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.cpp
diff --git a/Source/modules/accessibility/AXScrollView.cpp b/Source/modules/accessibility/AXScrollView.cpp
index 37c4f247fd8564a0aa6d3a836f038f5af0ce06fa..c3236bd3576e3450f6da5444202d54c3123a5497 100644
--- a/Source/modules/accessibility/AXScrollView.cpp
+++ b/Source/modules/accessibility/AXScrollView.cpp
@@ -34,8 +34,9 @@
namespace blink {
-AXScrollView::AXScrollView(FrameView* view)
- : m_scrollView(view)
+AXScrollView::AXScrollView(FrameView* view, AXObjectCache* axObjectCache)
+ : AXObject(axObjectCache)
+ , m_scrollView(view)
, m_childrenDirty(false)
{
}
@@ -51,9 +52,9 @@ void AXScrollView::detach()
m_scrollView = 0;
}
-PassRefPtr<AXScrollView> AXScrollView::create(FrameView* view)
+PassRefPtr<AXScrollView> AXScrollView::create(FrameView* view, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXScrollView(view));
+ return adoptRef(new AXScrollView(view, axObjectCache));
}
AXObject* AXScrollView::scrollBar(AccessibilityOrientation orientation)

Powered by Google App Engine
This is Rietveld 408576698