OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 { "main", MainRole }, | 88 { "main", MainRole }, |
89 { "marquee", MarqueeRole }, | 89 { "marquee", MarqueeRole }, |
90 { "math", MathRole }, | 90 { "math", MathRole }, |
91 { "menu", MenuRole }, | 91 { "menu", MenuRole }, |
92 { "menubar", MenuBarRole }, | 92 { "menubar", MenuBarRole }, |
93 { "menuitem", MenuItemRole }, | 93 { "menuitem", MenuItemRole }, |
94 { "menuitemcheckbox", MenuItemRole }, | 94 { "menuitemcheckbox", MenuItemRole }, |
95 { "menuitemradio", MenuItemRole }, | 95 { "menuitemradio", MenuItemRole }, |
96 { "note", NoteRole }, | 96 { "note", NoteRole }, |
97 { "navigation", NavigationRole }, | 97 { "navigation", NavigationRole }, |
| 98 { "none", NoneRole }, |
98 { "option", ListBoxOptionRole }, | 99 { "option", ListBoxOptionRole }, |
99 { "presentation", PresentationalRole }, | 100 { "presentation", PresentationalRole }, |
100 { "progressbar", ProgressIndicatorRole }, | 101 { "progressbar", ProgressIndicatorRole }, |
101 { "radio", RadioButtonRole }, | 102 { "radio", RadioButtonRole }, |
102 { "radiogroup", RadioGroupRole }, | 103 { "radiogroup", RadioGroupRole }, |
103 { "region", RegionRole }, | 104 { "region", RegionRole }, |
104 { "row", RowRole }, | 105 { "row", RowRole }, |
105 { "scrollbar", ScrollBarRole }, | 106 { "scrollbar", ScrollBarRole }, |
106 { "search", SearchRole }, | 107 { "search", SearchRole }, |
107 { "separator", SplitterRole }, | 108 { "separator", SplitterRole }, |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 return ToggleButtonRole; | 894 return ToggleButtonRole; |
894 if (ariaHasPopup()) | 895 if (ariaHasPopup()) |
895 return PopUpButtonRole; | 896 return PopUpButtonRole; |
896 // We don't contemplate RadioButtonRole, as it depends on the input | 897 // We don't contemplate RadioButtonRole, as it depends on the input |
897 // type. | 898 // type. |
898 | 899 |
899 return ButtonRole; | 900 return ButtonRole; |
900 } | 901 } |
901 | 902 |
902 } // namespace blink | 903 } // namespace blink |
OLD | NEW |