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

Unified Diff: Source/modules/accessibility/AXARIAGrid.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/AXARIAGrid.cpp
diff --git a/Source/modules/accessibility/AXARIAGrid.cpp b/Source/modules/accessibility/AXARIAGrid.cpp
index 8431649a632ab0e11e9db114f42bc1dba2ec1ad4..f1b46e1828dcfbf08532efc0a6c6d2c575dd6283 100644
--- a/Source/modules/accessibility/AXARIAGrid.cpp
+++ b/Source/modules/accessibility/AXARIAGrid.cpp
@@ -29,6 +29,7 @@
#include "config.h"
#include "modules/accessibility/AXARIAGrid.h"
+#include "core/dom/AXObjectCache.h"
#include "core/rendering/RenderObject.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
#include "modules/accessibility/AXTableColumn.h"
@@ -37,8 +38,8 @@
namespace blink {
-AXARIAGrid::AXARIAGrid(RenderObject* renderer)
- : AXTable(renderer)
+AXARIAGrid::AXARIAGrid(RenderObject* renderer, AXObjectCache* axObjectCache)
+ : AXTable(renderer, axObjectCache)
{
}
@@ -46,9 +47,9 @@ AXARIAGrid::~AXARIAGrid()
{
}
-PassRefPtr<AXARIAGrid> AXARIAGrid::create(RenderObject* renderer)
+PassRefPtr<AXARIAGrid> AXARIAGrid::create(RenderObject* renderer, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXARIAGrid(renderer));
+ return adoptRef(new AXARIAGrid(renderer, axObjectCache));
}
bool AXARIAGrid::addTableCellChild(AXObject* child, HashSet<AXObject*>& appendedRows, unsigned& columnCount)

Powered by Google App Engine
This is Rietveld 408576698