summaryrefslogtreecommitdiffstats
path: root/WebCore/accessibility/AccessibilityMenuList.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/accessibility/AccessibilityMenuList.h')
-rw-r--r--WebCore/accessibility/AccessibilityMenuList.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/accessibility/AccessibilityMenuList.h b/WebCore/accessibility/AccessibilityMenuList.h
index 376958f..4082f0a 100644
--- a/WebCore/accessibility/AccessibilityMenuList.h
+++ b/WebCore/accessibility/AccessibilityMenuList.h
@@ -33,16 +33,19 @@ namespace WebCore {
class AccessibilityMenuList;
class AccessibilityMenuListPopup;
class HTMLOptionElement;
+class RenderMenuList;
class AccessibilityMenuList : public AccessibilityRenderObject {
public:
- static PassRefPtr<AccessibilityMenuList> create(RenderObject* renderer) { return adoptRef(new AccessibilityMenuList(renderer)); }
+ static PassRefPtr<AccessibilityMenuList> create(RenderMenuList* renderer) { return adoptRef(new AccessibilityMenuList(renderer)); }
virtual bool isCollapsed() const;
virtual bool press() const;
+ RenderMenuList* renderer() const;
+
private:
- AccessibilityMenuList(RenderObject*);
+ AccessibilityMenuList(RenderMenuList*);
virtual bool isMenuList() const { return true; }
virtual AccessibilityRole roleValue() const { return PopUpButtonRole; }