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

Side by Side Diff: public/web/WebAXEnums.h

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update webexposed/element-instance-property-listing.html and add some SVG test cases 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 | « Source/platform/RuntimeEnabledFeatures.in ('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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 WebAXEventTextChanged, 64 WebAXEventTextChanged,
65 WebAXEventTextInserted, 65 WebAXEventTextInserted,
66 WebAXEventTextRemoved, 66 WebAXEventTextRemoved,
67 WebAXEventValueChanged 67 WebAXEventValueChanged
68 }; 68 };
69 69
70 // Accessibility roles. 70 // Accessibility roles.
71 // These values must match blink::AccessibilityRole values. 71 // These values must match blink::AccessibilityRole values.
72 // Enforced in AssertMatchingEnums.cpp. 72 // Enforced in AssertMatchingEnums.cpp.
73 enum WebAXRole { 73 enum WebAXRole {
74 WebAXRoleAlertDialog = 1, 74 WebAXRoleUnknown = 0,
75 WebAXRoleAlertDialog,
75 WebAXRoleAlert, 76 WebAXRoleAlert,
76 WebAXRoleAnnotation, 77 WebAXRoleAnnotation,
77 WebAXRoleApplication, 78 WebAXRoleApplication,
78 WebAXRoleArticle, 79 WebAXRoleArticle,
79 WebAXRoleBanner, 80 WebAXRoleBanner,
80 WebAXRoleBlockquote, 81 WebAXRoleBlockquote,
81 WebAXRoleBusyIndicator, 82 WebAXRoleBusyIndicator,
82 WebAXRoleButton, 83 WebAXRoleButton,
83 WebAXRoleCanvas, 84 WebAXRoleCanvas,
84 WebAXRoleCell, 85 WebAXRoleCell,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 WebAXRoleTable, 176 WebAXRoleTable,
176 WebAXRoleTextArea, 177 WebAXRoleTextArea,
177 WebAXRoleTextField, 178 WebAXRoleTextField,
178 WebAXRoleTime, 179 WebAXRoleTime,
179 WebAXRoleTimer, 180 WebAXRoleTimer,
180 WebAXRoleToggleButton, 181 WebAXRoleToggleButton,
181 WebAXRoleToolbar, 182 WebAXRoleToolbar,
182 WebAXRoleTreeGrid, 183 WebAXRoleTreeGrid,
183 WebAXRoleTreeItem, 184 WebAXRoleTreeItem,
184 WebAXRoleTree, 185 WebAXRoleTree,
185 WebAXRoleUnknown,
186 WebAXRoleUserInterfaceTooltip, 186 WebAXRoleUserInterfaceTooltip,
187 WebAXRoleWebArea, 187 WebAXRoleWebArea,
188 WebAXRoleWindow, 188 WebAXRoleWindow,
189 }; 189 };
190 190
191 // Accessibility states, used as a bitmask. 191 // Accessibility states, used as a bitmask.
192 enum WebAXState { 192 enum WebAXState {
193 WebAXStateBusy, 193 WebAXStateBusy,
194 WebAXStateChecked, 194 WebAXStateChecked,
195 WebAXStateEnabled, 195 WebAXStateEnabled,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // Enforced in AssertMatchingEnums.cpp. 243 // Enforced in AssertMatchingEnums.cpp.
244 enum WebAXOrientation { 244 enum WebAXOrientation {
245 WebAXOrientationUndefined = 0, 245 WebAXOrientationUndefined = 0,
246 WebAXOrientationVertical, 246 WebAXOrientationVertical,
247 WebAXOrientationHorizontal, 247 WebAXOrientationHorizontal,
248 }; 248 };
249 249
250 } // namespace blink 250 } // namespace blink
251 251
252 #endif 252 #endif
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698