OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual bool isOffScreen() const; | 43 virtual bool isOffScreen() const; |
44 | 44 |
45 void didUpdateActiveOption(int optionIndex); | 45 void didUpdateActiveOption(int optionIndex); |
46 | 46 |
47 | 47 |
48 private: | 48 private: |
49 AccessibilityMenuListPopup(); | 49 AccessibilityMenuListPopup(); |
50 | 50 |
51 virtual bool isMenuListPopup() const { return true; } | 51 virtual bool isMenuListPopup() const { return true; } |
52 | 52 |
53 virtual LayoutRect elementRect() const { return LayoutRect(); } | 53 virtual LayoutRect elementRect() { return LayoutRect(); } |
54 virtual AccessibilityRole roleValue() const { return MenuListPopupRole; } | 54 virtual AccessibilityRole roleValue() const { return MenuListPopupRole; } |
55 | 55 |
56 virtual bool isVisible() const; | 56 virtual bool isVisible() const; |
57 virtual bool press() const; | 57 virtual bool press() const; |
58 virtual void addChildren(); | 58 virtual void addChildren(); |
59 virtual void childrenChanged(); | 59 virtual void childrenChanged(); |
60 virtual bool computeAccessibilityIsIgnored() const; | 60 virtual bool computeAccessibilityIsIgnored() const; |
61 | 61 |
62 AccessibilityMenuListOption* menuListOptionAccessibilityObject(HTMLElement*)
const; | 62 AccessibilityMenuListOption* menuListOptionAccessibilityObject(HTMLElement*)
const; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace WebCore | 65 } // namespace WebCore |
66 | 66 |
67 #endif // AccessibilityMenuListPopup_h | 67 #endif // AccessibilityMenuListPopup_h |
OLD | NEW |