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

Unified Diff: Source/modules/accessibility/AXListBoxOption.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/AXListBoxOption.cpp
diff --git a/Source/modules/accessibility/AXListBoxOption.cpp b/Source/modules/accessibility/AXListBoxOption.cpp
index 340ba1f9bc803aaf8ed0db314bae374a9157de10..51ec89c8f80acd2a1fc1bc5bff871af6c230bca7 100644
--- a/Source/modules/accessibility/AXListBoxOption.cpp
+++ b/Source/modules/accessibility/AXListBoxOption.cpp
@@ -29,6 +29,7 @@
#include "config.h"
#include "modules/accessibility/AXListBoxOption.h"
+#include "core/dom/AXObjectCache.h"
#include "core/html/HTMLOptionElement.h"
#include "core/html/HTMLSelectElement.h"
#include "core/rendering/RenderListBox.h"
@@ -39,8 +40,8 @@ namespace blink {
using namespace HTMLNames;
-AXListBoxOption::AXListBoxOption(RenderObject* renderer)
- : AXRenderObject(renderer)
+AXListBoxOption::AXListBoxOption(RenderObject* renderer, AXObjectCache* axObjectCache)
+ : AXRenderObject(renderer, axObjectCache)
{
}
@@ -48,9 +49,9 @@ AXListBoxOption::~AXListBoxOption()
{
}
-PassRefPtr<AXListBoxOption> AXListBoxOption::create(RenderObject* renderer)
+PassRefPtr<AXListBoxOption> AXListBoxOption::create(RenderObject* renderer, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXListBoxOption(renderer));
+ return adoptRef(new AXListBoxOption(renderer, axObjectCache));
}
bool AXListBoxOption::isEnabled() const

Powered by Google App Engine
This is Rietveld 408576698