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

Unified Diff: Source/modules/accessibility/AXMenuListPopup.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/AXMenuListPopup.h
diff --git a/Source/modules/accessibility/AXMenuListPopup.h b/Source/modules/accessibility/AXMenuListPopup.h
index 4a1bd2bb3c21fb45b70d3dc9976d1dd152e26ace..3e1df9f1d09f3fbc4d498519a51fced3ddcd3f87 100644
--- a/Source/modules/accessibility/AXMenuListPopup.h
+++ b/Source/modules/accessibility/AXMenuListPopup.h
@@ -30,12 +30,13 @@
namespace blink {
+class AXObjectCache;
class AXMenuListOption;
class HTMLElement;
class AXMenuListPopup final : public AXMockObject {
public:
- static PassRefPtr<AXMenuListPopup> create() { return adoptRef(new AXMenuListPopup); }
+ static PassRefPtr<AXMenuListPopup> create(AXObjectCache* axObjectCache) { return adoptRef(new AXMenuListPopup(axObjectCache)); }
virtual bool isEnabled() const override;
virtual bool isOffScreen() const override;
@@ -43,7 +44,7 @@ public:
void didUpdateActiveOption(int optionIndex);
private:
- AXMenuListPopup();
+ AXMenuListPopup(AXObjectCache*);
virtual bool isMenuListPopup() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698