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

Unified Diff: Source/modules/accessibility/AXTableCell.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/AXTableCell.cpp
diff --git a/Source/modules/accessibility/AXTableCell.cpp b/Source/modules/accessibility/AXTableCell.cpp
index 56b4578de269d7a9fd591c5b059e009e61a28d58..eb34fd0b9ecceaec84a90dd3e42a621d1b0c44e7 100644
--- a/Source/modules/accessibility/AXTableCell.cpp
+++ b/Source/modules/accessibility/AXTableCell.cpp
@@ -29,6 +29,7 @@
#include "config.h"
#include "modules/accessibility/AXTableCell.h"
+#include "core/dom/AXObjectCache.h"
#include "core/rendering/RenderTableCell.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
@@ -37,8 +38,8 @@ namespace blink {
using namespace HTMLNames;
-AXTableCell::AXTableCell(RenderObject* renderer)
- : AXRenderObject(renderer)
+AXTableCell::AXTableCell(RenderObject* renderer, AXObjectCache* axObjectCache)
+ : AXRenderObject(renderer, axObjectCache)
{
}
@@ -46,9 +47,9 @@ AXTableCell::~AXTableCell()
{
}
-PassRefPtr<AXTableCell> AXTableCell::create(RenderObject* renderer)
+PassRefPtr<AXTableCell> AXTableCell::create(RenderObject* renderer, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXTableCell(renderer));
+ return adoptRef(new AXTableCell(renderer, axObjectCache));
}
bool AXTableCell::computeAccessibilityIsIgnored() const

Powered by Google App Engine
This is Rietveld 408576698