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

Side by Side Diff: Source/modules/accessibility/AXObject.cpp

Issue 756403003: Adding SpinButtonRole in isClickable() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698