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

Unified Diff: Source/modules/accessibility/AXMenuList.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/AXMenuList.cpp
diff --git a/Source/modules/accessibility/AXMenuList.cpp b/Source/modules/accessibility/AXMenuList.cpp
index b4b05ed2c6cfa9b5aa17b65f860907ce38c85c95..a000981b7f45ba21dfc1aa66231e208ac622b23d 100644
--- a/Source/modules/accessibility/AXMenuList.cpp
+++ b/Source/modules/accessibility/AXMenuList.cpp
@@ -26,20 +26,21 @@
#include "config.h"
#include "modules/accessibility/AXMenuList.h"
+#include "core/dom/AXObjectCache.h"
#include "core/rendering/RenderMenuList.h"
#include "modules/accessibility/AXMenuListPopup.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
namespace blink {
-AXMenuList::AXMenuList(RenderMenuList* renderer)
- : AXRenderObject(renderer)
+AXMenuList::AXMenuList(RenderMenuList* renderer, AXObjectCache* axObjectCache)
+ : AXRenderObject(renderer, axObjectCache)
{
}
-PassRefPtr<AXMenuList> AXMenuList::create(RenderMenuList* renderer)
+PassRefPtr<AXMenuList> AXMenuList::create(RenderMenuList* renderer, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXMenuList(renderer));
+ return adoptRef(new AXMenuList(renderer, axObjectCache));
}
bool AXMenuList::press() const

Powered by Google App Engine
This is Rietveld 408576698