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

Unified Diff: Source/modules/accessibility/AXMenuListOption.h

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/AXMenuListOption.h
diff --git a/Source/modules/accessibility/AXMenuListOption.h b/Source/modules/accessibility/AXMenuListOption.h
index 87666a2cebd9c1269267fdadd83ffb3934d2d54f..6b53cc6a92cd182d4ca12a6d4513f20a732bfde3 100644
--- a/Source/modules/accessibility/AXMenuListOption.h
+++ b/Source/modules/accessibility/AXMenuListOption.h
@@ -30,16 +30,17 @@
namespace blink {
+class AXObjectCache;
class HTMLElement;
class AXMenuListOption final : public AXMockObject {
public:
- static PassRefPtr<AXMenuListOption> create() { return adoptRef(new AXMenuListOption); }
+ static PassRefPtr<AXMenuListOption> create(AXObjectCache* axObjectCache) { return adoptRef(new AXMenuListOption(axObjectCache)); }
void setElement(HTMLElement*);
private:
- AXMenuListOption();
+ explicit AXMenuListOption(AXObjectCache*);
virtual bool isMenuListOption() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698