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

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

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing IgnoredReasons from protocol Created 5 years, 8 months 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
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 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 }; 306 };
307 307
308 enum AXIgnoredReason { 308 enum AXIgnoredReason {
309 AXActiveModalDialog, 309 AXActiveModalDialog,
310 AXAncestorDisallowsChild, 310 AXAncestorDisallowsChild,
311 AXAncestorIsLeafNode, 311 AXAncestorIsLeafNode,
312 AXAriaHidden, 312 AXAriaHidden,
313 AXAriaHiddenRoot, 313 AXAriaHiddenRoot,
314 AXEmptyAlt, 314 AXEmptyAlt,
315 AXEmptyText, 315 AXEmptyText,
316 AXInert,
316 AXInheritsPresentation, 317 AXInheritsPresentation,
317 AXLabelContainer, 318 AXLabelContainer,
318 AXLabelFor, 319 AXLabelFor,
319 AXNotRendered, 320 AXNotRendered,
320 AXNotVisible, 321 AXNotVisible,
321 AXProbablyPresentational, 322 AXProbablyPresentational,
322 AXStaticTextUsedAsNameFor, 323 AXStaticTextUsedAsNameFor,
323 AXUninteresting 324 AXUninteresting
324 }; 325 };
325 326
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 static bool includesARIAWidgetRole(const String&); 761 static bool includesARIAWidgetRole(const String&);
761 static bool hasInteractiveARIAAttribute(const Element&); 762 static bool hasInteractiveARIAAttribute(const Element&);
762 }; 763 };
763 764
764 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 765 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
765 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 766 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
766 767
767 } // namespace blink 768 } // namespace blink
768 769
769 #endif // AXObject_h 770 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698