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

Unified Diff: Source/modules/accessibility/AXProgressIndicator.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/AXProgressIndicator.cpp
diff --git a/Source/modules/accessibility/AXProgressIndicator.cpp b/Source/modules/accessibility/AXProgressIndicator.cpp
index f984ef4622f4f45d5ca5f563208d69ee5f9ea9aa..dd22335f9df18fa89fea7f02089d509cb733d764 100644
--- a/Source/modules/accessibility/AXProgressIndicator.cpp
+++ b/Source/modules/accessibility/AXProgressIndicator.cpp
@@ -21,6 +21,7 @@
#include "config.h"
#include "modules/accessibility/AXProgressIndicator.h"
+#include "core/dom/AXObjectCache.h"
#include "core/html/HTMLProgressElement.h"
#include "core/rendering/RenderProgress.h"
#include "platform/FloatConversion.h"
@@ -29,14 +30,14 @@ namespace blink {
using namespace HTMLNames;
-AXProgressIndicator::AXProgressIndicator(RenderProgress* renderer)
- : AXRenderObject(renderer)
+AXProgressIndicator::AXProgressIndicator(RenderProgress* renderer, AXObjectCache* axObjectCache)
+ : AXRenderObject(renderer, axObjectCache)
{
}
-PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(RenderProgress* renderer)
+PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(RenderProgress* renderer, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXProgressIndicator(renderer));
+ return adoptRef(new AXProgressIndicator(renderer, axObjectCache));
}
bool AXProgressIndicator::computeAccessibilityIsIgnored() const

Powered by Google App Engine
This is Rietveld 408576698