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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 case CheckBoxRole: | 245 case CheckBoxRole: |
246 case ColorWellRole: | 246 case ColorWellRole: |
247 case ComboBoxRole: | 247 case ComboBoxRole: |
248 case EditableTextRole: | 248 case EditableTextRole: |
249 case ImageMapLinkRole: | 249 case ImageMapLinkRole: |
250 case LinkRole: | 250 case LinkRole: |
251 case ListBoxOptionRole: | 251 case ListBoxOptionRole: |
252 case MenuButtonRole: | 252 case MenuButtonRole: |
253 case PopUpButtonRole: | 253 case PopUpButtonRole: |
254 case RadioButtonRole: | 254 case RadioButtonRole: |
| 255 case SpinButtonRole: |
255 case TabRole: | 256 case TabRole: |
256 case TextAreaRole: | 257 case TextAreaRole: |
257 case TextFieldRole: | 258 case TextFieldRole: |
258 case ToggleButtonRole: | 259 case ToggleButtonRole: |
259 return true; | 260 return true; |
260 default: | 261 default: |
261 return false; | 262 return false; |
262 } | 263 } |
263 } | 264 } |
264 | 265 |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 return ToggleButtonRole; | 980 return ToggleButtonRole; |
980 if (ariaHasPopup()) | 981 if (ariaHasPopup()) |
981 return PopUpButtonRole; | 982 return PopUpButtonRole; |
982 // We don't contemplate RadioButtonRole, as it depends on the input | 983 // We don't contemplate RadioButtonRole, as it depends on the input |
983 // type. | 984 // type. |
984 | 985 |
985 return ButtonRole; | 986 return ButtonRole; |
986 } | 987 } |
987 | 988 |
988 } // namespace blink | 989 } // namespace blink |
OLD | NEW |